routine update

This commit is contained in:
yubaolee
2016-10-29 22:27:39 +08:00
parent ff0d85310c
commit ddc311b38e
18 changed files with 85 additions and 163 deletions

View File

@@ -160,19 +160,12 @@ var editDlg = function () {
//删除
function del() {
list.del("Id", "/ModuleElementManager/Del", function () {
list.reload();
});
var selected = list.getSelectedProperties("Id");
if (selected == null) return;
$.post('/ModuleElementManager/Del',
{ ids: selected },
function (data) {
if (data.Status) {
list.reload();
}
else {
layer.msg(data.Message);
}
}, "json");
}
//自定义的编辑按钮