/// <summary> /// 获取一般用户列表 /// </summary> /// <returns></returns> public ActionResult ElectricityUserIndex() { int pageIndex = 0; if (!string.IsNullOrEmpty(Request["pageIndex"])) { pageIndex = Convert.ToInt32(Request["pageIndex"]); } List <ElectricityUser> list = _iCrmService.GetListElectricityUser(string.Empty, string.Empty, 0, 0, true);// _iCrmService.GetPersonmodel("", "", pageIndex, 12); return(View(list.ToPagedList <ElectricityUser>(pageIndex, 20))); }