提交当前本机整理版本
This commit is contained in:
@@ -2467,4 +2467,30 @@ namespace Lskj.PubUserTomodule
|
||||
string sql = string.Empty;
|
||||
try
|
||||
{
|
||||
if (MessageUtil.Show(ResourceKeys.DragSelectR
|
||||
if (MessageUtil.Show(ResourceKeys.DragSelectRow, MessageBoxButtons.YesNo) == DialogResult.Yes)
|
||||
{
|
||||
|
||||
foreach (DataRow rowItem in e.GridViewSelectRows)
|
||||
{
|
||||
string RoleId = rowItem["id"] + "";
|
||||
//把推拽角色id传入页签中,页签根据选中的人员添加角色权限
|
||||
personnelInformation.AddRolePermissions(RoleId);
|
||||
}
|
||||
|
||||
personnelInformation.GridView_FocusedRowObjectChanged(null, null);
|
||||
ModuleAssociationRole_onClickDeleteButton(null, null);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogUtil.WriteError("表格拖拽错误", ex);
|
||||
LogHelper.Instance.WriteError(ex);
|
||||
//MessageUtil.Show(ResourceKeys.OperFault);
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show(Message, ex.Message);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user