From 22442cd73ab2be27125871e9dd44a0df3de747b6 Mon Sep 17 00:00:00 2001 From: song Date: Fri, 29 Oct 2021 17:52:55 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E7=AB=99?= =?UTF-8?q?=E7=82=B9=202.=E6=97=B6=E9=97=B4=E6=88=B3=203.=E5=88=A0?= =?UTF-8?q?=E9=99=A4console?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/components/data-search-bar.vue | 57 +++++++++++++++--------------- src/components/realtime-data.vue | 1 - src/components/search-bar-data.vue | 32 ++++++++++------- src/components/search-bar.vue | 25 ++++++++++--- src/store/index.js | 1 - src/views/data-history.vue | 9 +++-- src/views/device-list.vue | 20 ++++++----- src/views/month-data.vue | 47 ++++++++++++++---------- src/views/statistical-history.vue | 37 +++++++++---------- src/views/statistical-realtime.vue | 25 +++++-------- 11 files changed, 142 insertions(+), 113 deletions(-) diff --git a/package.json b/package.json index c3054c2..00e4081 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@antv/g2plot": "^2.3.39", "@vitejs/plugin-vue": "^1.9.3", "axios": "^0.23.0", + "dayjs": "^1.10.7", "element-plus": "^1.1.0-beta.24", "lodash": "^4.17.21", "vite": "^2.6.4", diff --git a/src/components/data-search-bar.vue b/src/components/data-search-bar.vue index d3ffac5..ce1683b 100644 --- a/src/components/data-search-bar.vue +++ b/src/components/data-search-bar.vue @@ -1,14 +1,14 @@