|
@@ -74,7 +74,7 @@
|
|
|
</div>
|
|
|
<!-- 左边监测数据 -->
|
|
|
<div class="lr-box left-box">
|
|
|
- <ventBox1>
|
|
|
+ <ventBox1 v-if="monitorData[0]['deviceType'] == 'nitrogen_auto'">
|
|
|
<template #title>
|
|
|
<div>注氮机监测</div>
|
|
|
</template>
|
|
@@ -246,9 +246,10 @@ async function getDataSource(systemID) {
|
|
|
const res = await getDevice({ devicetype: 'sys', systemID, type: 'all' });
|
|
|
if (res) {
|
|
|
const result = res;
|
|
|
+ // let result = ceshi.result
|
|
|
if (!result || result.msgTxt.length < 1) return;
|
|
|
result.msgTxt.forEach((item) => {
|
|
|
- if (item.type && item.type.startsWith('nitrogen')) {
|
|
|
+ if (item.type && item.type.startsWith('sys')) {
|
|
|
airCompressorState.length = 0;
|
|
|
// let netStatus = 0;
|
|
|
// monitorData.value = Object.assign(item['datalist'][0], item['datalist'][0]['readData']);
|