Browse Source

修改内容

yangg 2 months ago
parent
commit
65ca8aa608

+ 3 - 2
pages.json

@@ -15,7 +15,8 @@
 		{
 			"path": "pages/interview-notice/interview-notice",
 			"style": {
-				"navigationBarTitleText": "面试注意事项"
+				"navigationBarTitleText": "面试注意事项",
+				"autoBackButton": "false"
 			}
 		},
 		{
@@ -33,7 +34,7 @@
 		{
 			"path": "pages/camera/camera",
 			"style": {
-				"navigationBarTitleText": "试"
+				"navigationBarTitleText": "试"
 			}
 		},
 		{

+ 6 - 6
pages/ResumeEvaluation/ResumeEvaluation.vue

@@ -187,9 +187,9 @@
 				</view>
 			</view>
 
-			<!-- 评估表单 -->
-			<view>
-				<!-- 评分 -->
+			<!-- 评估表单 --><!-- 评分 --><!-- 评价 --><!-- 提交按钮 -->
+		<!-- 	<view>
+				
 				<view class="mb-8">
 					<text class="text-xl font-bold mb-4 block">6. 面试评分</text>
 					<view class="form-item">
@@ -198,7 +198,7 @@
 					</view>
 				</view>
 
-				<!-- 评价 -->
+				
 				<view class="mb-8">
 					<text class="text-xl font-bold mb-4 block">评价意见</text>
 					<view class="form-item">
@@ -212,14 +212,14 @@
 					</view>
 				</view>
 
-				<!-- 提交按钮 -->
+				
 				<view class="flex justify-end">
 					<button 
 						class="bg-blue-500 text-white px-4 py-2 rounded"
 						@click="handleSubmit"
 					>提交评估</button>
 				</view>
-			</view>
+			</view> -->
 		</view>
 
 		<!-- 悬浮按钮 -->

+ 1 - 1
pages/camera/camera.vue

@@ -532,7 +532,7 @@
 					console.log('提交数据:', submitData);
 					
 					// 调用API提交答案
-					const res = await this.$http.post('http://192.168.66.187:8083/api/job/submit_answer', submitData);
+					const res = await this.$http.post('https://minlong.raycos.com.cn/api/job/submit_answer', submitData);
 					
 					console.log('提交答案响应:', res);
 					

+ 1 - 1
pages/face-photo/face-photo.vue

@@ -236,7 +236,7 @@ export default {
       
       // 使用uni.uploadFile方式上传图片
       uni.uploadFile({
-        url: 'http://192.168.66.187:8083/api/system/upload/', 
+        url: 'https://minlong.raycos.com.cn/api/system/upload/', 
         filePath: this.mediaSource,
         name: 'file',
         formData: {

+ 3 - 3
pages/identity-verify/identity-verify.vue

@@ -1133,7 +1133,7 @@ export default {
         
         // 使用XMLHttpRequest直接上传
         const xhr = new XMLHttpRequest();
-        xhr.open('POST', 'http://192.168.66.187:8083/api/system/upload/', true);
+        xhr.open('POST', 'https://minlong.raycos.com.cn/api/system/upload/', true);
         
         xhr.onload = () => {
           uni.hideLoading();
@@ -1196,7 +1196,7 @@ export default {
       
       // 对于小程序环境,使用uni.uploadFile
       uni.uploadFile({
-        url: 'http://192.168.66.187:8083/api/system/upload/',
+        url: 'https://minlong.raycos.com.cn/api/system/upload/',
         filePath: fileOrPath,
         name: 'file',
         formData: {
@@ -1289,7 +1289,7 @@ export default {
       
       // 发送请求到面试接口,使用form-data格式
       uni.request({
-        url: 'http://192.168.66.187:8083/api/job/upload_question_video',
+        url: 'https://minlong.raycos.com.cn/api/job/upload_question_video',
         method: 'POST',
         data: requestData,  // 使用data而不是formData
         header: {

+ 2 - 2
pages/interview/interview.vue

@@ -235,7 +235,7 @@
 					});
 					
 					// 使用fetch直接上传到 job/upload_posture_photo 接口
-					fetch('http://192.168.66.187:8083/job/upload_posture_photo', {
+					fetch('https://minlong.raycos.com.cn/job/upload_posture_photo', {
 						method: 'POST',
 						body: formData
 					})
@@ -274,7 +274,7 @@
 					});
 					
 					uni.uploadFile({
-						url: 'http://192.168.66.187:8083/job/upload_posture_photo',
+						url: 'https://minlong.raycos.com.cn/job/upload_posture_photo',
 						filePath: filePathOrData,
 						name: 'photo_file',  // 确保文件参数名称正确
 						formData: {  // 使用formData替代data以确保参数正确传递

+ 1 - 14
unpackage/dist/dev/mp-weixin/pages/ResumeEvaluation/ResumeEvaluation.js

@@ -150,10 +150,6 @@ const _sfc_main = {
     }
   }
 };
-if (!Array) {
-  const _component_uni_rate = common_vendor.resolveComponent("uni-rate");
-  _component_uni_rate();
-}
 function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
   return {
     a: common_vendor.t($data.candidateInfo.idNumber),
@@ -233,16 +229,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
         a: image,
         b: index
       };
-    }),
-    r: common_vendor.o(($event) => $data.evaluationScore = $event),
-    s: common_vendor.p({
-      max: 5,
-      ["allow-half"]: true,
-      modelValue: $data.evaluationScore
-    }),
-    t: $data.evaluationComments,
-    v: common_vendor.o(($event) => $data.evaluationComments = $event.detail.value),
-    w: common_vendor.o((...args) => $options.handleSubmit && $options.handleSubmit(...args))
+    })
   };
 }
 const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/mp-weixin/pages/ResumeEvaluation/ResumeEvaluation.wxml


+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/camera/camera.js

@@ -314,7 +314,7 @@ const _sfc_main = {
           tenant_id: 1
         };
         console.log("提交数据:", submitData);
-        const res2 = await this.$http.post("http://192.168.66.187:8083/api/job/submit_answer", submitData);
+        const res2 = await this.$http.post("https://minlong.raycos.com.cn/api/job/submit_answer", submitData);
         console.log("提交答案响应:", res2);
         common_vendor.index.hideLoading();
         return res2;

+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/camera/camera.json

@@ -1,4 +1,4 @@
 {
-  "navigationBarTitleText": "试",
+  "navigationBarTitleText": "试",
   "usingComponents": {}
 }

+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/face-photo/face-photo.js

@@ -170,7 +170,7 @@ const _sfc_main = {
         return;
       }
       common_vendor.index.uploadFile({
-        url: "http://192.168.66.187:8083/api/system/upload/",
+        url: "https://minlong.raycos.com.cn/api/system/upload/",
         filePath: this.mediaSource,
         name: "file",
         formData: {

+ 3 - 3
unpackage/dist/dev/mp-weixin/pages/identity-verify/identity-verify.js

@@ -808,7 +808,7 @@ const _sfc_main = {
         formData.append("video_duration", 0);
         formData.append("has_audio", "true");
         const xhr = new XMLHttpRequest();
-        xhr.open("POST", "http://192.168.66.187:8083/api/system/upload/", true);
+        xhr.open("POST", "https://minlong.raycos.com.cn/api/system/upload/", true);
         xhr.onload = () => {
           common_vendor.index.hideLoading();
           if (xhr.status === 200) {
@@ -863,7 +863,7 @@ const _sfc_main = {
         return;
       }
       common_vendor.index.uploadFile({
-        url: "http://192.168.66.187:8083/api/system/upload/",
+        url: "https://minlong.raycos.com.cn/api/system/upload/",
         filePath: fileOrPath,
         name: "file",
         formData: {
@@ -946,7 +946,7 @@ const _sfc_main = {
         tenant_id: common_vendor.index.getStorageSync("tenant_id") || "1"
       };
       common_vendor.index.request({
-        url: "http://192.168.66.187:8083/api/job/upload_question_video",
+        url: "https://minlong.raycos.com.cn/api/job/upload_question_video",
         method: "POST",
         data: requestData,
         // 使用data而不是formData

+ 1 - 0
unpackage/dist/dev/mp-weixin/pages/interview-notice/interview-notice.json

@@ -1,4 +1,5 @@
 {
   "navigationBarTitleText": "面试注意事项",
+  "autoBackButton": "false",
   "usingComponents": {}
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/pages/interview/interview.js

@@ -123,7 +123,7 @@ const _sfc_main = {
           tenant_id,
           description: `手部照片-${type}`
         });
-        fetch("http://192.168.66.187:8083/job/upload_posture_photo", {
+        fetch("https://minlong.raycos.com.cn/job/upload_posture_photo", {
           method: "POST",
           body: formData
         }).then((response) => response.json()).then((result) => {
@@ -154,7 +154,7 @@ const _sfc_main = {
           description: `手部照片-${type}`
         });
         common_vendor.index.uploadFile({
-          url: "http://192.168.66.187:8083/job/upload_posture_photo",
+          url: "https://minlong.raycos.com.cn/job/upload_posture_photo",
           filePath: filePathOrData,
           name: "photo_file",
           // 确保文件参数名称正确

+ 1 - 1
unpackage/dist/dev/mp-weixin/utils/request.js

@@ -1,7 +1,7 @@
 "use strict";
 const common_vendor = require("../common/vendor.js");
 const utils_errorHandler = require("./errorHandler.js");
-const BASE_URL = "http://192.168.66.187:8083";
+const BASE_URL = "https://minlong.raycos.com.cn";
 const TIMEOUT = 6e4;
 const requestInterceptor = (config) => {
   const token = common_vendor.index.getStorageSync("token");

+ 1 - 1
utils/request.js

@@ -6,7 +6,7 @@
 import errorHandler from './errorHandler.js';
 
 // 基础URL,可以根据环境变量等动态设置
-const BASE_URL = 'http://192.168.66.187:8083';
+const BASE_URL = 'https://minlong.raycos.com.cn';
 
 // 请求超时时间
 const TIMEOUT = 60000;

Some files were not shown because too many files changed in this diff