Ejemplo n.º 1
0
        public ActionResult applydata(int?type, int?page, int?pagesize)
        {
            dynamic data      = new System.Dynamic.ExpandoObject();
            var     list      = centerService.GetBasicDataApplications(Masterpage.CurrUser.client_code, "");
            int     _page     = page.HasValue ? page.Value : 1;
            int     _pagesize = pagesize.HasValue ? pagesize.Value : 14;
            var     vs        = list.ToPagedList(_page, _pagesize);

            data.list       = vs;
            data.type       = type;
            data.pageSize   = _pagesize;
            data.pageIndex  = _page;
            data.totalCount = vs.TotalCount;
            data.otherParam = "";
            LogHelper.Info(Masterpage.CurrUser.alias, "903011:客户," + Masterpage.CurrUser.client_code + ",用户中心耗材申请列表");
            return(PartialView(data));
        }