Browse Source

[Fix] 石圪台-光纤测温曲线优化

hongrunxia 1 month ago
parent
commit
068cc83626

+ 3 - 9
src/views/vent/monitorManager/deviceMonitor/components/device/modal/fiber.modal.hlg.vue

@@ -41,13 +41,7 @@
         <div class="right-bottom">
           <span class="base-title">测点监测曲线</span>
           <div class="echarts-box">
-            <BarAndLine
-              xAxisPropType="Section_AlarmTemp"
-              :dataSource="posList1"
-              height="100%"
-              :chartsColumns="chartsColumns"
-              :option="echatsOption"
-            />
+            <BarAndLine xAxisPropType="Section_Position" :dataSource="posList1" height="100%" :chartsColumns="chartsColumns" :option="echatsOption" />
           </div>
         </div>
       </div>
@@ -97,7 +91,7 @@
 
       const chartsColumns = [
         {
-          legend: '测点报警温度',
+          legend: '最高温度',
           seriesName: '(℃)',
           ymax: 100,
           yname: '℃',
@@ -720,7 +714,7 @@
                   isWarn: isWarn,
                 });
                 posList1.push({
-                  Section_AlarmTemp: `${item.readData[`Section${index}_BeginPosition`]}-${item.readData[`Section${index}_EndPosition`]}m`,
+                  Section_Position: `${item.readData[`Section${index}_BeginPosition`]}-${item.readData[`Section${index}_EndPosition`]}m`,
                   value: item.readData[`Section${index}_MaxTemp`],
                 });
                 if (parseFloat(item.readData[`Section${index}_MaxTemp`]) > maxTemp.value) {