实现域名服务器集群管理

This commit is contained in:
刘祥超
2021-05-25 15:47:40 +08:00
parent 5858f98ec6
commit cc76172a46
31 changed files with 581 additions and 8 deletions

View File

@@ -0,0 +1,16 @@
Tea.context(function () {
this.deleteCluster = function (clusterId) {
let that = this
teaweb.confirm("确定要删除此集群吗?", function () {
that.$post("/ns/clusters/cluster/delete")
.params({
clusterId: clusterId
})
.success(function () {
teaweb.success("删除成功", function () {
window.location = "/ns/clusters"
})
})
})
}
})