From dfec94be17758201015c211b805d8f8b29e090bd Mon Sep 17 00:00:00 2001 From: helloDy <1615073571@qq.com> Date: Wed, 20 Sep 2023 13:58:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 2 +- .../core/analysis/balanceAnalysis/index.vue | 47 ++++---- src/views/core/analysis/balanceChart.vue | 102 ++++++++++++++++++ src/views/core/monitoring/data/index.vue | 7 +- 4 files changed, 134 insertions(+), 24 deletions(-) create mode 100644 src/views/core/analysis/balanceChart.vue diff --git a/.env.dev b/.env.dev index d9a29fce..69659369 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2023-09-16 09:41:07 + # @LastEditTime: 2023-09-18 10:44:07 # @LastEditors: DY # @Description: ### diff --git a/src/views/core/analysis/balanceAnalysis/index.vue b/src/views/core/analysis/balanceAnalysis/index.vue index ffa09229..327be98f 100644 --- a/src/views/core/analysis/balanceAnalysis/index.vue +++ b/src/views/core/analysis/balanceAnalysis/index.vue @@ -2,7 +2,7 @@
- + + + + diff --git a/src/views/core/monitoring/data/index.vue b/src/views/core/monitoring/data/index.vue index 7b0e6a0c..cf419c8f 100644 --- a/src/views/core/monitoring/data/index.vue +++ b/src/views/core/monitoring/data/index.vue @@ -1,7 +1,7 @@ @@ -157,6 +157,11 @@ export default { }; }, created() { + if (this.$route.params.startTime) { + this.formConfig[1].defaultSelect = [this.$route.params.startTime, this.$route.params.endTime] + } + // const time = new Date() + // this.formConfig[1].defaultSelect = [time, time] this.getDataList() this.getPdLineList() },