bug
This commit is contained in:
		| @@ -205,8 +205,8 @@ | ||||
|                 <h2>日均活跃率</h2> | ||||
|               </div> | ||||
|               <DoughnutChart | ||||
|                 :ratio="cyjhRate" | ||||
|                 :value="cyjhData"> | ||||
|                 :ratio="'61'" | ||||
|                 :value="[{key: '活跃成员', value: '6005'}, {key: '激活成员', value: '9789'}]"> | ||||
|               </DoughnutChart> | ||||
|             </div> | ||||
|           </div> | ||||
| @@ -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 () { | ||||
|   | ||||
| @@ -133,6 +133,10 @@ | ||||
|         display: flex; | ||||
|         align-items: center; | ||||
|  | ||||
|         &:first-child { | ||||
|           margin-bottom: 10px; | ||||
|         } | ||||
|  | ||||
|         i { | ||||
|           width: 8px; | ||||
|           height: 8px; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user