Browse Source

修改搜索

master
风继续吹 1 year ago
parent
commit
97d305bf2a
2 changed files with 7 additions and 2 deletions
  1. +3
    -2
      pages/index/index.vue
  2. +4
    -0
      pages/mine/equipment/index.vue

+ 3
- 2
pages/index/index.vue View File

@@ -106,8 +106,8 @@
<view class="shebenchetext">在线</view>
</view>
<view class="shebenche" @click="tapjumpequipment(3)">
<view class="shebenchenum">{{equipmentobj.activeNum || 0}}</view>
<view class="shebenchetext">活跃</view>
<view class="shebenchenum" style="color: red;">{{equipmentobj.fileCount || 0}}</view>
<view class="shebenchetext">待上传文件</view>
</view>
<view class="shebenche" @click="tapjumpequipment(2)">
<view class="shebenchenum" style="color: red;">{{equipmentobj.lowPowerNum || 0}}</view>
@@ -708,6 +708,7 @@
return
} else {
this.equipmentobj = {
...data.data.data,
totalNum: data.data.data.totalNum,
onlineNum: data.data.data.onlineNum,
activeNum: data.data.data.activeNum,


+ 4
- 0
pages/mine/equipment/index.vue View File

@@ -103,6 +103,9 @@
},
{
name: "离线(0)",
},
{
name: '待上传(0)'
}
],
activeClass: 0,
@@ -205,6 +208,7 @@
this.tablist[2].name="低电量("+res.lowElectricityCount+")";
this.tablist[3].name="今日活跃("+res.activeCount+")";
this.tablist[4].name="离线("+res.eqOffLineCount+")";
this.tablist[5].name="离线("+res.fileCount+")";
if(res.obj.list.results==null){
if (this.pageNum == 1){
return


Loading…
Cancel
Save