From d630c82b07dc06d5f320995f1317f695e0b92862 Mon Sep 17 00:00:00 2001 From: wangyan Date: Fri, 7 Mar 2025 16:38:14 +0800 Subject: [PATCH] =?UTF-8?q?refactor(qa-prevention-xgf-app):=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E4=BA=8C=E7=BB=B4=E7=A0=81=E6=89=AB=E6=8F=8F=E5=8A=9F?= =?UTF-8?q?=E8=83=BD-=20=E4=BF=AE=E6=94=B9=E4=BA=8C=E7=BB=B4=E7=A0=81?= =?UTF-8?q?=E6=89=AB=E6=8F=8F=E7=BB=93=E6=9E=9C=E7=9A=84=E8=A7=A3=E6=9E=90?= =?UTF-8?q?=E9=80=BB=E8=BE=91=20-=20=E6=9B=B4=E6=96=B0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E8=8E=B7=E5=8F=96=E6=96=B9=E5=BC=8F-=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BA=8C=E7=BB=B4=E7=A0=81=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91=20-=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=94=B5=E5=AD=90=E5=B7=A5=E7=89=8C=E9=A1=B5=E9=9D=A2=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E6=B3=A8=E9=87=8A=20-=20=E6=9B=B4=E6=96=B0=E7=AD=BE?= =?UTF-8?q?=E5=88=B0=E4=BA=8C=E7=BB=B4=E7=A0=81=E5=A4=84=E7=90=86=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refactor(xgf_gwj_vue_2.0): 修改二维码对话框显示逻辑 - 将二维码图片以 JSON 格式存储 - 添加二维码类型信息 --- pages/index/index.vue | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 1b39017..4f7fe2f 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -124,14 +124,14 @@ export default { success: async (res) => { // let obj = JSON.parse(res.result) // let type = obj[0].CODE_TYPE - const { classId, type } = JSON.parse(response.result) + const { classId, type, RELEVANT_UNIT_NAME } = JSON.parse(res.result) const classInfo = await this.handleGetListAll(classId); switch(type) { case "0": { let info = await setEntryV1({ userId: this.userInfo.USER_ID, - corpinfoId: obj[0].CORPINFO_ID, - RELEVANT_UNIT_NAME: obj[0].RELEVANT_UNIT_NAME, + // corpinfoId: obj[0].CORPINFO_ID, + RELEVANT_UNIT_NAME: RELEVANT_UNIT_NAME, postMethod: 'application/json' }) if (info.code === 200) { @@ -141,17 +141,17 @@ export default { } break; }; - case "1": { - // type=1时跳转电子工牌页面 - uni.$u.route({ - url: '/pages/electronic_work_card/index', - params: { - USER_ID: obj[0].USER_ID, - CODE_TYPE: obj[0].CODE_TYPE - } - }) - break; - }; + // case "1": { + // // type=1时跳转电子工牌页面 + // uni.$u.route({ + // url: '/pages/electronic_work_card/index', + // params: { + // USER_ID: obj[0].USER_ID, + // CODE_TYPE: obj[0].CODE_TYPE + // } + // }) + // break; + // }; case "2": { // 签到二维码方式进入, [type: 2 --> 签到二维码方式进入] if (classInfo) {