From 7e88876cd6c68e963ec0560f4e329e5dad483d9c Mon Sep 17 00:00:00 2001
From: admin <qiutairan163@163.com>
Date: 星期五, 28 十一月 2025 16:58:16 +0800
Subject: [PATCH] 增加casno等7个字段

---
 HTML/views/home/console2.html |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/HTML/views/home/console2.html b/HTML/views/home/console2.html
index cd1f9ca..0be7e97 100644
--- a/HTML/views/home/console2.html
+++ b/HTML/views/home/console2.html
@@ -275,7 +275,7 @@
                             </div>
                         </div>
                     </div>
-                    <div style="width: 100%;margin-top: 15%;height: 40%;">
+                    <div style="width: 100%;margin-top: 15%;height: 50%;">
                         <div class="layui-card-header">
                             <img src="../../img/console/xiexian.png" style="height: 20px;">
                             搴撳瓨璐ㄩ噺鐘舵�佸垎甯�
@@ -603,20 +603,20 @@
                 sendData(IP + "/Statistical/GetQualityStatusFb", param, 'get', function (res) {
                     if (res.code == 0) { //鎴愬姛
                         //搴撳瓨璐ㄩ噺鐘舵�佸垎甯�(楗肩姸)
-                        this.chartYuan = echarts.init(document.getElementById("yuanOrder"));
+                        var chartYuan = echarts.init(document.getElementById("yuanOrder"));
                         var option2 = {
                             tooltip: {
                                 trigger: 'item'
                             },
                             legend: {
-                                top: '5%',
+                                top: '0%',
                                 left: 'center'
                             },
                             series: [{
                                 name: '鏁伴噺',
                                 type: 'pie',
-                                radius: ['40%', '75%'],
-                                avoidLabelOverlap: false,
+                                radius: ['30%', '60%'],
+                                avoidLabelOverlap: true,//鑷姩閬垮厤閲嶅彔
                                 itemStyle: {
                                     borderRadius: 10,
                                     borderColor: '#fff',
@@ -625,12 +625,13 @@
                                 label: {
                                     show: true, // 鏄剧ず鏍囩
                                     position: 'outside', // 鏍囩浣嶇疆鍦ㄩゼ鍥惧閮�
-                                    formatter: '{b}: {c} ({d}%)' // 鏍囩鏍煎紡锛屾樉绀哄悕绉般�佸�煎拰鐧惧垎姣�
+                                    //formatter: '{b}:{c} ({d}%)' // 鏍囩鏍煎紡锛屾樉绀哄悕绉般�佸�煎拰鐧惧垎姣�
+                                    formatter: '{b}:({d}%)' // 鏍囩鏍煎紡锛屾樉绀哄悕绉般�佸�煎拰鐧惧垎姣�
                                 },
                                 labelLine: {
                                     show: true, // 鏄剧ず寮曞绾�
-                                    length: 20, // 绗竴娈靛紩瀵肩嚎鐨勯暱搴�
-                                    length2: 30 // 绗簩娈靛紩瀵肩嚎鐨勯暱搴�
+                                    // length: 20, // 绗竴娈靛紩瀵肩嚎鐨勯暱搴�
+                                    // length2: 30 // 绗簩娈靛紩瀵肩嚎鐨勯暱搴�
                                 },
                                 data: res.data.map(function (item) {
                                     return {
@@ -640,7 +641,7 @@
                                 })
                             }]
                         };
-                        this.chartYuan.setOption(option2);
+                        chartYuan.setOption(option2);
                     }
                     else { //涓嶆垚鍔�
                         layer.msg('鑾峰彇鎬婚噺鍒楄〃淇℃伅澶辫触锛�', {

--
Gitblit v1.8.0