实现IP名单管理

This commit is contained in:
刘祥超
2020-11-07 19:40:18 +08:00
parent f3e3bffa2b
commit edd0c27262
19 changed files with 692 additions and 8 deletions

View File

@@ -36,4 +36,17 @@ Tea.context(function () {
this.success = function () {
teaweb.successToast("保存成功")
}
/**
* 添加IP名单菜单
*/
this.createIP = function (type) {
teaweb.popup("/servers/components/waf/ipadmin/createIPPopup?firewallPolicyId=" + this.firewallPolicyId + '&type=' + type, {
height: "23em",
callback: function () {
window.location = "/servers/components/waf/ipadmin/lists?firewallPolicyId=" + this.firewallPolicyId + "&type=" + type
}
})
}
})