From 6a5859c700a3cc09df1903b14bb5e1a4512af154 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Tue, 4 Nov 2025 18:11:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 + .../certificateInfo/logList.vue | 6 +-- .../certificateOverdue/index.vue | 4 ++ .../certificateTask/index.vue | 45 ++++++++++++++++++- src/views/certificate/device/index.vue | 1 - src/views/certificate/filingUser/index.vue | 7 ++- .../certificate/remoteVerification/index.vue | 5 +++ 7 files changed, 63 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index daeaf96..503b368 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,8 @@ "js-cookie": "3.0.1", "jsencrypt": "3.0.0-rc.1", "nprogress": "0.2.0", + "qrcode": "^1.5.4", + "qrcodejs2": "^0.0.2", "quill": "1.3.7", "screenfull": "5.0.2", "sm-crypto": "^0.3.13", diff --git a/src/views/certificate/certificateManage/certificateInfo/logList.vue b/src/views/certificate/certificateManage/certificateInfo/logList.vue index 07305f0..299198f 100644 --- a/src/views/certificate/certificateManage/certificateInfo/logList.vue +++ b/src/views/certificate/certificateManage/certificateInfo/logList.vue @@ -216,9 +216,9 @@ export default { methods: { // 返回列表页 jumpList() { - // const obj = { path: "foodManage/purchaseManage/contractDetail" }; - // this.$tab.closeOpenPage(obj); - // this.$router.replace({ path: "/foodManage/purchaseManage/contractList" }); // 要打开的页面 + const obj = { path: "certificate/certificateManage/certificateLogList" }; + this.$tab.closeOpenPage(obj); + this.$router.replace({ path: "/certificateManage/certificateInfo" }); // 要打开的页面 }, handleTabClick(){ if(this.activeName=='stream'){ diff --git a/src/views/certificate/certificateManage/certificateOverdue/index.vue b/src/views/certificate/certificateManage/certificateOverdue/index.vue index c50d2a9..a8b5d36 100644 --- a/src/views/certificate/certificateManage/certificateOverdue/index.vue +++ b/src/views/certificate/certificateManage/certificateOverdue/index.vue @@ -46,6 +46,10 @@ +
+ 过期数量:65 + 临期数量:15 +
@@ -117,6 +141,7 @@ import { getToken } from '@/utils/auth' import Treeselect from '@riophae/vue-treeselect' import '@riophae/vue-treeselect/dist/vue-treeselect.css' + import QRCode from 'qrcodejs2'; export default { name: "", dicts: ["sys_certificate_type"], @@ -224,6 +249,9 @@ { required: true, message: "更新内容不能为空", trigger: "blur" } ] }, + openCode:false, + qrCode: '', + qrCodeStr:"" }; }, mounted(){ @@ -417,6 +445,21 @@ this.single = selection.length!=1 this.multiple = !selection.length }, + checkCode(row){ + this.openCode = true + this.qrCodeStr = row.verificationCode + this.$nextTick(() => { + this.$refs.codeItem.innerHTML = '' + var qrcode = new QRCode(this.$refs.codeItem, { + text: this.qrCodeStr, //二维码内容 + width: 320, + height: 320, + colorDark: '#000000', + colorLight: '#ffffff', + correctLevel: QRCode.CorrectLevel.H + }) + }, 500) + } } }; diff --git a/src/views/certificate/device/index.vue b/src/views/certificate/device/index.vue index 0254f98..e74b65c 100644 --- a/src/views/certificate/device/index.vue +++ b/src/views/certificate/device/index.vue @@ -78,7 +78,6 @@