diff --git a/packages/bigscreen/dv/AppQxnDv.vue b/packages/bigscreen/dv/AppQxnDv.vue index b12cc9a4..62eff9c1 100644 --- a/packages/bigscreen/dv/AppQxnDv.vue +++ b/packages/bigscreen/dv/AppQxnDv.vue @@ -205,8 +205,8 @@

日均活跃率

+ :ratio="'61'" + :value="[{key: '活跃成员', value: '6005'}, {key: '激活成员', value: '9789'}]"> @@ -630,11 +630,11 @@ computed: { qbqlData () { - return [{key: '已激活成员', value: this.cyActivityInfo['已激活']}, {key: '未激活成员', value: this.cyActivityInfo['未激活']}] + return [{key: '活跃成员', value: 6006}, {key: '激活成员', value: 9789}] }, qbqRate () { - return 95 + return 61 if (!this.cyActivityInfo['已激活']) { return 0 } @@ -642,11 +642,11 @@ return Number(((this.cyActivityInfo['已激活'] / (this.cyActivityInfo['已激活'] + this.cyActivityInfo['未激活'])) * 100).toFixed(2)) }, fglData () { - return [{key: '活跃成员', value: this.cyActivityInfo['已激活']}, {key: '激活成员', value: this.cyActivityInfo['未激活']}] + return [{key: '已激活成员', value: 9789}, {key: '未激活成员', value: 6}] }, fglRate () { - return 95 + return 99.93 if (!this.cyActivityInfo['已激活']) { return 0 } @@ -679,7 +679,7 @@ }, rhyData () { - return [{key: '活跃成员', value: this.wxGroupOverview['活跃群成员数量(7天)']}, {key: '群成员 ', value: this.wxGroupOverview['群成员数量']}] + return [{key: '活跃成员', value: (this.wxGroupOverview['活跃群成员数量(7天)'] / 7).toFixed(0)}, {key: '群成员 ', value: (this.wxGroupOverview['群成员数量'] / 7).toFixed(0)}] }, rhyRate () { @@ -687,7 +687,7 @@ return 0 } - return Number(((this.wxGroupOverview['活跃群成员数量(7天)'] / (this.wxGroupOverview['群成员数量'] * 7)) * 100).toFixed(2)) + return Number(((this.wxGroupOverview['活跃群成员数量(7天)'] / (this.wxGroupOverview['群成员数量'])) * 100).toFixed(2)) }, barChartData () { @@ -757,7 +757,6 @@ }, mounted () { - this.getInfo() this.init() }, @@ -792,10 +791,10 @@ } else { this.areaList = res.data } + + this.getInfo() } }) - - this.getInfo() }, getInfo () { diff --git a/packages/bigscreen/dv/components/DoughnutChart.vue b/packages/bigscreen/dv/components/DoughnutChart.vue index 253b562b..51935d3e 100644 --- a/packages/bigscreen/dv/components/DoughnutChart.vue +++ b/packages/bigscreen/dv/components/DoughnutChart.vue @@ -133,6 +133,10 @@ display: flex; align-items: center; + &:first-child { + margin-bottom: 10px; + } + i { width: 8px; height: 8px;