任务删除
This commit is contained in:
parent
07ed5286a3
commit
7497e35923
|
|
@ -26,6 +26,8 @@
|
|||
<el-tag type="danger" v-if="task.state=='3'">失败</el-tag>
|
||||
</div>
|
||||
<div class="handler">
|
||||
<el-button v-if="task.state=='2'" type="danger" circle icon="el-icon-delete"
|
||||
@click="remove(task)"></el-button>
|
||||
<el-button v-if="task.state=='2'" type="primary" circle icon="el-icon-download"
|
||||
@click="download(task)"></el-button>
|
||||
</div>
|
||||
|
|
@ -100,6 +102,10 @@ function download(row) {
|
|||
a.click()
|
||||
document.body.removeChild(a)
|
||||
}
|
||||
|
||||
function remove(row) {
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue