mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
ru
This commit is contained in:
@@ -29,7 +29,7 @@ layui.config({
|
||||
$.extend(config, options);
|
||||
}
|
||||
table.reload('mainList', {
|
||||
url: '/<%=ModuleName%>Manager/Load',
|
||||
url: '/<%=ModuleName%>s/Load',
|
||||
where: config
|
||||
});
|
||||
}
|
||||
@@ -91,9 +91,9 @@ layui.config({
|
||||
},
|
||||
end: mainList
|
||||
});
|
||||
var url = "/<%=ModuleName%>Manager/Add";
|
||||
var url = "/<%=ModuleName%>s/Add";
|
||||
if (update) {
|
||||
url = "/<%=ModuleName%>Manager/Update";
|
||||
url = "/<%=ModuleName%>s/Update";
|
||||
}
|
||||
//提交数据
|
||||
form.on('submit(formSubmit)',
|
||||
@@ -135,7 +135,7 @@ layui.config({
|
||||
btnDel: function () { //批量删除
|
||||
var checkStatus = table.checkStatus('mainList')
|
||||
, data = checkStatus.data;
|
||||
openauth.del("/<%=ModuleName%>Manager/Delete",
|
||||
openauth.del("/<%=ModuleName%>s/Delete",
|
||||
data.map(function (e) { return e.Id; }),
|
||||
mainList);
|
||||
}
|
||||
|
Reference in New Issue
Block a user