/// <summary> /// 其他菜单 /// </summary> /// <param name="del"></param> /// <param name="obj"></param> /// <returns></returns> public bool OtherAndMenu(LogicDelegateArr del, object[] obj) { try { if (IsHasRole(AppSupport.adminGuid) || (IsHasRole(AppSupport.adminGuid) && del(obj))) { return(true); } return(false); } catch { return(false); } }
/// <summary> ///判断审核菜单 /// </summary> /// <param name="current"></param> /// <param name="del"></param> /// <param name="obj"></param> /// <returns></returns> public bool HasOrConfrim(LogicDelegateArr del, object[] obj) { try { if (IsHasRole(AppSupport.adminGuid) || IsHasRole(AppSupport.confrimRole) || del(obj)) { return(true); } return(false); } catch { return(false); } }
/// <summary> /// 判断保存菜单 /// </summary> /// <param name="current"></param> /// <param name="del"></param> /// <param name="obj"></param> /// <returns></returns> public bool HasAndSave(LogicDelegateArr del, object[] obj) { try { if (IsHasRole(AppSupport.adminGuid) || (IsHasRole(AppSupport.saveRole) && del(obj))) { return(true); } return(false); } catch { return(false); } }