diff --git a/src/views/management/monitoringEquipment/photographicDevice/components/imageCapture.vue b/src/views/management/monitoringEquipment/photographicDevice/components/imageCapture.vue index b62f3ee..ae9f7a5 100644 --- a/src/views/management/monitoringEquipment/photographicDevice/components/imageCapture.vue +++ b/src/views/management/monitoringEquipment/photographicDevice/components/imageCapture.vue @@ -221,7 +221,7 @@ export default { this.setForm = {}; console.log(val); this.seltermid = val.id; - this.selcmdId = val.cmdid; + this.selcmdId = val.cmdId; getChannelListJoggle({ termid: this.seltermid }) .then((res) => { this.accesslist = res.data.list; diff --git a/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue b/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue index eec5d94..e4997a5 100644 --- a/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue +++ b/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue @@ -91,7 +91,7 @@ - +
@@ -218,31 +218,49 @@
- +
- +
- + - + - + - + - + - + - + 查询 @@ -252,7 +270,7 @@
- + @@ -325,6 +343,15 @@ export default { console.log(tab, event); //每次切换重置选项卡 this.tabsActive = "first"; + if (tab.label == "图像采集参数") { + console.log("图像采集参数"); + this.$refs.imageCaptureref.getSingleAccess(this.rowData); + this.$refs.imageCaptureref.getRatio(); + } else if (tab.label == "视频采集参数") { + console.log("视频采集参数"); + this.$refs.videoCaptureref.getSingleAccess(this.rowData); + this.$refs.videoCaptureref.getRatio(); + } }, //装置复位 handleDeviceReset() { @@ -389,15 +416,15 @@ export default { width: 200px; } } - .runform{ + .runform { width: 730px; margin: 0 auto; margin-top: 24px; - .runformbtn{ + .runformbtn { margin-top: 10px; width: 100%; display: flex; - .el-form-item__content{ + .el-form-item__content { margin: auto; } } diff --git a/src/views/management/monitoringEquipment/photographicDevice/components/videoCapture.vue b/src/views/management/monitoringEquipment/photographicDevice/components/videoCapture.vue index 976aaf8..a9df361 100644 --- a/src/views/management/monitoringEquipment/photographicDevice/components/videoCapture.vue +++ b/src/views/management/monitoringEquipment/photographicDevice/components/videoCapture.vue @@ -168,7 +168,7 @@ export default { this.setForm = {}; console.log(val); this.seltermid = val.id; - this.selcmdId = val.cmdid; + this.selcmdId = val.cmdId; getChannelListJoggle({ termid: this.seltermid }) .then((res) => { this.accesslist = res.data.list;