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
Plain Diff
Browse Files
Authored by
FengRuwei
9 years ago
Commit
bca510ddefdfba8fca5cc02243ed6083030f08ea
2 parents
3e53b74c
999315d7
Merge branch 'master' of
http://git.yoho.cn/ops/monitor-ui
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
15 deletions
monitor-ui-web/src/main/webapp/jsp/host/hostInfoList.jsp
monitor-ui-web/src/main/webapp/jsp/host/hostInfoList.jsp
View file @
bca510d
...
...
@@ -82,7 +82,7 @@
width : "5%"
}, {
title : "
机器
类型",
title : "
云
类型",
field : "cloudType",
formatter : function(value, rowData, rowIndex) {
if(value == 1){
...
...
@@ -150,22 +150,13 @@
dataType : "json",
success : function(data) {
if (!data || data.code != 200) {
var dialog = $("<div>").appendTo($("body"));
dialog.dialog({
title : "删除失败",
backdrop : "static",
content : data.message,
buttons : [{
text : "确定",
className : "btn-danger",
onclick : function() {
$(dialog).dialog("hide");
}
}]
});
localAlert('删除失败',data.message);
}
$("#hostInfoTable").table("load");
}
},
error: function (data) {
localAlert('系统异常',data.message);
}
});
}
}]
...
...
Please
register
or
login
to post a comment