Authored by jack

增加对比结果提示

... ... @@ -31,6 +31,5 @@ public class CompareIpsCtrl {
BaseResponse response = httpRestClient.defaultPost("/compareIps/compare", req, BaseResponse.class);
return response;
}
}
... ...
... ... @@ -173,10 +173,6 @@
function btn_click() {
selectService();
console.log("service:" + service);
console.log("net:" + net);
$.ajax({
url: getUrlBasePath() + "/compareIps/compare",
type: "post",
... ... @@ -186,10 +182,14 @@
net: net
},
success: function (response) {
showIps(response.data);
showIps(response.data.ips);
if (1 == response.data.status) {
localAlert("告警","存在IP配置不一致,请仔细查看比对结果!");
}
},
error: function (e) {
localAlert("错误","查询比对失败,请稍后重试!");
}
});
}
... ...