From c6406f81919285ce3f69c82e479cc612f1b9aab5 Mon Sep 17 00:00:00 2001 From: WenShiJun Date: Sat, 14 Sep 2024 10:04:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E9=98=B2=E5=AE=89=E5=85=A8=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E6=B7=BB=E5=8A=A0=E6=A3=80=E6=9F=A5=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../firefighting/points/components/list.vue | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/src/views/firefighting/points/components/list.vue b/src/views/firefighting/points/components/list.vue index d28bce7..c9590ce 100644 --- a/src/views/firefighting/points/components/list.vue +++ b/src/views/firefighting/points/components/list.vue @@ -73,7 +73,7 @@ - + @@ -255,6 +263,24 @@ export default { // const jsonStr = JSON.stringify(json) // this.qrcodeStr = jsonStr }, + handleShowRecordQr(ROW) { + this.dialogFormShow = true; + // 确保qrInfo绑定了需要显示的数据字段 + this.qrInfo = { + FIRE_REGION_NAME: ROW.FIRE_REGION_NAME, // 消防区域 + FIRE_POINT_NAME: ROW.FIRE_POINT_NAME, // 消防点位 + DEPARTMENT_NAME: ROW.DEPARTMENT_NAME, // 负责部门 + USERNAME: ROW.USERNAME // 负责人 + }; + const json = { + MANAGER_TYPE: 'checkRecordManager', + USER_ID: ROW.USER_ID, + DEPARTMENT_ID: ROW.DEPARTMENT_ID, + FIRE_POINT_ID: ROW.FIRE_POINT_ID + }; + const jsonStr = JSON.stringify(json); + this.qrcodeStr = jsonStr; + }, handleEdit(FIRE_POINT_ID) { this.$parent.FIRE_POINT_ID = FIRE_POINT_ID this.$parent.activeName = 'Edit'