From 7a30018e52bec34e0126411d8a7271cda93cc56e Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Fri, 9 Sep 2022 09:02:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/dv/apps/AppXyDv.vue | 42 +++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/project/dv/apps/AppXyDv.vue b/project/dv/apps/AppXyDv.vue index 07c18557..c7b27fb9 100644 --- a/project/dv/apps/AppXyDv.vue +++ b/project/dv/apps/AppXyDv.vue @@ -3,36 +3,42 @@
企微数据库
-
居民统计
+
群员统计
会话统计
-
群员统计
+
警务群统计
-

居民好友

+

居民群

- {{ residentInfo.customerTotal || 0 }} + {{ groupNumber.groupSum || 0 }} +
+
+
+

群成员

+
+ {{ groupNumber.totalSum || 0 }}

昨日新增

- {{ residentInfo.addCustomerCount || 0 }} + {{ groupNumber.increaseSum || 0 }}

昨日流失

- {{ residentInfo.removeCustomerCount || 0 }} + {{ groupNumber.decreaseSum || 0 }}
-
+
各局统计
@@ -312,16 +318,16 @@ this.rankList = res.data } }) - this.instance.post(`/app/wxgroupstatistic/getCustommerNumber`).then(res => { - if (res.code === 0) { - this.residentInfo = res.data['居民统计'] - this.initLineChart('.chart1', { - x: res.data['居民好友数'].map(v => v.month), - value: res.data['居民好友数'].map(v => v.totalNumber), - name: '居民好友' - }) - } - }) + // this.instance.post(`/app/wxgroupstatistic/getCustommerNumber`).then(res => { + // if (res.code === 0) { + // this.residentInfo = res.data['居民统计'] + // this.initLineChart('.chart1', { + // x: res.data['居民好友数'].map(v => v.month), + // value: res.data['居民好友数'].map(v => v.totalNumber), + // name: '居民好友' + // }) + // } + // }) this.instance.post(`/app/wxgroupstatistic/replyPercentage`).then(res => { if (res.code === 0) { this.replyPercentage = res.data @@ -400,7 +406,7 @@ }, getGridInfo (e) { - if (this.level === 2 && !this.isChoose) { + if (e.level === 2 && !this.isChoose) { this.isChoose = true } if (e.level === 4) return