From b1f62f868b78cb2d54e9b932ff1abfab3cab0c73 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 26 Apr 2023 18: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 --- packages/bigscreen/dv/AppQxnDv.vue | 194 +++++++++-------------------- 1 file changed, 57 insertions(+), 137 deletions(-) diff --git a/packages/bigscreen/dv/AppQxnDv.vue b/packages/bigscreen/dv/AppQxnDv.vue index 6b6a1801..473b1371 100644 --- a/packages/bigscreen/dv/AppQxnDv.vue +++ b/packages/bigscreen/dv/AppQxnDv.vue @@ -205,10 +205,31 @@
-
-

群动态概况

+
+

群总数

- 726,079 + {{ wxGroupOverview['群数量'] }} + +
+
+
+

群主人数

+
+ {{ wxGroupOverview['群主人数'] }} + +
+
+
+

群人员活跃数(30天)

+
+ {{ wxGroupOverview['群人员活跃度(30天)'] }} + +
+
+
+

群消息数(30天)

+
+ {{ wxGroupOverview['群消息数(30天)'] }}
@@ -218,13 +239,19 @@

群活跃率(7日)

- + +
-

人员活跃(7日)

+

成员活跃(7日)

- + +
@@ -234,25 +261,12 @@
- { - return { - color: '#d0e1e8', - textAlign: '', - width: index === 0 ? '100' : '', - fontSize: '14px', - flex: '' - } - }) + qhyData () { + return [{key: '活跃居民群', value: this.wxGroupOverview['活跃居民群数量(7天)']}, {key: '全部居民群', value: this.wxGroupOverview['群数量']}] + }, + + qhyRate () { + if (!this.wxGroupOverview['活跃居民群数量(7天)']) { + return 0 + } + + return Number(((this.wxGroupOverview['活跃居民群数量(7天)'] / (this.wxGroupOverview['群数量'] * 7)) * 100).toFixed(2)) + }, + + rhyData () { + return [{key: '活跃成员', value: this.wxGroupOverview['活跃群成员数量(7天)']}, {key: '群成员', value: this.wxGroupOverview['群成员数量']}] + }, + + rhyRate () { + if (!this.wxGroupOverview['群成员数量']) { + return 0 + } + + return Number(((this.wxGroupOverview['活跃群成员数量(7天)'] / (this.wxGroupOverview['群成员数量'] * 7)) * 100).toFixed(2)) }, tableList () {