diff --git a/src/views/alarmHandling/index.vue b/src/views/alarmHandling/index.vue index 08a8835..6b2de45 100644 --- a/src/views/alarmHandling/index.vue +++ b/src/views/alarmHandling/index.vue @@ -72,12 +72,11 @@ height="calc(100% - 40px)" @row-click="handleRowClick" > - + - - + @@ -123,28 +122,6 @@ :show-overflow-tooltip="true" > - - - - - -
- 处理 + + 主动拍照 + 历史图片
@@ -367,7 +344,7 @@ export default { justify-content: space-between; .imgshow { width: 100%; - height: 90%; + height: 100%; img { width: 100%; height: 100%; @@ -375,9 +352,9 @@ export default { } .editorBtn { margin-top: 8px; - border: 1px solid @border-color-base; - padding: 2%; - border-radius: 4px; + // border: 1px solid @border-color-base; + padding-top: 5px; + // border-radius: 4px; } .editorBtn { display: flex; diff --git a/src/views/management/monitoringEquipment/photographicDevice/components/addPhotoDialog.vue b/src/views/management/monitoringEquipment/photographicDevice/components/addPhotoDialog.vue index e21522b..daacb9b 100644 --- a/src/views/management/monitoringEquipment/photographicDevice/components/addPhotoDialog.vue +++ b/src/views/management/monitoringEquipment/photographicDevice/components/addPhotoDialog.vue @@ -61,9 +61,10 @@ { - channelnr.push(item.id); - }); - this.$set(this.formInfo, "channelVal", channelnr); + // let channelnr = []; + // val.list.forEach((item) => { + // channelnr.push(item.id); + // }); + // this.$set(this.formInfo, "channelVal", channelnr); + }, + //通道号值改变 + changeHandle(){ + this.filterOption = this.channelOptions.filter(val => !this.formInfo.list.some(item => item.channelVal === val.id)) }, //新增一行 addModule() { //新增一行 this.formInfo.list.push({ - channelVal: [], + channelVal: '', nickname: "", }); - console.log(this.formInfo.list); - console.log(this.channelOptions); + this.filterOption = this.channelOptions.filter(val => !this.formInfo.list.some(item => item.channelVal === val.id)) this.$nextTick(() => { console.log(this.$refs.channelBoxref); if (this.$refs.channelBoxref) { console.log(this.$refs.channelBoxref.scrollHeight); - this.$refs.channelBoxref.scrollTop = - this.$refs.channelBoxref.scrollHeight; + this.$refs.channelBoxref.scrollTop = this.$refs.channelBoxref.scrollHeight; } }); }, @@ -213,6 +217,7 @@ export default { if (itemList !== -1) { this.formInfo.list.splice(index, 1); } + this.filterOption = this.channelOptions.filter(val => !this.formInfo.list.some(item => item.channelVal === val.id)) }, // 保存确定操作 submitForm() { @@ -320,9 +325,8 @@ export default { getAllChannelListJoggle() .then((res) => { this.channelOptions = res.data.list; - console.log(this.channelOptions[0].id); - console.log(this.formInfo.list.channelVal); - this.formInfo.list[0].channelVal = this.channelOptions[0].id; + this.filterOption = res.data.list; + this.formInfo.list[0].channelVal = this.filterOption[0].id; }) .catch((err) => {}); }, diff --git a/src/views/realTimeSearch/index.vue b/src/views/realTimeSearch/index.vue index a7f848e..8202b02 100644 --- a/src/views/realTimeSearch/index.vue +++ b/src/views/realTimeSearch/index.vue @@ -124,7 +124,7 @@ -
+