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 @@ +