|
@@ -105,6 +105,35 @@
|
|
|
</template>
|
|
|
</ventBox1>
|
|
|
</div>
|
|
|
+ <div class="item item-l">
|
|
|
+ <ventBox1 class="vent-margin-t-10">
|
|
|
+ <template #title>
|
|
|
+ <div>下风测详情</div>
|
|
|
+ </template>
|
|
|
+ <template #container>
|
|
|
+ <div class="monitor-box">
|
|
|
+ <div class="state-item" v-for="(data, index) in downWindData" :key="index">
|
|
|
+ <div class="item-col">
|
|
|
+ <span class="state-title">{{ Object.values(data)[0] }} :</span>
|
|
|
+ <span class="state-val">{{
|
|
|
+ (monitorData.length > 0 && monitorData[0][Object.keys(data)[0]]) >= 0
|
|
|
+ ? monitorData[0][Object.keys(data)[0]] ? parseFloat(monitorData[0][Object.keys(data)[0]]).toFixed(2) : '-'
|
|
|
+ : '-'
|
|
|
+ }}</span>
|
|
|
+ </div>
|
|
|
+ <div class="item-col" v-if="Object.keys(data)[1]">
|
|
|
+ <span class="state-title">{{ Object.values(data)[1] }} :</span>
|
|
|
+ <span class="state-val">{{
|
|
|
+ (monitorData.length > 0 && monitorData[0][Object.keys(data)[1]]) >= 0
|
|
|
+ ? monitorData[0][Object.keys(data)[1]] ? parseFloat(monitorData[0][Object.keys(data)[1]]).toFixed(2) : '-'
|
|
|
+ : '-'
|
|
|
+ }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </ventBox1>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<!-- 右边控制状态 -->
|
|
|
<div class="lr-box right-box">
|
|
@@ -245,6 +274,16 @@ const deviceParameterData = [
|
|
|
AirCompressor_LoadTime: '加载时间(h)',
|
|
|
},
|
|
|
];
|
|
|
+const downWindData = [
|
|
|
+ {
|
|
|
+ o2Val: '下风侧氧气(%)',
|
|
|
+ temperature: '下风测温度(℃)',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ fumes: '下风测烟雾(%)',
|
|
|
+ },
|
|
|
+];
|
|
|
+
|
|
|
const propTypeArr = ref([])
|
|
|
const chartsColumns = ref([])
|
|
|
watch(monitorDataGroupNum, () => {
|
|
@@ -324,8 +363,6 @@ async function getDataSource(systemID) {
|
|
|
const res = await getDevice({ devicetype: 'sys', systemID, type: 'all' });
|
|
|
console.log(res, 'res---------------');
|
|
|
|
|
|
-
|
|
|
-
|
|
|
if (res) {
|
|
|
const result =res;
|
|
|
if (!result || result.msgTxt.length < 1) return;
|