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