From 29c402b1c8c1b8e6947df3c14a952579fdecbce5 Mon Sep 17 00:00:00 2001 From: lll Date: Mon, 6 Nov 2023 09:10:09 +0800 Subject: [PATCH 1/2] 11-06 --- src/App.vue | 6 +- src/components/DataAcquisition.vue | 330 +++++++----- src/components/DataView.vue | 137 ++++- src/components/DeviceWirle.vue | 669 +++++++++++++----------- src/components/GateWay.vue | 229 +++++--- src/components/GatewayConfiguration.vue | 50 +- src/components/GatewayMaintenance.vue | 100 ++-- src/components/TreeView.vue | 606 +++++++++++++-------- src/router/index.js | 64 +-- 9 files changed, 1340 insertions(+), 851 deletions(-) diff --git a/src/App.vue b/src/App.vue index d062f95..2b89a3c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -190,7 +190,7 @@ export default { }; - diff --git a/src/components/DataAcquisition.vue b/src/components/DataAcquisition.vue index d5830f5..b8d25ee 100644 --- a/src/components/DataAcquisition.vue +++ b/src/components/DataAcquisition.vue @@ -1,160 +1,212 @@ \ No newline at end of file + diff --git a/src/components/DataView.vue b/src/components/DataView.vue index 0425514..04f2970 100644 --- a/src/components/DataView.vue +++ b/src/components/DataView.vue @@ -3,7 +3,12 @@
- +

网络方式

@@ -14,19 +19,36 @@

有线

- +
- - + + - + @@ -49,7 +71,11 @@ - + @@ -70,7 +96,11 @@ - + @@ -93,7 +123,11 @@ - + @@ -114,7 +148,11 @@ - + @@ -137,11 +175,20 @@ - + - 复制 + 复制 @@ -153,17 +200,37 @@

WIFI

- +
- - + + - - + + @@ -234,7 +301,11 @@ - + @@ -257,7 +328,11 @@ - + @@ -278,11 +353,17 @@ - + - 复制 + 复制 @@ -451,17 +532,17 @@ export default { let res = await SaveUserAnswer({ mark: "DB-IotLite_wx", user_id: "USER202307301109254198", - mark_value: JSON.stringify(this.formdata) - }) + mark_value: JSON.stringify(this.formdata), + }); console.log(res); sessionStorage.setItem("answer", JSON.stringify(this.formdata)); }, CopyText() { this.$message({ - message: '复制成功', - type: 'success' + message: "复制成功", + type: "success", }); - } + }, }, async created() { let res2 = await GetUserAnswer({ @@ -501,7 +582,7 @@ export default { this.ippz_dns_by3 = this.SliceData(this.ippz_dns_by)[2]; this.ippz_dns_by4 = this.SliceData(this.ippz_dns_by)[3]; }, - mounted() { }, + mounted() {}, directives: { copy: { bind(el, { value }) { diff --git a/src/components/DeviceWirle.vue b/src/components/DeviceWirle.vue index b40d5b4..9a0400f 100644 --- a/src/components/DeviceWirle.vue +++ b/src/components/DeviceWirle.vue @@ -1,354 +1,401 @@ \ No newline at end of file + diff --git a/src/components/GateWay.vue b/src/components/GateWay.vue index b96151e..5a65115 100644 --- a/src/components/GateWay.vue +++ b/src/components/GateWay.vue @@ -2,28 +2,48 @@ +

外网网卡

@@ -66,7 +76,12 @@ @@ -119,7 +134,9 @@ - 保存 + 保存 取 消 @@ -129,22 +146,22 @@ export default { data() { return { - wlgl_nw_ip1:"192", - wlgl_nw_ip2:"168", - wlgl_nw_ip3:"1", - wlgl_nw_ip4:"1", - wlgl_nw_zwym1:'255', - wlgl_nw_zwym2:"255", - wlgl_nw_zwym3:"255", - wlgl_nw_zwym4:"0", - wlgl_ww_ip1:'', - wlgl_ww_ip2:'', - wlgl_ww_ip3:'', - wlgl_ww_ip4:'', - wlgl_ww_zwym1:"", - wlgl_ww_zwym2:"", - wlgl_ww_zwym3:"", - wlgl_ww_zwym4:"", + wlgl_nw_ip1: "192", + wlgl_nw_ip2: "168", + wlgl_nw_ip3: "1", + wlgl_nw_ip4: "1", + wlgl_nw_zwym1: "255", + wlgl_nw_zwym2: "255", + wlgl_nw_zwym3: "255", + wlgl_nw_zwym4: "0", + wlgl_ww_ip1: "", + wlgl_ww_ip2: "", + wlgl_ww_ip3: "", + wlgl_ww_ip4: "", + wlgl_ww_zwym1: "", + wlgl_ww_zwym2: "", + wlgl_ww_zwym3: "", + wlgl_ww_zwym4: "", options1: [ { label: "有线区网闸(内网)", @@ -206,7 +223,7 @@ export default { } .el-col-24 { - padding-right: 152px + padding-right: 152px; } } diff --git a/src/components/ObjectManagement.vue b/src/components/ObjectManagement.vue index 5f8a7f6..8aa69ce 100644 --- a/src/components/ObjectManagement.vue +++ b/src/components/ObjectManagement.vue @@ -1,9 +1,19 @@