This commit is contained in:
yanran200730
2022-03-29 09:39:51 +08:00
parent 34631c0668
commit 45a1f53627
2 changed files with 36 additions and 24 deletions

View File

@@ -42,9 +42,9 @@
<template #content>
<div class="progress-wrapper">
<div class="progress">
<div class="item" v-for="(item, index) in 10" :key="index">
<h2>网格</h2>
<el-progress :percentage="99"></el-progress>
<div class="item" v-for="(item, index) in logList" :key="index">
<h2>{{ item.createUserName }}</h2>
<el-progress :percentage="item.finishRate * 100"></el-progress>
</div>
</div>
</div>
@@ -155,6 +155,7 @@
dictName: '大于0次',
dictValue: '1'
}],
logList: [],
info: {},
ids: [],
total: 10,
@@ -190,10 +191,24 @@
this.getList()
})
this.getTotal()
this.getLogCount()
},
methods: {
getList() {
this.instance.post(`/app/statistics/preventionreturntopoverty/queryPreventionPovertyLogCount`, null, {
params: {
size: 15,
current: 1
}
}).then(res => {
if (res.code == 0) {
this.logList = res.data.records
}
})
},
getLogCount() {
this.instance.post(`/app/apppreventionreturntopovertylog/service-rating-list`, null, {
params: {
...this.search
@@ -290,8 +305,10 @@
}
h2 {
margin-right: 10px;
width: 90px;
margin-right: 30px;
font-size: 14px;
text-align: right;
color: #333;
}
}