예제 #1
0
 public virtual List <OperateModuleInfo> GetPowerOperateModule(string moduleTypeID, string moduleCode, string coteModuleID, string coteID, OperatePlaceType operatePlaceType)
 {
     return(new List <OperateModuleInfo>());
 }
예제 #2
0
 public override List <OperateModuleInfo> GetPowerOperateModule(string moduleTypeID, string moduleCode, string coteModuleID, string coteID, OperatePlaceType operatePlaceType)
 {
     return((from s in this.CurrentModuleRule.GetPowerOperateModule(moduleTypeID, moduleCode, this.CurrentUser.UserID, operatePlaceType, coteModuleID, coteID) select new OperateModuleInfo {
         MenuCal = s.MenuCal, ClickScriptFun = s.ClickScriptFun, CommandName = s.CommandName, PlaceType = s.PlaceType, ImageUrl = s.ImageUrl, MenuField = s.MenuField, MenuValue = s.MenuValue, ModuleID = s.ModuleID, ModuleName = s.ModuleName, SortIndex = s.SortIndex, CommandArgument = s.CommandArgument, ToolTip = s.ToolTip, ValGroupName = s.ValGroupName
     }).ToList <OperateModuleInfo>());
 }
예제 #3
0
        public List <WTF.Power.Entity.Sys_Module> GetPowerOperateModule(string moduleTypeID, string moduleCode, string userID, OperatePlaceType operatePlaceType, string coteModuleID, string coteID)
        {
            int num = (int)operatePlaceType;

            return(this.CurrentEntities.GetPowerCoteOperateModuleByID(moduleTypeID, moduleCode, userID, num.ToString(), coteModuleID, coteID).ToList <WTF.Power.Entity.Sys_Module>());
        }