@@ -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 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/safetyenvironmental/archive/components/info.vue b/src/views/safetyenvironmental/archive/components/info.vue
index f1ada88..6b970f6 100644
--- a/src/views/safetyenvironmental/archive/components/info.vue
+++ b/src/views/safetyenvironmental/archive/components/info.vue
@@ -126,8 +126,9 @@
{{ item.HIDDENDESCR }} |
隐患部位 |
{{ item.HIDDENPART_NAME?item.HIDDENPART_NAME:item.HIDDENPART }} |
-
+ |
查看
+ 删除
|
@@ -443,6 +444,34 @@ export default {
this.$parent.INSPECTION_ID = ''
this.$parent.activeName = 'List'
},
+ goDelete(ID) {
+ this.$confirm('确定要删除此隐患吗?', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ requestFN(
+ '/safetyenvironmental/deleteHiddenForSafetyenvironmental',
+ {
+ HIDDEN_ID: ID,
+ tm: new Date().getTime()
+ }
+ ).then((res) => {
+ if (res.result === 'success') {
+ this.$message({
+ message: '删除成功',
+ type: 'success'
+ })
+ } else {
+ this.$message({
+ message: res.codeMsg,
+ type: 'error'
+ })
+ }
+ this.getData()
+ }).catch((e) => {})
+ }).catch(() => {})
+ },
goView(id) {
this.$refs.information.init(id)
}
diff --git a/src/views/safetyenvironmental/inspection/components/add.vue b/src/views/safetyenvironmental/inspection/components/add.vue
index 78ab20a..d9533f7 100644
--- a/src/views/safetyenvironmental/inspection/components/add.vue
+++ b/src/views/safetyenvironmental/inspection/components/add.vue
@@ -854,17 +854,19 @@ export default {
'/safetyenvironmental/' + this.dialogType,
{ ...this.form }
).then((data) => {
- for (let i = 0; i < data.pd.hiddenList.length; i++) {
- this.uploadImg(this.hdFile[i]['fileHdImgList'], data.pd.hiddenList[i].HIDDEN_ID)
- this.uploadVideo(this.hdFile[i]['fileVideoList'], data.pd.hiddenList[i].HIDDEN_ID)
- }
this.$message({
message: '保存成功',
type: 'success'
})
+ for (let i = 0; i < data.pd.hiddenList.length; i++) {
+ this.uploadImg(this.hdFile[i]['fileHdImgList'], data.pd.hiddenList[i].HIDDEN_ID)
+ this.uploadVideo(this.hdFile[i]['fileVideoList'], data.pd.hiddenList[i].HIDDEN_ID)
+ }
this.listLoading = false
loading.close()
- this.goBack()
+ // this.goBack()
+ this.$parent.INSPECTION_ID = ''
+ this.$parent.activeName = 'List'
}).catch((e) => {
this.listLoading = false
loading.close()
diff --git a/src/views/safetyenvironmental/inspection/components/list.vue b/src/views/safetyenvironmental/inspection/components/list.vue
index 0a7cda5..a48e9da 100644
--- a/src/views/safetyenvironmental/inspection/components/list.vue
+++ b/src/views/safetyenvironmental/inspection/components/list.vue
@@ -12,6 +12,16 @@
+