微信统计

This commit is contained in:
shijingjing
2023-01-03 09:21:18 +08:00
parent 69237e3e32
commit 2335eb476f

View File

@@ -23,7 +23,7 @@
</div>
<div class="friends_box">
<div id="friends" v-if="friendsData.length"></div>
<div id="friends" v-if="friendsData"></div>
<AiEmpty style="padding-top: 10px;" description="暂无数据" v-else></AiEmpty>
</div>
@@ -53,7 +53,7 @@
</div>
<div class="groups_box">
<div id="groups" v-if="groupsData.length"></div>
<div id="groups" v-if="groupsData"></div>
<AiEmpty style="padding-top: 10px;" description="暂无数据" v-else></AiEmpty>
</div>
</div>
@@ -96,7 +96,9 @@ export default {
this.groupsCard = res.data.居民群统计
this.groupsData = res.data.群成员数
this.groupsMonth = this.groupsData.map(e=> e.month)
// this.groupsMonth = ['2022-09','2022-10','2022-12','2023-01']
this.groupsNumber = this.groupsData.map(e=> e.totalNumber)
// this.groupsNumber = ['6','6','7','7']
this.getGroupsEcharts(this.groupsMonth,this.groupsNumber)
}
})