From 4a02fdefd8adc79f90b4f5dbc10b597784ded7ed Mon Sep 17 00:00:00 2001 From: LiuJiaNan Date: Thu, 19 Sep 2024 10:45:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E9=98=B2=E7=82=B9=E4=BD=8D=E7=BB=B4?= =?UTF-8?q?=E6=8A=A4=E6=89=AB=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../firefighting/points/components/list.vue | 314 ++++++++++++++++-- 1 file changed, 278 insertions(+), 36 deletions(-) diff --git a/src/views/firefighting/points/components/list.vue b/src/views/firefighting/points/components/list.vue index dcb120d..4a827d6 100644 --- a/src/views/firefighting/points/components/list.vue +++ b/src/views/firefighting/points/components/list.vue @@ -29,7 +29,11 @@ - + @@ -75,14 +79,14 @@ @@ -123,27 +135,91 @@ - -
-
-

消防点位信息

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
消防点位维护信息告知牌
+
+
+
+
消防点位
+
{{ qrInfo.FIRE_POINT_NAME }}
+
+
+
点位编号
+
{{ qrInfo.FIRE_POINT_CODE }}
+
+
+
+
+
检查码
+
+ +
+
查询码
+
+ +
+
+
- - - - - - - - - - - - - -
消防区域{{ qrInfo.FIRE_REGION_NAME }}消防点位{{ qrInfo.FIRE_POINT_NAME }}
负责部门{{ qrInfo.DEPARTMENT_NAME }}负责人{{ qrInfo.USERNAME }}
-
- +
+
+
+
消防点位
+
{{ qrInfo.FIRE_POINT_NAME }}
+
+
+
点位编号
+
{{ qrInfo.FIRE_POINT_CODE }}
+
+
+
+
+
检查码
+
+ +
+
+
+
查询码
+
+ +
+
+
- +
- - + + - + @@ -204,6 +288,8 @@ export default { dialogFormShow: false, dialogRecordFormShow: false, qrcodeStr: '', + qrcodeStr1: '', + tabsActive: 'horizontal', recordQrcodeStr: '', qrInfo: {}, add: false, @@ -273,8 +359,9 @@ export default { MANAGER_TYPE: 'fireListManager', FIRE_POINT_ID: ROW.FIRE_POINT_ID }) - }, + }, handleShowRecordQr(ROW) { + console.log(ROW) this.dialogFormShow = true // 确保qrInfo绑定了需要显示的数据字段 this.qrInfo = { @@ -293,6 +380,22 @@ export default { this.qrcodeStr = jsonStr console.info(this.qrcodeStr) }, + handleShowNotificationCard(ROW) { + this.dialogFormShow = true + this.qrInfo = ROW + // 检查码 + this.qrcodeStr = JSON.stringify({ + MANAGER_TYPE: 'checkRecordManager', + USER_ID: ROW.USER_ID, + DEPARTMENT_ID: ROW.DEPARTMENT_ID, + FIRE_POINT_ID: ROW.FIRE_POINT_ID + }) + // 查询码 + this.qrcodeStr1 = JSON.stringify({ + MANAGER_TYPE: 'fireListManager', + FIRE_POINT_ID: ROW.FIRE_POINT_ID + }) + }, handleEdit(FIRE_POINT_ID) { this.$parent.FIRE_POINT_ID = FIRE_POINT_ID this.$parent.activeName = 'Edit' @@ -456,7 +559,8 @@ export default { }) this.dialogEditUser = false this.getList() - }).catch(() => {}) + }).catch(() => { + }) } }) }, @@ -541,10 +645,12 @@ export default { .returnBtn { float: right; } + .app-container { display: flex; align-items: baseline; } + .table-qrcode { text-align: center; padding-top: 20px; @@ -555,3 +661,139 @@ export default { width: 100% } + +