public ActionResult HistoryProcessQuery(int?page, int?pagesize, string key, string select)
        {
            dynamic data = new System.Dynamic.ExpandoObject();

            string[] type = centerService.GetCollectionType();
            //var list = centerService.GetCustomerCollectionPageMode(Masterpage.CurrUser.client_code, key,"");
            var list      = centerService.GetHistoryProcessList(Masterpage.CurrUser.client_code, key);
            var list2     = list.OrderBy(x => x.collent_point_order).ToList();
            int _page     = page.HasValue ? page.Value : 1;
            int _pagesize = pagesize.HasValue ? pagesize.Value : 13;
            var vs        = list2.ToPagedList(_page, _pagesize);

            data.customercode = Masterpage.CurrUser.client_code;
            data.type         = type;
            data.list         = vs;
            data.pageSize     = _pagesize;
            data.pageIndex    = _page;
            data.totalCount   = vs.TotalCount;
            if (select == null)
            {
                select = "";
            }
            if (select.EndsWith(","))
            {
                select = select.Substring(0, select.Length - 1);
            }
            #region 图表
            if (select != "")
            {
                FlexChart chart = new FlexChart();
                chart              = centerService.GetFlexChartBySelects(Masterpage.CurrUser.client_code, Masterpage.CurrUser.client_name, "历史查询", select);
                chart.url          = Utils.GetFlexAddress();
                chart.processparms = select;
                chart.title        = "历史查询";
                chart.queryparms   = "";
                data.chart         = JsonHelper.ToJson(chart);
            }
            #endregion
            if (select == null)
            {
                select = "";
            }
            data.select = select;
            data.key    = key;
            LogHelper.Info(Masterpage.CurrUser.alias, "201012:客户," + Masterpage.CurrUser.client_code + ",查看采集点" + select + "历史查看图表");
            return(PartialView("HistoryProcessQuery", data));
        }