/// <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)); }
public ActionResult GetActionInfo(ActionSettingModel model) { return(GetActionPagedGridPV(model)); }
/// <summary> /// 获取动作信息分页数据 /// </summary> public static AsiatekPagedList <ActionListModel> GetPagedActions(ActionSettingModel model, int pageSize) { return(GetPagedActions(pageSize, model.SearchPage, model.ActionName, model.ControllerID, model.AreaID)); }