From d99e4876c7a7ad7752e08b8a20fdaaa8c9c389ec Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Sat, 13 Nov 2021 23:18:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=A0=B9=E6=8D=AE=E7=94=B2=E6=96=B9?= =?UTF-8?q?=E6=84=8F=E8=A7=81=E8=B0=83=E6=95=B4=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/{ => chart}/data-report.vue | 30 +++++--------- .../{ => config}/function-config-pending.vue | 34 +++++++-------- .../{ => config}/network-config-pending.vue | 38 +++++++++-------- .../device}/device-create.vue | 18 ++++---- src/config/config.js | 4 +- src/hooks/useDeviceCreate.js | 24 +++++++++++ src/routers/index.js | 41 ++++--------------- src/store/device.js | 11 ++++- src/views/config.vue | 18 ++++++++ src/views/device-list.vue | 17 ++++++-- src/views/function-config.vue | 10 ++--- src/views/network-config.vue | 10 ++--- src/views/statistical-report.vue | 12 +++--- 13 files changed, 147 insertions(+), 120 deletions(-) rename src/components/{ => chart}/data-report.vue (69%) rename src/components/{ => config}/function-config-pending.vue (86%) rename src/components/{ => config}/network-config-pending.vue (78%) rename src/{views => components/device}/device-create.vue (94%) create mode 100644 src/hooks/useDeviceCreate.js create mode 100644 src/views/config.vue diff --git a/src/components/data-report.vue b/src/components/chart/data-report.vue similarity index 69% rename from src/components/data-report.vue rename to src/components/chart/data-report.vue index ce4cfba..943bf91 100644 --- a/src/components/data-report.vue +++ b/src/components/chart/data-report.vue @@ -1,12 +1,12 @@ diff --git a/src/views/device-list.vue b/src/views/device-list.vue index 853d265..5e4f80e 100644 --- a/src/views/device-list.vue +++ b/src/views/device-list.vue @@ -2,7 +2,7 @@
- + 添加设备 @@ -90,16 +90,22 @@ + + + +