This commit is contained in:
yanran200730
2022-09-23 09:43:35 +08:00
parent f7de989f59
commit ece325a45e

View File

@@ -32,7 +32,7 @@
</div>
</div>
</div>
<div class="chart1" style="width: 100%; height: 200px;"></div>
<div class="chart1" style="width: 100%; height: 160px;"></div>
</div>
<div class="item">
<div class="title">居民群统计</div>
@@ -72,18 +72,18 @@
<div class="item-top xf">
<div class="item-top__item">
<h2>宣发任务数</h2>
<p>{{ groupChatNumber ? groupChatNumber.chatHasMsg : 0 }}</p>
<p>{{ xfInfo.createCount || 0 }}</p>
</div>
<div class="item-top__item">
<h2>执行宣发次数</h2>
<p>{{ groupChatNumber ? groupChatNumber.memberHasMsg : 0 }}</p>
<p>{{ xfInfo.executeCount || 0 }}</p>
</div>
<div class="item-top__item">
<h2>触达人次</h2>
<p>{{ groupChatNumber ? groupChatNumber.msgTotal : 0 }}</p>
<p>{{ xfInfo.receiveCount || 0 }}</p>
</div>
</div>
<div class="chart11" style="width: 336px; height: 120px;"></div>
<div class="chart11" style="width: 336px; margin-top: 10px; height: 160px;"></div>
</div>
</div>
<div class="tab-content__item" v-show="leftIndex === 1">
@@ -263,6 +263,7 @@
groupChatNumber: {},
dynamicList: [],
rankList: [],
xfInfo: {},
pointList: []
}
},
@@ -292,9 +293,22 @@
this.pointList = res.data
}
})
this.instance.post(`app/appintegraluser/suffixWeekIntegralSort`).then(res => {
this.instance.post(`app/appintegraluser/userTotalIntegralSort`).then(res => {
if (res.code === 0) {
this.rankList = res.data
this.pointList = res.data
}
})
this.instance.post(`app/appmasssendingtask/statisticsEffectByPidu`).then(res => {
if (res.code === 0) {
this.xfInfo = res.data
this.initBarChart('.chart11', {
x: res.data.trend.map(v => v.ymd),
value: res.data.trend.map(v => v.createCount),
name: '宣发统计'
}, [
{offset: 0, color: 'rgba(25, 179, 209, 1)'},
{offset: 1, color: 'rgba(25, 179, 209, 0)'}
])
}
})
this.instance.post(`/app/wxgroupstatistic/getCustommerNumber`).then(res => {