14 lines
347 B
JavaScript
14 lines
347 B
JavaScript
Tea.context(function () {
|
|
this.deleteReceiver = function (receiverId) {
|
|
let that = this
|
|
teaweb.confirm("确定要取消当前接收人和集群的关联吗?", function () {
|
|
that.$post("/admins/recipients/receivers/delete")
|
|
.params({
|
|
receiverId: receiverId
|
|
})
|
|
.success(function () {
|
|
teaweb.reload()
|
|
})
|
|
})
|
|
}
|
|
}) |