Authored by FengRuwei

Merge branch 'master' of http://git.yoho.cn/ops/monitor-ui

... ... @@ -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);
}
});
}
}]
... ...