From e1281f6933755e07c7fb4b5bd8e8027cfb780e94 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 27 十一月 2025 17:06:43 +0800
Subject: [PATCH] 改bug

---
 screen/src/views/KeyCabinet.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/screen/src/views/KeyCabinet.vue b/screen/src/views/KeyCabinet.vue
index 8dbc11f..ccecbb0 100644
--- a/screen/src/views/KeyCabinet.vue
+++ b/screen/src/views/KeyCabinet.vue
@@ -329,7 +329,7 @@
         getKeyUseRecord({ carCode: form.value.carCode, status: form.value.status })
             .then(res => {
                 if (res.code === 200) {
-                    // data5.value = res.data
+                    data5.value = res.data
                 }
             })
     }
@@ -353,7 +353,7 @@
                     timeOutNumPct: calculatePercentage(res.data.timeOutNum,[res.data.alcoholNum + res.data.timeOutNum + res.data.unCloseNum]),
                     unCloseNumPct: calculatePercentage(res.data.unCloseNum,[res.data.alcoholNum + res.data.timeOutNum + res.data.unCloseNum])
                 }
-                dataList5.value = [res.data.alcoholNum, res.data.unCloseNum, res.data.timeOutNum]
+                dataList5.value = [res.data.alcoholNum, res.data.timeOutNum, res.data.unCloseNum]
                 nextTick(() => {
                     initEchart1()
                 })
@@ -427,6 +427,7 @@
                     itemStyle: {
                         borderRadius: 10,
                         color: function(params) {
+                            console.log(params)
                             // 浣跨敤涓嶅悓鐨勬笎鍙樿壊
                             let colorList = [
                                 {offset: 0, color: colors[params.dataIndex].color1}, // 0% 澶勭殑棰滆壊
@@ -623,12 +624,12 @@
                             <div style="position: absolute;bottom: 0;right: 0;width: 10px;height: 10px;border-right: 1px solid #01D9FE;border-bottom: 1px solid #01D9FE;"></div>
                             <div style="color: #FFFFFF;font-size: 14px;font-weight: 400;">${params[0].axisValue}</div>
                             <div style="display: flex; align-items: center;margin-top: 4px;">
-                                <div style="width: 12px;height: 12px;background: #00C2FF;border-radius: 50%;margin-right: 12px;"></div>
+                                <div style="width: 12px;height: 12px;background: linear-gradient(to bottom, #50afd3, #1d4861);border-radius: 50%;margin-right: 12px;"></div>
                                 <div style="color: #FFFFFF;font-size: 14px;font-weight: 400;">棰嗗彇锛�</div>
                                 <div style="color: #00F2F3;font-size: 14px;font-weight: 500;">${params[0].data}涓�</div>
                             </div>
                             <div style="display: flex; align-items: center;margin-top: 4px;">
-                                <div style="width: 12px;height: 12px;background: #FF8A00;border-radius: 50%;margin-right: 12px;"></div>
+                                <div style="width: 12px;height: 12px;background: linear-gradient(to bottom, rgb(255,184,0), rgba(255, 138, 0, 0.20));border-radius: 50%;margin-right: 12px;"></div>
                                 <div style="color: #FFFFFF;font-size: 14px;font-weight: 400;">褰掕繕锛�</div>
                                 <div style="color: #00F2F3;font-size: 14px;font-weight: 500;">${params[1].data}涓�</div>
                             </div>

--
Gitblit v1.9.3