mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-23 04:23:32 +08:00
紧急修复由于BJUI的JS函数名不能相同造成按钮事件混乱的问题,请删除数据库中的表记录,重新用脚本初始化一次数据
This commit is contained in:
@@ -125,18 +125,18 @@
|
||||
});
|
||||
}
|
||||
|
||||
function refreshGrid() {
|
||||
function refreshOrgGrid() {
|
||||
$('#@_gridId').datagrid('refresh');
|
||||
}
|
||||
|
||||
//删除
|
||||
function del() {
|
||||
function delOrg() {
|
||||
var selected = getSelected('#@_gridId',2);
|
||||
if (selected == null) return;
|
||||
|
||||
$.getJSON('OrgManager/DelOrg?Id=' + selected, function (data) {
|
||||
if (data.statusCode == "200")
|
||||
refreshGrid();
|
||||
refreshOrgGrid();
|
||||
else {
|
||||
$(this).alertmsg('warn', data.message);
|
||||
}
|
||||
|
Reference in New Issue
Block a user