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% } + +