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/'