wx-program
sunmeng 2024-08-21 11:25:26 +08:00
parent 1f179d9ded
commit c1392d7077
1 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@
<!-- 通风窗 --> <!-- 通风窗 -->
<view class="content" v-if="purviewList.indexOf('19')!=-1"> <view class="content" v-if="purviewList.indexOf('19')!=-1">
<template v-for="(item,index) in airWindowList"> <template v-for="(item,index) in airWindowList" v-show="item.airWindowState != 0">
<!-- v-show="item.airWindowState != 0" --> <!-- -->
<view class="lishui-item" :key="index"> <view class="lishui-item" :key="index">
<view class="lishui-title"> <view class="lishui-title">
<view class="title-left"> <view class="title-left">
@ -2514,12 +2514,12 @@
// //
if(this.purviewList.indexOf('19') != -1){ if(this.purviewList.indexOf('19') != -1){
this.airWindowList.forEach((el,index)=>{ this.airWindowList.forEach((el,index)=>{
if(el.childId == '8'){ if(el.id == '8'){
el.airWindowState = res.data[1188]?res.data[1188]:0; el.airWindowState = res.data[1188]?res.data[1188]:0;
el.progress = res.data[1190]; el.progress = res.data[1190];
el.statusProgress = res.data[1189] el.statusProgress = res.data[1189]
el.pid = res.data[1194] el.pid = res.data[1194]
}else if(el.childId == '9'){ }else if(el.id == '9'){
el.airWindowState = res.data[1191]?res.data[1191]:0; el.airWindowState = res.data[1191]?res.data[1191]:0;
el.progress = res.data[1193]; el.progress = res.data[1193];
el.statusProgress = res.data[1192] el.statusProgress = res.data[1192]