风继续吹 преди 1 година
родител
ревизия
97d305bf2a
променени са 2 файла, в които са добавени 7 реда и са изтрити 2 реда
  1. +3
    -2
      pages/index/index.vue
  2. +4
    -0
      pages/mine/equipment/index.vue

+ 3
- 2
pages/index/index.vue Целия файл

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


+ 4
- 0
pages/mine/equipment/index.vue Целия файл

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


Зареждане…
Отказ
Запис