From 6d56bf4daf08c4c7c6d193d98ed0b547dc473451 Mon Sep 17 00:00:00 2001
From: renmingwang <renmingwang@hnkhzn.com>
Date: 星期三, 25 三月 2026 16:59:14 +0800
Subject: [PATCH] 添加历史任务删除,大屏布局修改

---
 项目代码/大屏/src/views/indexs/sc02-location-status.vue |   32 ++++++++++++++++++++++----------
 1 files changed, 22 insertions(+), 10 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/\345\244\247\345\261\217/src/views/indexs/sc02-location-status.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/\345\244\247\345\261\217/src/views/indexs/sc02-location-status.vue"
index a9eb338..fdb8280 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/\345\244\247\345\261\217/src/views/indexs/sc02-location-status.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/\345\244\247\345\261\217/src/views/indexs/sc02-location-status.vue"
@@ -25,7 +25,7 @@
     // 姣�10绉掑埛鏂颁竴娆℃暟鎹�
     this.refreshInterval = setInterval(() => {
       this.getData();
-    }, 10000);
+    }, 30000);
   },
   beforeDestroy() {
     if (this.chart) {
@@ -61,21 +61,33 @@
           }
         },
         legend: {
-          orient: 'vertical',
-          right: '10%',
-          top: 'center',
+          orient: 'horizontal',
+          bottom: '10%',
+          left: 'center',
           textStyle: {
             color: '#fff',
-            fontSize: 14
+            fontSize: 20
           },
-          data: ['绌洪棽', '鏈夎揣', '鏈夎揣閿佸畾']
+          data: ['绌洪棽', '鏈夎揣', '鏈夎揣閿佸畾'],
+          width: '80%',
+          itemWidth: 20,
+          itemHeight: 14,
+          itemGap: 30,
+          formatter: function(name) {
+            let value = 0;
+            if (name === '绌洪棽') value = this.locationData.free;
+            if (name === '鏈夎揣') value = this.locationData.occupied;
+            if (name === '鏈夎揣閿佸畾') value = this.locationData.locked;
+            return `${name}\n${value}`;
+          }.bind(this),
+          selectedMode: 'multiple'
         },
         series: [
           {
             name: 'SC02璐т綅鐘舵��',
             type: 'pie',
-            radius: ['50%', '70%'],
-            center: ['40%', '50%'],
+            radius: ['40%', '75%'],
+            center: ['50%', '45%'],
             avoidLabelOverlap: true,
             itemStyle: {
               borderRadius: 4,
@@ -86,12 +98,12 @@
               show: true,
               formatter: '{b}: {c}',
               color: '#fff',
-              fontSize: 14
+              fontSize: 20
             },
             emphasis: {
               label: {
                 show: true,
-                fontSize: 16,
+                fontSize: 20,
                 fontWeight: 'bold'
               },
               itemStyle: {

--
Gitblit v1.9.3