From cf48fd58493c58c71fcf683b50dc6dde07b5971a Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Mon, 7 Aug 2023 17:36:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A3=85=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/addPhotoDialog.vue | 79 ++++++++++++--- .../components/parameterSetDialog.vue | 59 +++++++++--- .../photographicDevice/index.vue | 95 ++++++++----------- vue.config.js | 6 +- 4 files changed, 157 insertions(+), 82 deletions(-) diff --git a/src/views/management/monitoringEquipment/photographicDevice/components/addPhotoDialog.vue b/src/views/management/monitoringEquipment/photographicDevice/components/addPhotoDialog.vue index 5873a44..32883d1 100644 --- a/src/views/management/monitoringEquipment/photographicDevice/components/addPhotoDialog.vue +++ b/src/views/management/monitoringEquipment/photographicDevice/components/addPhotoDialog.vue @@ -43,33 +43,69 @@ + + + + + - + + + + + + - - + 添加通道 @@ -200,6 +236,17 @@ export default { name: "调试", }, ], //状态 + hasPanOptions: [ + { + id: 0, + name: "否", + }, + { + id: 1, + name: "是", + }, + ], + protocolOptions: [], //规约版本 rules: { cmdId: [ { required: true, message: "请输入装置ID", trigger: "blur" }, @@ -223,7 +270,13 @@ export default { towerId: "", cmdId: "", equipName: "", + hasPan: this.hasPanOptions[0].id, sim: "", + networkId: this.networkOptions[0].id, + deviceType: "", + deviceFactory: "", + protocolVersion: "", + workingDate: new Date().getTime(), list: [ { id: "", @@ -292,6 +345,7 @@ export default { // displayName: this.formInfo.cmdId, // }; this.$set(this.formInfo, "displayName", this.formInfo.cmdId); + console.log(this.formInfo); addTerminalJoggle(this.formInfo) .then((res) => { this.isShow = false; @@ -416,6 +470,9 @@ export default { .el-form-item__label { padding-right: 0px; } + .dateClass { + width: 290px; + } } .el-divider--horizontal { margin: 12px; diff --git a/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue b/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue index 4fa8214..3c001b5 100644 --- a/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue +++ b/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue @@ -271,23 +271,34 @@ - + + + + - - - - - + + - - + + - + + + - 查询 + 查询 @@ -307,7 +318,8 @@