This commit is contained in:
yanran200730
2022-07-22 14:01:33 +08:00
parent db07381bbd
commit 74c47dcba0

View File

@@ -88,9 +88,9 @@
<div class="item">
<div class="title">消息回复率</div>
<div class="item-top DonutChart-wrapper">
<DonutChart v-if="leftIndex === 1" :ratio="100" text="昨日"></DonutChart>
<DonutChart v-if="leftIndex === 1" :ratio="25" text="近7天"></DonutChart>
<DonutChart v-if="leftIndex === 1" :ratio="50" text="近1个月"></DonutChart>
<DonutChart v-if="leftIndex === 1" :ratio="replyPercentage.yestodaySum" text="昨日"></DonutChart>
<DonutChart v-if="leftIndex === 1" :ratio="replyPercentage.weekSum" text="近7天"></DonutChart>
<DonutChart v-if="leftIndex === 1" :ratio="replyPercentage.monthSum" text="近1个月"></DonutChart>
</div>
</div>
<div class="item">
@@ -260,6 +260,7 @@
residentInfo: {},
tagInfo: {},
groupNumber: {},
replyPercentage: {},
groupChatNumber: {}
}
},
@@ -293,6 +294,11 @@
})
}
})
this.instance.post(`/app/wxgroupstatistic/replyPercentage`).then(res => {
if (res.code === 0) {
this.replyPercentage = res.data
}
})
this.instance.post(`/app/wxgroupstatistic/getGroupNumber`).then(res => {
if (res.code === 0) {
this.groupNumber = res.data['居民群统计']