|
|
|
@ -162,6 +162,9 @@
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<span v-if="totalFluxFlow!==null">瞬时流量的和:{{totalFluxFlow}} t/h</span>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
@ -252,6 +255,9 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
|
|
totalFluxFlow: null, // 用于存储瞬时流量的总和
|
|
|
|
|
|
|
|
|
|
//下拉树List
|
|
|
|
|
baseMonitorInfoOptions: [],
|
|
|
|
|
//左侧树结构List
|
|
|
|
@ -375,7 +381,9 @@ export default {
|
|
|
|
|
this.queryParams.params['sensorId'] = this.queryParams.sensorId;
|
|
|
|
|
}
|
|
|
|
|
latestSteamInstantList(this.queryParams).then(response => {
|
|
|
|
|
|
|
|
|
|
this.recordSteamInstantList = response.data
|
|
|
|
|
this.totalFluxFlow = this.recordSteamInstantList.reduce((sum, item) => sum + (parseFloat(item.fluxFlow) || 0), 0);
|
|
|
|
|
this.loading = false
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
@ -398,7 +406,8 @@ export default {
|
|
|
|
|
press: null,
|
|
|
|
|
density: null,
|
|
|
|
|
differencePress: null,
|
|
|
|
|
recordTime: null
|
|
|
|
|
recordTime: null,
|
|
|
|
|
totalFluxFlow: null
|
|
|
|
|
}
|
|
|
|
|
this.resetForm('form')
|
|
|
|
|
},
|
|
|
|
|