public NavigationCenterController() { proxy = AopObjectProxy.GetObject <INavigationCenterFacade>(new NavigationCenterFacade()); MenuConfigProxy = AopObjectProxy.GetObject <IMenuConfigFacade>(new MenuConfigFacade()); WiKiCategory = new Enterprise3.NHORM.Base.SpringNHBase.SpringObject().GetObject <IWiKiCategoryService>("WM3.KM.Service.WiKiCategory"); WikiMain = new Enterprise3.NHORM.Base.SpringNHBase.SpringObject().GetObject <IWikiMainService>("WM3.KM.Service.WikiMain"); }
public MenuConfigController() { proxy = AopObjectProxy.GetObject <IMenuConfigFacade>(new MenuConfigFacade()); //string xmlFile = "TabPageChoose.xml"; //DataSet ds = proxy.ConvertXMLToDataSet(xmlFile); //路径怎么破 //DataTable dt = ds.Tables[0]; //int totalRecord = 0; //string json = DataConverterHelper.ToJson(dt, totalRecord); //ViewBag.DT = json; }
//[PageAuthorize(RightKey = 39842)] public ActionResult Index() { try { IMenuConfigFacade MenuConfigProxy = AopObjectProxy.GetObject <IMenuConfigFacade>(new MenuConfigFacade()); string json = MenuConfigProxy.LoadEnFuncTreeRight(); ViewBag.LoadEnFuncTreeRight = json; ViewBag.UserType = NG3.AppInfoBase.UserType; } catch { } return(View("FuncIconManager")); }
public ActionResult Index() { try { IMenuConfigFacade MenuConfigProxy = AopObjectProxy.GetObject <IMenuConfigFacade>(new MenuConfigFacade()); string json = MenuConfigProxy.LoadEnFuncTreeRight(); ViewBag.LoadEnFuncTreeRight = json; proxy.InitMyDesktopData(); } catch { } return(View("MyDesktopSet")); }
public MainTreeController() { proxy = AopObjectProxy.GetObject <IMainTreeFacade>(new MainTreeFacade()); MenuConfigProxy = AopObjectProxy.GetObject <IMenuConfigFacade>(new MenuConfigFacade()); IndividualSetting = AopObjectProxy.GetObject <IIndividualSettingFacade>(new IndividualSettingFacade()); }
/// <summary> /// 自定义我的功能树页面 /// </summary> /// <returns></returns> public MyCommonFuncController() { proxy = AopObjectProxy.GetObject <IMyCommonFuncFacade>(new MyCommonFuncFacade()); MenuConfigProxy = AopObjectProxy.GetObject <IMenuConfigFacade>(new MenuConfigFacade()); }
/// <summary> /// 快捷功能 /// </summary> /// <returns></returns> public ShortcutMenuController() { proxy = AopObjectProxy.GetObject <IShortcutMenuFacade>(new ShortcutMenuFacade()); MenuConfigProxy = AopObjectProxy.GetObject <IMenuConfigFacade>(new MenuConfigFacade()); }