Authored by qinchao

恶意ip

... ... @@ -111,10 +111,7 @@
<h4 class="modal-title" id="myModalLabel"></h4>
</div>
<div class="modal-body">
<div class="widget-title" style="height: 56px;">
<div>
<input id="hbasePrefix"type="text" readonly style="width:150px;" />
</div>
<input id="hbasePrefix"type="text" readonly disabled style="width:350px;" />
<div id="hbaseTable" style="overflow-y: auto; overflow-x:hidden;max-height: 700px" /></div>
</div>
<div class="modal-footer">
... ... @@ -246,9 +243,21 @@
}
}]
});
}
function qpsDetailMip(mip,hbaseTime){
if(!hbaseTime){
hbaseTime=0;
}
$("#hbasePrefix").val(mip+":"+hbaseTime+":");
$("#hbaseTable").table({
url: contextPath + "maliciousIp/getMaliciousDetection",
queryParams:{
ip:mip,
timestamp:hbaseTime,
type:"alarm"
},
dataType: 'json',
striped: true,
pagination: false,
... ... @@ -266,15 +275,6 @@
width: "100%"
}]
});
}
function qpsDetailMip(mip,hbaseTime){
$("#hbasePrefix").val(mip+":"+hbaseTime+":");
$("#hbaseTable").table("load",{
ip:mip,
timestamp:hbaseTime,
type:"alarm"
});
$("#myModal").modal('show');
}
... ...