Files
EdgeAdmin/web/views/@default/admins/recipients/tasks/index.js
2021-08-24 16:36:47 +08:00

16 lines
358 B
JavaScript

Tea.context(function () {
this.deleteTask = function (taskId) {
let that = this
teaweb.confirm("确定要删除这个发送任务吗?", function () {
that.$post(".delete")
.params({
taskId: taskId
})
.success(function () {
teaweb.successToast("删除成功", null, function () {
teaweb.reload()
})
})
})
}
})