From 97d305bf2ab3a34830e12152b31c46724a9eb20a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E7=BB=A7=E7=BB=AD=E5=90=B9?= <17611323298@163.com> Date: Wed, 8 Mar 2023 10:54:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 5 +++-- pages/mine/equipment/index.vue | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 66eae83..1cdb1f3 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -106,8 +106,8 @@ 在线 - {{equipmentobj.activeNum || 0}} - 活跃 + {{equipmentobj.fileCount || 0}} + 待上传文件 {{equipmentobj.lowPowerNum || 0}} @@ -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, diff --git a/pages/mine/equipment/index.vue b/pages/mine/equipment/index.vue index de34e11..3adde9d 100644 --- a/pages/mine/equipment/index.vue +++ b/pages/mine/equipment/index.vue @@ -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