|
|
@@ -17,7 +17,7 @@
|
|
|
<van-tabs @click="tabActiveHandler">
|
|
|
<van-tab name="smokeCheck" title="烟感" :badge="smokeCheckBadge"></van-tab>
|
|
|
<van-tab name="gasCheck" title="燃气" :badge="gasCheckBadge"></van-tab>
|
|
|
- <van-tab name="temperatureAndHumidityCHeck" title="温湿度" :badge="temperatureAndHumidityCHeckBadge"></van-tab>
|
|
|
+ <van-tab name="temperatureAndHumidityCheck" title="温湿度" :badge="temperatureAndHumidityCheckBadge"></van-tab>
|
|
|
</van-tabs>
|
|
|
</van-col>
|
|
|
<van-col span="12" class="customVanCell">
|
|
|
@@ -61,7 +61,7 @@ export default {
|
|
|
},
|
|
|
smokeCheckBadge: null,
|
|
|
gasCheckBadge: null,
|
|
|
- temperatureAndHumidityCHeckBadge: null,
|
|
|
+ temperatureAndHumidityCheckBadge: null,
|
|
|
totalCount: null,
|
|
|
alarmCount: null,
|
|
|
dataInfo:{},
|
|
|
@@ -127,9 +127,9 @@ export default {
|
|
|
}
|
|
|
|
|
|
if (r.data.temperatureAndHumidityAlarmCount){
|
|
|
- this.temperatureAndHumidityCHeckBadge=r.data.temperatureAndHumidityAlarmCount > 99 ? '99+' : r.data.temperatureAndHumidityAlarmCount;
|
|
|
+ this.temperatureAndHumidityCheckBadge=r.data.temperatureAndHumidityAlarmCount > 99 ? '99+' : r.data.temperatureAndHumidityAlarmCount;
|
|
|
}else {
|
|
|
- this.temperatureAndHumidityCHeckBadge = null;
|
|
|
+ this.temperatureAndHumidityCheckBadge = null;
|
|
|
}
|
|
|
|
|
|
this.tabActiveHandler(this.tabName);
|
|
|
@@ -144,7 +144,7 @@ export default {
|
|
|
this.totalCount = this.dataInfo.gasCount;
|
|
|
this.alarmCount = this.dataInfo.gasAlarmCount;
|
|
|
this.search.deviceType = "41885";
|
|
|
- }else if (name === "temperatureAndHumidityCHeck"){
|
|
|
+ }else if (name === "temperatureAndHumidityCheck"){
|
|
|
this.totalCount = this.dataInfo.temperatureAndHumidityCount;
|
|
|
this.alarmCount = this.dataInfo.temperatureAndHumidityAlarmCount;
|
|
|
this.search.deviceType = "4183";
|