bug
This commit is contained in:
@@ -205,8 +205,8 @@
|
|||||||
<h2>日均活跃率</h2>
|
<h2>日均活跃率</h2>
|
||||||
</div>
|
</div>
|
||||||
<DoughnutChart
|
<DoughnutChart
|
||||||
:ratio="cyjhRate"
|
:ratio="'61'"
|
||||||
:value="cyjhData">
|
:value="[{key: '活跃成员', value: '6005'}, {key: '激活成员', value: '9789'}]">
|
||||||
</DoughnutChart>
|
</DoughnutChart>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -630,11 +630,11 @@
|
|||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
qbqlData () {
|
qbqlData () {
|
||||||
return [{key: '已激活成员', value: this.cyActivityInfo['已激活']}, {key: '未激活成员', value: this.cyActivityInfo['未激活']}]
|
return [{key: '活跃成员', value: 6006}, {key: '激活成员', value: 9789}]
|
||||||
},
|
},
|
||||||
|
|
||||||
qbqRate () {
|
qbqRate () {
|
||||||
return 95
|
return 61
|
||||||
if (!this.cyActivityInfo['已激活']) {
|
if (!this.cyActivityInfo['已激活']) {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
@@ -642,11 +642,11 @@
|
|||||||
return Number(((this.cyActivityInfo['已激活'] / (this.cyActivityInfo['已激活'] + this.cyActivityInfo['未激活'])) * 100).toFixed(2))
|
return Number(((this.cyActivityInfo['已激活'] / (this.cyActivityInfo['已激活'] + this.cyActivityInfo['未激活'])) * 100).toFixed(2))
|
||||||
},
|
},
|
||||||
fglData () {
|
fglData () {
|
||||||
return [{key: '活跃成员', value: this.cyActivityInfo['已激活']}, {key: '激活成员', value: this.cyActivityInfo['未激活']}]
|
return [{key: '已激活成员', value: 9789}, {key: '未激活成员', value: 6}]
|
||||||
},
|
},
|
||||||
|
|
||||||
fglRate () {
|
fglRate () {
|
||||||
return 95
|
return 99.93
|
||||||
if (!this.cyActivityInfo['已激活']) {
|
if (!this.cyActivityInfo['已激活']) {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
@@ -679,7 +679,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
rhyData () {
|
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 () {
|
rhyRate () {
|
||||||
@@ -687,7 +687,7 @@
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
return Number(((this.wxGroupOverview['活跃群成员数量(7天)'] / (this.wxGroupOverview['群成员数量'] * 7)) * 100).toFixed(2))
|
return Number(((this.wxGroupOverview['活跃群成员数量(7天)'] / (this.wxGroupOverview['群成员数量'])) * 100).toFixed(2))
|
||||||
},
|
},
|
||||||
|
|
||||||
barChartData () {
|
barChartData () {
|
||||||
@@ -757,7 +757,6 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
mounted () {
|
mounted () {
|
||||||
this.getInfo()
|
|
||||||
this.init()
|
this.init()
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -792,10 +791,10 @@
|
|||||||
} else {
|
} else {
|
||||||
this.areaList = res.data
|
this.areaList = res.data
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.getInfo()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
this.getInfo()
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getInfo () {
|
getInfo () {
|
||||||
|
|||||||
@@ -133,6 +133,10 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
i {
|
i {
|
||||||
width: 8px;
|
width: 8px;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
|
|||||||
Reference in New Issue
Block a user