/// <summary> /// 动作设定 /// </summary> public ActionResult ActionSetting() { ActionSettingModel model = new ActionSettingModel(); var areaList = AreaBLL.GetAreas(); model.AreasSelectList = areaList.ToSelectListWithAll(m => GetSelectListItem(m.ID, m.AreaName)); var ctrList = ControllerBLL.GetControllers(); model.ControllersSelectList = ctrList.ToSelectListWithAll(m => GetSelectListItem(m.ID, m.ControllerName)); model.SearchPage = 1; model.AreaID = -1; model.ControllerID = -1; model.PagedDatas = ActionBLL.GetPagedActions(model, PageSize); return(PartialView("_ActionSetting", model)); }
private ActionResult GetActionPagedGridPV(ActionSettingModel model) { model.PagedDatas = ActionBLL.GetPagedActions(model, PageSize); return(PartialView("_ActionPagedGrid", model)); }