// // GET: /ProjectGroup/AuditProductAnalyze/ //public ActionResult Index() //{ // var a = this.CurrentUserInfo.UserID; // return View(); //} public ActionResult UserProductList() { var tab = new Formula.Tab(); //var category = CategoryFactory.GetCategory("System.ManDept", "部门", "DeptName", true); //category.Multi = true; //tab.Categories.Add(category); var category = CategoryFactory.GetYearCategory("Year"); category.SetDefaultItem(DateTime.Now.Year.ToString()); tab.Categories.Add(category); category = CategoryFactory.GetMonthCategory("Month"); category.SetDefaultItem(DateTime.Now.Month.ToString()); tab.Categories.Add(category); category = CategoryFactory.GetQuarterCategory("Quarter"); category.SetDefaultItem((Math.Ceiling(Convert.ToDouble(DateTime.Now.Month) / 3)).ToString()); tab.Categories.Add(category); category = CategoryFactory.GetCategory("Project.ProductFileType", "成果类型", "FileType", true); category.SetDefaultItem("图纸"); category.Multi = false; tab.Categories.Add(category); tab.IsDisplay = true; ViewBag.Tab = tab; return(View()); }
public ActionResult ProjectMappingStatistics() { var tab = new Formula.Tab(); var category = CategoryFactory.GetYearCategory("Year"); category.SetDefaultItem(DateTime.Now.Year.ToString()); tab.Categories.Add(category); tab.IsDisplay = true; ViewBag.Tab = tab; return(View()); }
public ActionResult RefList() { var result = Formula.AuthCodeHelper.CheckConfigFuncLimited(); if (!result) { this.Response.Clear(); this.Server.Transfer("/MvcConfig/ConfigDenied.html"); } var tab = new Formula.Tab(); var category = CategoryFactory.GetCategory(typeof(Base.Logic.ArgumentType), "参数类型", "ParamType", true, ArgumentType.CalArg.ToString() + "," + ArgumentType.DSArg.ToString() + "," + ArgumentType.DynCalArg.ToString()); tab.Categories.Add(category); tab.IsDisplay = true; ViewBag.Tab = tab; return(View()); }