From ff586d7e1a3752ca58de5cb80ed7c224e39a82b4 Mon Sep 17 00:00:00 2001 From: guoyuepeng <770272267@qq.com> Date: Thu, 13 Aug 2026 14:40:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E6=9C=80=E5=90=8E=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E4=B8=80=E6=AC=A1,=E6=AD=A4=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E7=94=B5=E8=84=91=E4=BB=A5=E5=90=8E=E4=B8=8D=E5=86=8D=E5=81=9A?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=20fix(vehicle):=20=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E8=BD=A6=E8=BE=86=E4=BF=A1=E6=81=AF=E6=B7=BB=E5=8A=A0=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E9=AA=8C=E8=AF=81=E5=92=8C=E6=96=87=E4=BB=B6=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 注释掉表单验证以解决提交问题 - 添加车辆图片和驾驶证图片上传的调试信息 - 更新加密解密逻辑中的参数字段名 - 增加对新公司类型的查询支持 - 更新应用配置中的版本号和APPID - 切换到生产环境API接口地址 - 更新文件服务基础路径为HTTPS地址 --- manifest.json | 8 +++++--- pages/door_access_control/vehicle_info/add.vue | 6 ++++-- pages/electronic_work_card/index.vue | 2 ++ utils/aes_secret.js | 5 +++-- utils/request.js | 5 +++-- utils/tools.js | 2 +- 6 files changed, 18 insertions(+), 10 deletions(-) diff --git a/manifest.json b/manifest.json index 04f30c8..665f645 100644 --- a/manifest.json +++ b/manifest.json @@ -1,9 +1,11 @@ { "name" : "秦港相关方", - "appid" : "__UNI__1CB19A9", + // "appid" : "__UNI__1CB19A9", + "appid" : "__UNI__97E1400", + // 97E1400 "description" : "秦港相关方", - "versionName" : "1.0.42", - "versionCode" : 42, + "versionName" : "1.0.55", + "versionCode" : 55, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/door_access_control/vehicle_info/add.vue b/pages/door_access_control/vehicle_info/add.vue index 004a505..49c7779 100644 --- a/pages/door_access_control/vehicle_info/add.vue +++ b/pages/door_access_control/vehicle_info/add.vue @@ -212,7 +212,7 @@ export default { }, async fnSubmit() { try { - await this.$refs.formRef.validate() + // await this.$refs.formRef.validate() const checkRes = await goCheckLicenceNo({ LICENCE_NO: this.form.LICENCE_NO, licenceType: this.form.LICENCE_TYPE, @@ -230,6 +230,7 @@ export default { filePath: this.form.vehicleImgFiles[i].url, name: "file", }); + console.info('vehicleImgFiles', imgUrl) vehicleImgs.push(imgUrl); } } @@ -239,6 +240,7 @@ export default { filePath: this.form.drivingImgFiles[i].url, name: "file", }); + console.info('drivingImgFiles', imgUrl) drivingImgs.push(imgUrl); } } @@ -264,7 +266,7 @@ export default { } }, async getCorpInfoList() { - const resData = await getCorpInfoList({ TYPES: [0, 2] }) + const resData = await getCorpInfoList({ TYPES: [0, 2,3] }) this.corpInfoList = resData.list.corpInfoDos }, async getUserList(corpinfoId) { diff --git a/pages/electronic_work_card/index.vue b/pages/electronic_work_card/index.vue index 6149bea..c7840b3 100644 --- a/pages/electronic_work_card/index.vue +++ b/pages/electronic_work_card/index.vue @@ -70,6 +70,8 @@ export default { this.cleanCode = code }, fnPreview(urls) { + console.info('urls=========',urls) + console.info('urls=========',urls) uni.previewImage({ urls: [urls] }) diff --git a/utils/aes_secret.js b/utils/aes_secret.js index 3579191..80bf791 100644 --- a/utils/aes_secret.js +++ b/utils/aes_secret.js @@ -25,17 +25,18 @@ function decryptAes(params) { try { // 如果params不是对象或为空,直接返回 if (!params || typeof params !== "object") { + console.info("params is not object or empty") return params; } - // 如果没有encryptData字段,直接返回原参数 if (!params.encryptData) { + console.info("params is not object or empty") return params; } const key = CryptoJS.enc.Utf8.parse("fa4e0fae59534676"); // 16 bytes key for AES - const bytes = CryptoJS.AES.decrypt(params.info, key, { + const bytes = CryptoJS.AES.decrypt(params.encryptData, key, { mode: CryptoJS.mode.ECB, padding: CryptoJS.pad.Pkcs7, }); diff --git a/utils/request.js b/utils/request.js index f5a4485..cd6bb05 100644 --- a/utils/request.js +++ b/utils/request.js @@ -1,8 +1,9 @@ import refreshToken from "../api/refreshToken"; // let requestPath = 'http://192.168.0.102:8059/xgf_gwj_2.0/'; // 后台请求地址 -let requestPath = 'http://127.0.0.1:8059/xgf_gwj_2.0/'; // 后台请求地址 -// let requestPath = 'https://skqhdg.porthebei.com:9006/qa-prevention-xgf/'; // 后台请求地址 +// let requestPath = 'http://127.0.0.1:8059/xgf_gwj_2.0/'; // 后台请求地址 +let requestPath = 'https://skqhdg.porthebei.com:9006/xgf_gwj_2.0/'; // 后台请求地址 +// let requestPath = 'http://192.168.151.32:8151/xgf_gwj_2.0/'; // 后台请求地址 // let requestPath = 'https://qgxgf.qhdsafety.com/qa-prevention-xgf/'; // 外网地址 import store from '../store/index' import {setRefreshToken} from "../api/api"; diff --git a/utils/tools.js b/utils/tools.js index f4f6997..c4e082a 100644 --- a/utils/tools.js +++ b/utils/tools.js @@ -22,7 +22,7 @@ export function formatDate(date, fmt) { } } -export const filePath = 'http://192.168.192.201:8991/file/' +export const filePath = 'https://skqhdg.porthebei.com:9004/file/' //export const filePath = 'https://qgqy.qhdsafety.com/file/' // export const filePath = 'https://wwag.qhdsafety.com/file/'