public ActionResult SettlementSummary(SettlementSummaryModelFilterModel filterModel) { var param = new SettlementSummaryParam(); filterModel.CopyTo(param); var model = new SettlementSummaryModelViewModel() { FilterModel = filterModel, PagedList = _settlementService.GetSettlementSummaryExtPagedList(param), }; return(View(model)); }
public SettlementSummaryModelViewModel() { StatusList = new List <SelectListItem>() { new SelectListItem() { Text = "全部", Value = null }, new SelectListItem() { Text = "未结清", Value = "1" }, new SelectListItem() { Text = "已结清", Value = "2" } }; FilterModel = new SettlementSummaryModelFilterModel(); PagedList = new PagedList <SettlementSummaryExt>(); }