新增弹窗状态码 modal_status

This commit is contained in:
RuoYi
2018-05-23 09:43:52 +08:00
parent 4de464dc2d
commit e223e695d5
19 changed files with 51 additions and 48 deletions

View File

@ -73,7 +73,7 @@ function remove(id) {
function batchRemove() {
var rows = $.getSelections("roleId");
if (rows.length == 0) {
$.modalMsg("请选择要删除的数据", "warning");
$.modalMsg("请选择要删除的数据", modal_status.WARNING);
return;
}
$.modalConfirm("确认要删除选中的" + rows.length + "条数据吗?", function() {