From 11c6506a3827c9b9981fa045a0e8838b08fd3c8b Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Thu, 29 Jun 2023 11:04:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/imageCapture.vue | 2 +- .../components/parameterSetDialog.vue | 55 ++++++++++++++----- .../components/videoCapture.vue | 2 +- 3 files changed, 43 insertions(+), 16 deletions(-) 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;