示例#1
0
 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");
 }
示例#2
0
 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"));
 }
示例#4
0
 public ActionResult Index()
 {
     try
     {
         IMenuConfigFacade MenuConfigProxy = AopObjectProxy.GetObject <IMenuConfigFacade>(new MenuConfigFacade());
         string            json            = MenuConfigProxy.LoadEnFuncTreeRight();
         ViewBag.LoadEnFuncTreeRight = json;
         proxy.InitMyDesktopData();
     }
     catch { }
     return(View("MyDesktopSet"));
 }
示例#5
0
 public MainTreeController()
 {
     proxy             = AopObjectProxy.GetObject <IMainTreeFacade>(new MainTreeFacade());
     MenuConfigProxy   = AopObjectProxy.GetObject <IMenuConfigFacade>(new MenuConfigFacade());
     IndividualSetting = AopObjectProxy.GetObject <IIndividualSettingFacade>(new IndividualSettingFacade());
 }
示例#6
0
 /// <summary>
 /// 自定义我的功能树页面
 /// </summary>
 /// <returns></returns>
 public MyCommonFuncController()
 {
     proxy           = AopObjectProxy.GetObject <IMyCommonFuncFacade>(new MyCommonFuncFacade());
     MenuConfigProxy = AopObjectProxy.GetObject <IMenuConfigFacade>(new MenuConfigFacade());
 }
示例#7
0
 /// <summary>
 /// 快捷功能
 /// </summary>
 /// <returns></returns>
 public ShortcutMenuController()
 {
     proxy           = AopObjectProxy.GetObject <IShortcutMenuFacade>(new ShortcutMenuFacade());
     MenuConfigProxy = AopObjectProxy.GetObject <IMenuConfigFacade>(new MenuConfigFacade());
 }