实现基础的通知媒介管理

This commit is contained in:
刘祥超
2021-04-05 20:48:13 +08:00
parent 27421bbd46
commit f85b3a40ea
291 changed files with 60492 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
Tea.context(function () {
this.createRecipient = function () {
teaweb.popup(Tea.url(".createPopup"), {
height: "26em",
callback: function () {
teaweb.success("保存成功", function () {
teaweb.reload()
})
}
})
}
this.deleteRecipient = function (recipientId) {
teaweb.confirm("确定要删除此接收媒介吗?", function () {
this.$post(".delete")
.params({recipientId: recipientId})
.success(function () {
teaweb.success("删除成功", function () {
teaweb.reload()
})
})
})
}
})