From 565c1c9a8232c3d5c1cdc7ec1d88f3d552064cad Mon Sep 17 00:00:00 2001 From: limingyu Date: Thu, 28 Mar 2024 11:52:16 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E5=A4=8D=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E7=8E=AF=E4=BF=9D=E6=A3=80=E6=9F=A5=E7=BC=96=E8=BE=91=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E5=90=8E=E4=B8=8D=E9=80=80=E5=87=BA=EF=BC=8C=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E6=8F=90=E7=A4=BA=EF=BC=9B2=E3=80=81=E7=9B=91?= =?UTF-8?q?=E7=AE=A1=E7=AB=AF=E6=96=B0=E5=A2=9E=E6=B0=94=E8=B1=A1=E7=9B=91?= =?UTF-8?q?=E6=B5=8B=E8=8F=9C=E5=8D=95=EF=BC=9B3=E3=80=81=E5=AE=89?= =?UTF-8?q?=E5=85=A8=E7=8E=AF=E4=BF=9D=E6=A3=80=E6=9F=A5=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A3=80=E6=9F=A5=E4=BA=BA=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=EF=BC=8C=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=E5=8F=B7=E5=92=8C=E6=A3=80=E6=9F=A5=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hotwork/hotwork_list/components/list.vue | 30 +++++++++++++++- .../videoinfomanager/components/list.vue | 35 +++++++++++++++++-- .../meteorologicalMonitoringDisplay/index.vue | 32 +++++++++++++++++ .../archive/components/info.vue | 31 +++++++++++++++- .../inspection/components/add.vue | 12 ++++--- .../inspection/components/list.vue | 27 ++++++++++++-- .../promise_book_issued/components/add.vue | 3 +- 7 files changed, 157 insertions(+), 13 deletions(-) create mode 100644 src/views/meteorologicalMonitoring/meteorologicalMonitoringDisplay/index.vue diff --git a/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/list.vue b/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/list.vue index e5a93c3..42a043b 100644 --- a/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/list.vue +++ b/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/list.vue @@ -74,6 +74,7 @@ @@ -169,7 +170,8 @@ export default { { id: '-6', name: '超期未动火' } ], STATUS: '', - DEPTIDS: '' + DEPTIDS: '', + loginUserId: JSON.parse(sessionStorage.getItem('user')).USER_ID } }, created() { @@ -360,6 +362,32 @@ export default { } return keyVal.substring(0, (keyVal.length - 1)) } + }, + goDelete(id) { + this.$confirm('是否确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + requestFN( + '/dangerousWork/hotwork/deleteHotwork', + { + HOTWORKAPPLICATION_ID: id, + loginUserId: this.loginUserId + } + ).then((data) => { + this.$message({ + type: 'success', + message: '删除成功!' + }) + this.getQuery() + }) + }).catch(() => { + this.$message({ + type: 'info', + message: '已取消删除' + }) + }) } } } diff --git a/src/views/keyprojects/videoinfomanager/components/list.vue b/src/views/keyprojects/videoinfomanager/components/list.vue index 50b72ca..8027329 100644 --- a/src/views/keyprojects/videoinfomanager/components/list.vue +++ b/src/views/keyprojects/videoinfomanager/components/list.vue @@ -64,6 +64,16 @@ {{ row.ITEM_COUNT }} + + + @@ -89,6 +99,7 @@
新增 批量删除 + 刷新在线状态
+ + + + + @@ -249,7 +265,8 @@ export default { PERSON: [{ required: true, message: '不可为空', trigger: 'blur' }], PHONE: [{ required: true, message: '不可为空', trigger: 'blur' }], VIDEOURL: [{ required: true, message: '不可为空', trigger: 'blur' }], - CODE: [{ required: true, message: '不可为空', trigger: 'blur' }] + CODE: [{ required: true, message: '不可为空', trigger: 'blur' }], + NATIONAL_STANDARD_ID: [{ required: true, message: '不可为空', trigger: 'blur' }] }, info: { VIDEO_RESOURCES_ID: '', // 主键 @@ -261,7 +278,8 @@ export default { CODE: '', // 摄像头编号 PHONE: '', // 手机号码 REMAKE: '', // 在线情况 - PERSON: '' // 负责人 + PERSON: '', // 负责人 + NATIONAL_STANDARD_ID: '' // 设备国标编号 } }, typeData: [], @@ -499,6 +517,19 @@ export default { getRowKey(row) { return row.VIDEO_RESOURCES_ID }, + refreshOnlineStatus() { + console.log(1) + requestFN( + '/videoResources/videoDevicesUpdateOnlineStatus' + ).then((data) => { + this.$message({ + message: '刷新成功', + type: 'success' + }) + this.getList() + }).catch((e) => { + }) + }, // 批量删除 handleBatchDel(row) { const DATA_IDS = [] diff --git a/src/views/meteorologicalMonitoring/meteorologicalMonitoringDisplay/index.vue b/src/views/meteorologicalMonitoring/meteorologicalMonitoringDisplay/index.vue new file mode 100644 index 0000000..3fef542 --- /dev/null +++ b/src/views/meteorologicalMonitoring/meteorologicalMonitoringDisplay/index.vue @@ -0,0 +1,32 @@ +