Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
jack
8 years ago
Commit
8c31a3ad057b252de98ebef3ec737fd7ea051a06
1 parent
ab727b9b
增加对比结果提示
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
monitor-ui-ctrl/src/main/java/com/ui/ctrl/CompareIpsCtrl.java
monitor-ui-web/src/main/webapp/jsp/compare/compareIps.jsp
monitor-ui-ctrl/src/main/java/com/ui/ctrl/CompareIpsCtrl.java
View file @
8c31a3a
...
...
@@ -31,6 +31,5 @@ public class CompareIpsCtrl {
BaseResponse
response
=
httpRestClient
.
defaultPost
(
"/compareIps/compare"
,
req
,
BaseResponse
.
class
);
return
response
;
}
}
...
...
monitor-ui-web/src/main/webapp/jsp/compare/compareIps.jsp
View file @
8c31a3a
...
...
@@ -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
(
"错误"
,
"查询比对失败,请稍后重试!"
);
}
});
}
...
...
Please
register
or
login
to post a comment