Commit a0226e2a by fengshuonan

更改修改用戶的邏輯錯誤

parent b93eaaa9
......@@ -92,21 +92,23 @@ MgrUser.openAddMgr = function () {
* 点击修改按钮时
*/
MgrUser.openChangeUser = function (userId) {
if (this.check()) {
var selectId = userId;
if (!userId) {
selectId = this.seItem.userId;
if(!userId){
if (!this.check()) {
return;
}
this.layerIndex = layer.open({
type: 2,
title: '编辑管理员',
area: ['800px', '500px'],
fix: false,
maxmin: true,
content: Feng.ctxPath + '/mgr/user_edit?userId=' + selectId
});
}
var selectId = userId;
if (!userId) {
selectId = this.seItem.userId;
}
this.layerIndex = layer.open({
type: 2,
title: '编辑管理员',
area: ['800px', '500px'],
fix: false,
maxmin: true,
content: Feng.ctxPath + '/mgr/user_edit?userId=' + selectId
});
};
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment