From 38ef8cb7cefcd4b308bdefa164fb01ccbd6a0a81 Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期日, 25 四月 2021 16:57:58 +0800
Subject: [PATCH] 废水废气图表数据弹框相关修改

---
 src/components/BaseNav/WasteGas/HourData.vue |   17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/src/components/BaseNav/WasteGas/HourData.vue b/src/components/BaseNav/WasteGas/HourData.vue
index a50c62b..40d3d81 100644
--- a/src/components/BaseNav/WasteGas/HourData.vue
+++ b/src/components/BaseNav/WasteGas/HourData.vue
@@ -23,7 +23,7 @@
       </div>
       <div style="width:5rem;height:1.5rem;" id="echarts" ref="wastegashour"></div>
     </div>
-<!--    鏄庣粏寮规-->
+    <!--    鏄庣粏寮规-->
     <el-dialog :visible.sync="showSchedule"
                :modal="false"
                v-dialogDrag
@@ -276,7 +276,7 @@
             iconurl = 'image://../assets/imgs/legend/grn.png'
           } else if (nameList[l] === '娓╁害') {
             iconurl = 'image://../assets/imgs/legend/WenDu.png'
-          } else {
+          } else if (nameList[l] === '搴熸皵娴侀噺') {
             iconurl = 'image://../assets/imgs/legend/VOCs.png'
           }
 
@@ -314,18 +314,15 @@
           if (nameList[j] === '浜屾哀鍖栫~') {
             zdcbcolor = 'red'
             zxcolor = '#fff21c'
-          } else if (nameList[j] === '姘ㄦ爱') {
+          } else if (nameList[j] === '姘哀鍖栫墿') {
             zdcbcolor = 'red'
             zxcolor = '#00B0F0'
           } else if (nameList[j] === '鐑熷皹') {
             zdcbcolor = 'red'
             zxcolor = '#f48183'
-          } else if (nameList[j] === '娓╁害') {
+          } else if (nameList[j] === '搴熸皵娴侀噺') {
             zdcbcolor = 'red'
-            zxcolor = '#F206FF'
-          } else {
-            zdcbcolor = 'red'
-            zxcolor = '#9ACD32'
+            zxcolor = '#52ff3f'
           }
           const ydata = {
             name: nameList[j],
@@ -513,7 +510,7 @@
                 maker = '<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:#f48183;"></span>'
               } else if (seriesName === '娓╁害') {
                 maker = '<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:#F206FF;"></span>'
-              } else {
+              } else if (seriesName === '搴熸皵娴侀噺') {
                 maker = '<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:#4ec99c;"></span>'
               }
               s += maker + seriesName + ':' + valueFliter + '<br />'
@@ -623,7 +620,7 @@
           type: 'value',
           name: dataUnit,
           max: function (value) {
-            const ma = value.max > 120 ? value.max : 120
+            const ma = value.max > 12 ? value.max : 12
             return parseInt(ma)
           },
           axisLabel: {

--
Gitblit v1.8.0