添加IP到IP名单时,可以选择批量输入

This commit is contained in:
刘祥超
2021-08-26 10:28:52 +08:00
parent 09ff5a37a9
commit 8247843936
24 changed files with 269 additions and 488 deletions

View File

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