|
@@ -21,14 +21,14 @@
|
|
|
<div class="monitor-item">
|
|
|
<span class="monitor-title">累计流量:</span>
|
|
|
<span class="monitor-val"
|
|
|
- ><span class="val">{{ monitorData[groupNum - 1]['FluxTotal1'] ? parseFloat(monitorData[groupNum - 1]['FluxTotal1']).toFixed(2) : '-' }}</span
|
|
|
+ ><span class="val">{{ monitorData[groupNum - 1]['FluxTotal1'] ? monitorData[groupNum - 1]['FluxTotal1'] ? parseFloat(monitorData[groupNum - 1]['FluxTotal1']).toFixed(2) : '-' : '-' }}</span
|
|
|
><span class="unit">m³/h</span></span
|
|
|
>
|
|
|
</div>
|
|
|
<div class="monitor-item">
|
|
|
<span class="monitor-title">氮气纯度:</span>
|
|
|
<span class="monitor-val"
|
|
|
- ><span class="val">{{ monitorData[groupNum - 1]['NitrogenPurity'] ? parseFloat(monitorData[groupNum - 1]['NitrogenPurity']).toFixed(2) : '-' }}</span
|
|
|
+ ><span class="val">{{ monitorData[groupNum - 1]['NitrogenPurity'] ? monitorData[groupNum - 1]['NitrogenPurity'] ? parseFloat(monitorData[groupNum - 1]['NitrogenPurity']).toFixed(2) : '-' : '-' }}</span
|
|
|
><span class="unit">%</span></span
|
|
|
>
|
|
|
</div>
|
|
@@ -75,7 +75,7 @@
|
|
|
<span class="state-title">{{ Object.values(data)[0] }} :</span>
|
|
|
<span class="state-val">{{
|
|
|
(monitorData.length > 0 && monitorData[groupNum - 1][Object.keys(data)[0]]) >= 0
|
|
|
- ? parseFloat(monitorData[groupNum - 1][Object.keys(data)[0]]).toFixed(2)
|
|
|
+ ? monitorData[groupNum - 1][Object.keys(data)[0]] ? parseFloat(monitorData[groupNum - 1][Object.keys(data)[0]]).toFixed(2) : '-'
|
|
|
: '-'
|
|
|
}}</span>
|
|
|
</div>
|
|
@@ -83,7 +83,7 @@
|
|
|
<span class="state-title">{{ Object.values(data)[1] }} :</span>
|
|
|
<span class="state-val">{{
|
|
|
(monitorData.length > 0 && monitorData[groupNum - 1][Object.keys(data)[1]]) >= 0
|
|
|
- ? parseFloat(monitorData[groupNum - 1][Object.keys(data)[1]]).toFixed(2)
|
|
|
+ ? monitorData[groupNum - 1][Object.keys(data)[1]] ? parseFloat(monitorData[groupNum - 1][Object.keys(data)[1]]).toFixed(2) : '-'
|
|
|
: '-'
|
|
|
}}</span>
|
|
|
</div>
|