域名解析任务列表中增加集群解析页面链接/在域名解析--集群详情中显示正在执行的任务

This commit is contained in:
刘祥超
2021-09-21 10:56:29 +08:00
parent beb34f8264
commit 92777366ec
5 changed files with 117 additions and 6 deletions

View File

@@ -40,4 +40,17 @@ Tea.context(function () {
})
})
}
this.deleteTask = function (taskId) {
let that = this
teaweb.confirm("确定要删除这个任务吗?", function () {
that.$post("/dns/tasks/delete")
.params({
taskId: taskId
})
.success(function () {
teaweb.reload()
})
})
}
})