|
@@ -134,9 +134,9 @@
|
|
|
<div class="datacardtime" v-if="item.monitorcode == 'readTime'">
|
|
|
<view
|
|
|
class="demo-layout bg-purple-light"
|
|
|
- style="margin-top: 10rpx; color: #3787fe"
|
|
|
+ style="padding: 20rpx; color: #3787fe"
|
|
|
>
|
|
|
- {{ tableData[item.monitorcode] }}
|
|
|
+ {{ readTime }}
|
|
|
</view>
|
|
|
</div>
|
|
|
<div class="datacard" v-if="item.monitorcode !== 'readTime'">
|
|
@@ -155,6 +155,20 @@
|
|
|
}}
|
|
|
</view>
|
|
|
<view
|
|
|
+ v-else-if="item.monitorcode == 'netStatus'"
|
|
|
+ class="demo-layout bg-purple-light"
|
|
|
+ style="margin-top: 10rpx; color: #3787fe"
|
|
|
+ >
|
|
|
+ {{ doorNetStatus == "1" ? "正常" : "异常" }}
|
|
|
+ </view>
|
|
|
+ <view
|
|
|
+ v-else-if="item.monitorcode == 'warnFlag'"
|
|
|
+ class="demo-layout bg-purple-light"
|
|
|
+ style="margin-top: 10rpx; color: #3787fe"
|
|
|
+ >
|
|
|
+ {{ warnFlag == "1" ? "正常" : "异常" }}
|
|
|
+ </view>
|
|
|
+ <view
|
|
|
v-else
|
|
|
class="demo-layout bg-purple-light"
|
|
|
style="margin-top: 10rpx; color: #3787fe"
|
|
@@ -280,6 +294,9 @@ export default {
|
|
|
frontGateStatus: "", //前门状态
|
|
|
rearGateStatus: "", //后门状态
|
|
|
midGateStatus: "", //状态
|
|
|
+ doorNetStatus: "", //风门通信状态
|
|
|
+ warnFlag: "", //风门报警
|
|
|
+ readTime: "", //时间
|
|
|
windowAngle: 0, //前窗打开角度
|
|
|
windowAngle1: 0, //后窗打开角度
|
|
|
windowArea: "", //风窗面积设定值
|
|
@@ -386,6 +403,9 @@ export default {
|
|
|
this.frontGateStatus = this.tableData.frontGateOpen;
|
|
|
this.midGateStatus = this.tableData.midGateOpen;
|
|
|
this.rearGateStatus = this.tableData.rearGateOpen;
|
|
|
+ this.doorNetStatus = result.netStatus;
|
|
|
+ this.warnFlag = result.warnLevel_str;
|
|
|
+ this.readTime = result.readTime;
|
|
|
var maxarea = result.maxarea;
|
|
|
this.windowAngle =
|
|
|
(this.tableData.forntArea / maxarea) * 100 * 0.9;
|