From c5b2ea0dc2191346731e6dbaf7eab30c4d2ef2a8 Mon Sep 17 00:00:00 2001
From: shilei <965026003@qq.com>
Date: Thu, 24 Oct 2024 18:10:42 +0800
Subject: [PATCH] =?UTF-8?q?10.24=20=20=20=E5=85=85=E7=94=B5=E5=A4=A7?=
=?UTF-8?q?=E5=B1=8F=E6=9A=82=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/heat/liquid_cooling/index.vue | 10 +--
src/views/home/homepage/index.css | 10 +++
src/views/home/homepage/index.less | 16 +++-
src/views/home/homepage/index.vue | 82 +++++++++----------
.../replace_battery/replace_log/index.vue | 13 +--
5 files changed, 75 insertions(+), 56 deletions(-)
diff --git a/src/views/heat/liquid_cooling/index.vue b/src/views/heat/liquid_cooling/index.vue
index 45593eb..4d4e659 100644
--- a/src/views/heat/liquid_cooling/index.vue
+++ b/src/views/heat/liquid_cooling/index.vue
@@ -33,10 +33,10 @@
工作状态:
- 关机模式
- 制冷模式
- 制热模式
- 自循环模式
+ 关机模式
+ 制冷模式
+ 制热模式
+ 自循环模式
出水温度: {{ item.getOutTemperature }} °C
@@ -63,7 +63,7 @@ onMounted(async () => {
const handleQuery = async () => {
var res = await getAPI(SysChargeMonitorApi).apiGetWhaterCoolListGet();
- console.log(res, 'res');
+ // console.log(res, 'res');
info_list.value = res.data.data;
};
diff --git a/src/views/home/homepage/index.css b/src/views/home/homepage/index.css
index 15865ae..f019bc7 100644
--- a/src/views/home/homepage/index.css
+++ b/src/views/home/homepage/index.css
@@ -352,3 +352,13 @@
.right_demo > div:last-child {
flex: 1;
}
+.left_titzz {
+ display: flex;
+ align-items: center;
+ justify-content: space-evenly;
+}
+.public_flex_co {
+ flex: 1;
+ display: flex;
+ align-items: center;
+}
diff --git a/src/views/home/homepage/index.less b/src/views/home/homepage/index.less
index 63997f4..606a833 100644
--- a/src/views/home/homepage/index.less
+++ b/src/views/home/homepage/index.less
@@ -317,9 +317,7 @@
.swapper_order {
height: 250px;
margin-top: 30px;
- // height: calc(100% - 45px);
color: #fff;
- // display: flex;
flex-direction: column;
>div {
@@ -449,8 +447,20 @@
.right_demo {
display: flex;
flex-direction: column;
-
+ // padding: 10px;
+ // box-sizing: border-box;
>div:last-child {
flex: 1;
}
+}
+
+.left_titzz {
+ display: flex;
+ align-items: center;
+ justify-content: space-evenly;
+}
+.public_flex_co {
+ flex: 1;
+ display: flex;
+ align-items: center;
}
\ No newline at end of file
diff --git a/src/views/home/homepage/index.vue b/src/views/home/homepage/index.vue
index f43adb8..3be96fc 100644
--- a/src/views/home/homepage/index.vue
+++ b/src/views/home/homepage/index.vue
@@ -3,43 +3,34 @@
-
-
紫金换电站控制平台
+
+
紫金换电站控制平台
站点信息
-
+
-
+
运输重卡换电站
-
+
-
- 联系方式:
- {{ info.contactWay ? info.contactWay : '--' }}
-
-
- 营业时间:
- {{ info.operatetionetime ? info.operatetionstime : '--' }}——{{ info.operatetionetime ? info.operatetionetime : '--' }}
-
@@ -47,29 +38,36 @@
月度数据
-
-
-
-
{{ monthData.swapCount ? monthData.swapCount : 0 }}
-
换电总量/次
+
+
+
+
+
{{ monthData.swapCount ? monthData.swapCount : 0 }}
+
换电总量/次
+
-
-
-
{{ monthData.chargeFrequency ? monthData.chargeFrequency : 0 }}
-
-
充电总量/次
+
+
+
+
{{ monthData.chargeFrequency ? monthData.chargeFrequency : 0 }}
+
充电总量/次
+
-
-
-
-
{{ monthData.vehicleCount ? monthData.vehicleCount : 0 }}
-
服务车辆/辆
+
+
+
+
+
{{ monthData.vehicleCount ? monthData.vehicleCount : 0 }}
+
服务车辆/辆
+
-
-
-
{{ monthData.chargeCount ? monthData.chargeCount : 0 }}
-
充电总量kWH
+
+
+
+
{{ monthData.chargeCount ? monthData.chargeCount : 0 }}
+
充电总量KWH
+
@@ -79,7 +77,7 @@
今日数据
-
+
{{ monthData.daySwapCount ? monthData.daySwapCount : 0 }}
@@ -87,11 +85,11 @@
换电总量/次
-
+
{{ monthData.dayChargeCount ? monthData.dayChargeCount : 0 }}
-
换电总量kwh
+
换电总量KWH
@@ -101,7 +99,7 @@
-
+
月换电详情
@@ -124,7 +122,7 @@
充电状态
充电总时长/h
- 充电总量/kwh
+ 充电总量/KWH
电池编号
SOC(%)
换电状态
@@ -221,7 +219,7 @@ const handleQuery = async () => {
// 获取月/日
const getchargerInfo = async () => {
var res = await getAPI(SysHomePageApi).apiGetChargerInfoListGET();
- console.log(res,'res');
+ console.log(res, 'res');
monthData.swapCount = res.data.data.swapCount;
monthData.chargeFrequency = res.data.data.chargeFrequency;
diff --git a/src/views/replace_battery/replace_log/index.vue b/src/views/replace_battery/replace_log/index.vue
index 8cee275..8d4893b 100644
--- a/src/views/replace_battery/replace_log/index.vue
+++ b/src/views/replace_battery/replace_log/index.vue
@@ -61,13 +61,14 @@
失败
+
+
+
+
+
+
-
+