实现最基本的域名服务节点管理

This commit is contained in:
刘祥超
2021-05-26 14:43:29 +08:00
parent 194a919a73
commit 70cd06dc85
58 changed files with 1574 additions and 57 deletions

View File

@@ -9,29 +9,6 @@ Tea.context(function () {
// IP地址相关
this.ipAddresses = this.node.ipAddresses;
// 添加IP地址
this.addIPAddress = function () {
teaweb.popup("/nodes/ipAddresses/createPopup", {
callback: function (resp) {
this.ipAddresses.push(resp.data.ipAddress);
}
})
};
// 修改地址
this.updateIPAddress = function (index, address) {
teaweb.popup("/nodes/ipAddresses/updatePopup?addressId=" + address.id, {
callback: function (resp) {
Vue.set(this.ipAddresses, index, resp.data.ipAddress);
}
})
}
// 删除IP地址
this.removeIPAddress = function (index) {
this.ipAddresses.$remove(index);
};
// 认证相关
this.grant = null;