优化
This commit is contained in:
parent
b944d7d404
commit
ed7172adbb
@ -43,15 +43,21 @@
|
||||
v-html="i.target">
|
||||
</div>
|
||||
<div class="jindu">
|
||||
<el-progress type="circle"
|
||||
<el-progress v-if='i.taskDtos.length !== 0' type="circle"
|
||||
:width='50'
|
||||
:stroke-width='4'
|
||||
:percentage="Math.round((i.processRate * 100) * 1000) / 1000 "></el-progress>
|
||||
<el-button type="text"
|
||||
<el-button v-if='i.taskDtos.length !== 0' type="text"
|
||||
@click="handleLookProcess(i.id)"
|
||||
size="mini">
|
||||
查看任务
|
||||
</el-button>
|
||||
<el-button v-if='i.taskDtos.length === 0' type="text"
|
||||
@click="handleLookProcess(i.id)"
|
||||
size="mini">
|
||||
暂无任务<br/>去添加
|
||||
</el-button>
|
||||
|
||||
</div>
|
||||
<div class="kaohe pre" style="justify-content: flex-start;">
|
||||
<pre>
|
||||
@ -298,7 +304,6 @@ export default {
|
||||
return Object.assign({}, res.data, { detailId: id })
|
||||
},
|
||||
async handleLookProcess (item) {
|
||||
console.log(item)
|
||||
this.taskInfo = {}
|
||||
let result = await this.handleGetTaskDetail(item)
|
||||
if (!result) return {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user