...
|
...
|
@@ -94,6 +94,11 @@ |
|
|
<button class="btn-danger" style="margin-left: 10px;" onclick="addIPs()">添加
|
|
|
</button>
|
|
|
</div>
|
|
|
|
|
|
<div class="form-inline" role="form" style=" margin-top: 12px;margin-left: 25px;float: left;">
|
|
|
<input id="bannedIps" class="form-control" placeholder="根据ip查找"/>
|
|
|
<button class="btn btn-primary" style="margin-left: 18px;" onclick="search()">搜索</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
...
|
...
|
@@ -231,6 +236,13 @@ |
|
|
});
|
|
|
});
|
|
|
|
|
|
function search() {
|
|
|
//查询
|
|
|
var queryIp=$.trim($("#bannedIps").val());
|
|
|
$("#ipTable").table("load", {
|
|
|
ip:queryIp
|
|
|
});
|
|
|
}
|
|
|
function refreshTable() {
|
|
|
$("#ipTable").table({
|
|
|
url: contextPath + "maliciousIp/getMipsFromOpsReids",
|
...
|
...
|
|