|
|
@@ -26,12 +26,12 @@
|
|
|
<div class="vent-flex-row" v-if="!isMock">
|
|
|
<template v-if="monitorData['nwindownum'] == 1">
|
|
|
<div class="input-box"
|
|
|
- >风窗实时开度(°):<span>{{ monitorData['forntArea'] }}</span></div
|
|
|
+ >风窗实时开度(°):<span>{{ monitorData['frontArea'] }}</span></div
|
|
|
>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<div class="input-box"
|
|
|
- >前窗实时开度(°):<span>{{ monitorData['forntArea'] }}</span></div
|
|
|
+ >前窗实时开度(°):<span>{{ monitorData['frontArea'] }}</span></div
|
|
|
>
|
|
|
<div class="input-box"
|
|
|
>后窗实时开度(°):<span>{{ monitorData['rearArea'] }}</span></div
|
|
|
@@ -100,7 +100,7 @@
|
|
|
gas: string | number;
|
|
|
readTime: string;
|
|
|
fWindowM3: string | number;
|
|
|
- forntArea: string | number;
|
|
|
+ frontArea: string | number;
|
|
|
rearArea?: string | number;
|
|
|
}[]
|
|
|
>([]);
|
|
|
@@ -173,7 +173,7 @@
|
|
|
color: '#02FBA7',
|
|
|
sort: 2,
|
|
|
xRotate: 0,
|
|
|
- dataIndex: 'forntArea',
|
|
|
+ dataIndex: 'frontArea',
|
|
|
},
|
|
|
{
|
|
|
legend: sysOrgCode == 'sdmtjtswmk' ? '窗2开度' : '后窗开度',
|
|
|
@@ -215,9 +215,9 @@
|
|
|
if (props.isMock) {
|
|
|
// 这里开启风窗开度模拟
|
|
|
if (newVal['nwindownum'] == 1 && frontWindowAngle.value === undefined) {
|
|
|
- frontWindowAngle.value = newVal['forntArea'];
|
|
|
+ frontWindowAngle.value = newVal['frontArea'];
|
|
|
} else if (newVal['nwindownum'] == 2) {
|
|
|
- if (frontWindowAngle.value === undefined) frontWindowAngle.value = (newVal['forntArea'] / newVal['maxarea']) * 90;
|
|
|
+ if (frontWindowAngle.value === undefined) frontWindowAngle.value = (newVal['frontArea'] / newVal['maxarea']) * 90;
|
|
|
if (rearWindowAngle.value === undefined) rearWindowAngle.value = (newVal['rearArea'] / newVal['maxarea']) * 90;
|
|
|
}
|
|
|
if (fWindowM3.value === undefined) fWindowM3.value = Number(newVal['fWindowM3']);
|
|
|
@@ -232,7 +232,7 @@
|
|
|
gasVal: props.gasVal,
|
|
|
gas: gas.value as number,
|
|
|
readTime: newVal['readTime'].substring(11),
|
|
|
- forntArea: frontWindowAngle.value as number,
|
|
|
+ frontArea: frontWindowAngle.value as number,
|
|
|
rearArea: rearWindowAngle.value as number,
|
|
|
fWindowM3: fWindowM3.value as number,
|
|
|
},
|
|
|
@@ -247,7 +247,7 @@
|
|
|
gasVal: props.gasVal,
|
|
|
gas: gasTemp.value,
|
|
|
readTime: newVal['readTime'].substring(11),
|
|
|
- forntArea: frontWindowAngle.value as number,
|
|
|
+ frontArea: frontWindowAngle.value as number,
|
|
|
rearArea: rearWindowAngle.value as number,
|
|
|
fWindowM3: fWindowM3Temp.value,
|
|
|
},
|
|
|
@@ -260,7 +260,7 @@
|
|
|
gasVal: props.gasVal,
|
|
|
gas: newVal['gas'],
|
|
|
readTime: newVal['readTime'].substring(11),
|
|
|
- forntArea: (newVal['forntArea'] / newVal['maxarea']) * 90,
|
|
|
+ frontArea: (newVal['frontArea'] / newVal['maxarea']) * 90,
|
|
|
rearArea: (newVal['rearArea'] / newVal['maxarea']) * 90,
|
|
|
fWindowM3: newVal['fWindowM3'],
|
|
|
},
|