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

This commit is contained in:
GoEdgeLab
2021-05-26 14:43:29 +08:00
parent fa3a0e6f59
commit 04db86a919
58 changed files with 1574 additions and 57 deletions

View File

@@ -1,4 +1,4 @@
a.underline {
border-bottom: 1px #db2828 dashed;
}
/*# sourceMappingURL=node.css.map */
/*# sourceMappingURL=index.css.map */

View File

@@ -0,0 +1 @@
{"version":3,"sources":["index.less"],"names":[],"mappings":"AAAA,CAAC;EACA,iCAAA","file":"index.css"}

View File

@@ -1 +0,0 @@
{"version":3,"sources":["node.less"],"names":[],"mappings":"AAAA,CAAC;EACA,iCAAA","file":"node.css"}

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;