Browse Source

锦界煤矿束管日报修改

bobo04052021@163.com 5 days ago
parent
commit
9fdc6196d9

+ 23 - 4
src/views/vent/bundle/bundleMonitorTable/index.vue

@@ -795,91 +795,109 @@ function updateChart(data: any) {
             name: 'O₂最大值',
             data: o2MaxValues,
             type: 'bar',
+            yAxisIndex: 0,
           },
           {
             name: 'O₂最小值',
             data: o2MinValues,
             type: 'bar',
+            yAxisIndex: 0,
           },
           {
             name: 'O₂平均值',
             data: o2AveValues,
             type: 'bar',
+            yAxisIndex: 0,
           },
           {
             name: 'CO最大值',
             data: coMaxValues,
             type: 'bar',
+            yAxisIndex: 1,
           },
           {
             name: 'CO最小值',
             data: coMinValues,
             type: 'bar',
+            yAxisIndex: 1,
           },
           {
             name: 'CO平均值',
             data: coAveValues,
             type: 'bar',
+            yAxisIndex: 1,
           },
           {
             name: 'CO₂最大值',
             data: co2MaxValues,
             type: 'bar',
+            yAxisIndex: 0,
           },
           {
             name: 'CO₂最小值',
             data: co2MinValues,
             type: 'bar',
+            yAxisIndex: 0,
           },
           {
             name: 'CO₂平均值',
             data: co2AveValues,
             type: 'bar',
+            yAxisIndex: 0,
           },
           {
             name: 'CH₄最大值',
             data: ch4MaxValues,
             type: 'bar',
+            yAxisIndex: 1,
           },
           {
             name: 'CH₄最小值',
             data: ch4MinValues,
             type: 'bar',
+            yAxisIndex: 1,
           },
           {
             name: 'CH₄平均值',
             data: ch4AveValues,
             type: 'bar',
+            yAxisIndex: 1,
           },
           {
             name: 'C₂H₄最大值',
             data: c2h4MaxValues,
             type: 'bar',
+            yAxisIndex: 1,
           },
           {
             name: 'C₂H₄最小值',
             data: c2h4MinValues,
             type: 'bar',
+            yAxisIndex: 1,
           },
           {
             name: 'C₂H₄平均值',
             data: c2h4AveValues,
             type: 'bar',
+            yAxisIndex: 1,
           },
           {
             name: 'C₂H₂最大值',
             data: c2h2MaxValues,
             type: 'bar',
+            yAxisIndex: 1,
           },
           {
             name: 'C₂H₂最小值',
             data: c2h2MinValues,
             type: 'bar',
+            yAxisIndex: 1,
           },
           {
             name: 'C₂H₂平均值',
             data: c2h2AveValues,
             type: 'bar',
+            yAxisIndex: 1,
           },
         ];
       default:
@@ -969,7 +987,6 @@ function updateChart(data: any) {
   };
 
   const seriesConfig = getSeriesConfig(sysOrgCode);
-
   const option = {
     tooltip: {
       trigger: 'axis',
@@ -1012,8 +1029,8 @@ function updateChart(data: any) {
     yAxis: [
       {
         type: 'value',
-        max: 100,
-        name: 'O₂/N₂',
+        max: 25,
+        name: '%',
         splitLine: { show: true, lineStyle: { color: 'rgba(28, 72, 105, 0.5)' } },
         axisLabel: {
           color: '#ffffff',
@@ -1021,7 +1038,9 @@ function updateChart(data: any) {
       },
       {
         type: 'value',
-        name: '其他气体',
+        min: 0,
+        max: 25,
+        name: 'ppm',
         splitLine: { show: true, lineStyle: { color: 'rgba(21,80,126,.5)' } },
         axisLabel: {
           color: '#ffffff',

File diff suppressed because it is too large
+ 612 - 661
src/views/vent/monitorManager/fanLocalMonitor/index.vue


Some files were not shown because too many files changed in this diff