mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-10 11:24:45 +08:00
routine update
This commit is contained in:
@@ -163,19 +163,10 @@ var editDlg = function () {
|
||||
|
||||
//删除
|
||||
function del() {
|
||||
var selected = list.getSelectedProperties("Id");
|
||||
if (selected == null) return;
|
||||
|
||||
$.post('/ResourceManager/Delete',
|
||||
{ ids: selected }, function (data) {
|
||||
if (data.Status) {
|
||||
list.reload();
|
||||
ztree.reload();
|
||||
}
|
||||
else {
|
||||
$(this).alertmsg('warn', data.Message);
|
||||
}
|
||||
}, "json");
|
||||
list.del("Id", "/ResourceManager/Delete", function () {
|
||||
list.reload();
|
||||
ztree.reload();
|
||||
});
|
||||
}
|
||||
|
||||
//自定义的编辑按钮
|
||||
|
||||
Reference in New Issue
Block a user