修复配置升级进度查询异常

This commit is contained in:
2026-01-05 10:54:44 +08:00
parent 3852e6ac20
commit dfc04867c7
4 changed files with 16 additions and 6 deletions

View File

@@ -127,9 +127,15 @@ bindtouchend="handleTouchEnd" style="margin-top: 20rpx;">
<checkbox style="top:25%;" checked="{{devlist[index].checkbox}}" ></checkbox>
</view>
<view class="cubarN bg-white flex-9" data-id ="{{index}}" bindtap="HideOrOpen" style="background:{{devlist[index].UpgradeStatus ==0? 'white':devlist[index].UpgradeStatus ==1? 'green':'red' }} ;">
<view class="flex-9" style="font-weight: bold;" >房号:{{devlist[index].RoomNumber}}</view>
<view class="flex-sub text-{{devlist[index].Status==true? 'green':'red'}}" >{{devlist[index].Status==true? "在线":"离线"}}</view>
<view class="flex-5" style="font-weight: bold;" >房号:{{devlist[index].RoomNumber}}</view>
<view class="flex flex-xis">
<view class="flex-xis" >
<view wx:if="{{CurrentUpgradeDev==devlist[index].RoomNumber}}">{{UpgradeType=='firmware'? '固件':'配置'}}升级:{{CurrentUpgradeDevStart}}</view>
</view>
<view class="flex-sub text-{{devlist[index].Status==true? 'green':'red'}}" >{{devlist[index].Status==true? "在线":"离线"}}</view>
</view>
</view>
</view>
<view class="cubarN bg-white" > <!-- wx:if="{{devlist[index].show==0}}"> -->