From 1cc916c53cf62951f6fd62a8e41e37524f15b4c1 Mon Sep 17 00:00:00 2001
From: ym1026 <1539963735@qq.com>
Date: Thu, 4 Sep 2025 16:04:37 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=88=86=E6=9E=90=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3=E8=81=94=E8=B0=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
web/src/components/Home/Alarm.vue | 19 +-
web/src/components/Home/Charge.vue | 20 +-
web/src/components/Home/Energy.vue | 20 +-
web/src/components/Home/Map.vue | 3 +-
web/src/components/Home/Modal.vue | 253 +++---
web/src/components/Home/Modal/DisCharge.vue | 22 +-
web/src/components/Home/Modal/Revenue.vue | 23 +-
.../components/Home/Modal/StatisticalInfo.vue | 12 +-
web/src/components/Home/Modal/Utilization.vue | 21 +-
web/src/components/Home/Pv.vue | 19 +-
web/src/components/Home/onLine.vue | 4 +
web/src/components/SearchBox.vue | 5 +
.../statisticalAnalysis/energyEchart.vue | 220 +----
web/src/router/index.js | 2 +-
web/src/utils/dealWithData.js | 37 +
web/src/views/statisticalAnalysis.vue | 755 +++++++-----------
web/src/views/sub/Home.vue | 29 +-
web/src/views/system/user.vue | 12 +-
18 files changed, 517 insertions(+), 959 deletions(-)
create mode 100644 web/src/utils/dealWithData.js
diff --git a/web/src/components/Home/Alarm.vue b/web/src/components/Home/Alarm.vue
index 95128e5..5e5a0ea 100644
--- a/web/src/components/Home/Alarm.vue
+++ b/web/src/components/Home/Alarm.vue
@@ -12,6 +12,7 @@
@@ -253,8 +187,6 @@ export default {
justify-content: space-between;
}
-
-
.content-left,
.content-right {
height: 100%;
@@ -270,15 +202,15 @@ export default {
width: 100%;
height: calc(40% - 10px);
z-index: 20;
-
-&:nth-child(2n){
+
+ &:nth-child(2n) {
// height:calc(33% - 10px)!important;
-}
+ }
.tool {
background: url('@/assets/home/modal-header-bg.png');
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center;
+ background-size: contain;
+ background-repeat: no-repeat;
+ background-position: center;
display: flex;
justify-content: space-between;
@@ -286,7 +218,7 @@ export default {
height: 45px;
.linear-text {
- margin-bottom: 7px;
+ margin-bottom: 7px;
background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(40, 235, 231, 1) 100%);
color: transparent;
-webkit-background-clip: text;
@@ -315,7 +247,7 @@ export default {
.title {
display: flex;
-
+
i {
margin-left: 10px;
}
@@ -336,19 +268,14 @@ export default {
color: transparent;
}
}
-
-
}
- .operation-status{
+.operation-status {
height: calc(25% - 10px);
-
- }
- .statistical{
+}
+.statistical {
height: calc(18% - 10px);
-
- }
- .envInfo{
- height: calc(15% - 10px);
-
- }
+}
+.envInfo {
+ height: calc(15% - 10px);
+}
diff --git a/web/src/components/Home/Modal/DisCharge.vue b/web/src/components/Home/Modal/DisCharge.vue
index 2af9149..e10d1ea 100644
--- a/web/src/components/Home/Modal/DisCharge.vue
+++ b/web/src/components/Home/Modal/DisCharge.vue
@@ -5,6 +5,8 @@