28652
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
<div class="progress">
|
||||
<div class="item" v-for="(item, index) in logList" :key="index">
|
||||
<h2>{{ item.createUserName }}</h2>
|
||||
<el-progress :percentage="item.finishRate * 100"></el-progress>
|
||||
<el-progress :percentage="item.finishRate"></el-progress>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -203,7 +203,12 @@
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.logList = res.data.records
|
||||
this.logList = res.data.records.map(v => {
|
||||
return {
|
||||
...v,
|
||||
finishRate: (v.finishRate * 100).toFixed(1)
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user