1.4.5.2
This commit is contained in:
17
EdgeAdmin/web/views/@default/admins/recipients/logs/index.js
Normal file
17
EdgeAdmin/web/views/@default/admins/recipients/logs/index.js
Normal file
@@ -0,0 +1,17 @@
|
||||
Tea.context(function () {
|
||||
this.resendTask = function (taskId) {
|
||||
let that = this
|
||||
teaweb.confirm("确定要重新发送此消息吗?", function () {
|
||||
that.$post(".updateTaskStatus")
|
||||
.params({
|
||||
taskId: taskId,
|
||||
status: 0
|
||||
})
|
||||
.success(function () {
|
||||
teaweb.success("已成功重新放入发送队列", function () {
|
||||
teaweb.reload()
|
||||
})
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user