郫都大屏

This commit is contained in:
yanran200730
2022-07-26 15:09:39 +08:00
parent f0099ecd92
commit d85ab06f68
4 changed files with 49 additions and 13 deletions

View File

@@ -141,12 +141,9 @@
<h2>网格动态</h2>
</div>
<div class="bottom-list">
<div class="item" v-for="(item, index) in 3" :key="index">
<i>07/19 09:45</i>
<span>书院社区-张三 </span>
<em>添加居民"</em>
<span>蓝天白云</span>
<em>"为好友</em>
<div class="item" v-for="item in dynamicList" :key="item.id">
<i>{{ item.createTime }}</i>
<em>{{ item.logDescription }}</em>
</div>
</div>
</div>
@@ -261,7 +258,8 @@
tagInfo: {},
groupNumber: {},
replyPercentage: {},
groupChatNumber: {}
groupChatNumber: {},
dynamicList: []
}
},
@@ -299,6 +297,11 @@
this.replyPercentage = res.data
}
})
this.instance.post(`/app/appUserOperation/list?size=10000`).then(res => {
if (res.code === 0) {
this.dynamicList = res.data.records
}
})
this.instance.post(`/app/wxgroupstatistic/getGroupNumber`).then(res => {
if (res.code === 0) {
this.groupNumber = res.data['居民群统计']

View File

@@ -2,7 +2,7 @@
<div class="DonutChart" :id="id">
<canvas :id="canvasId"></canvas>
<div class="DonutChart-text">
<span>{{ ratio }}%</span>
<span>{{ ratio || 0 }}%</span>
<i>{{ text }}</i>
</div>
</div>