日期:2014-05-16  浏览次数:20911 次

jquery easyui datagrid queryParams 参数过长怎么处理
$(function () {
            //            var ta = $.getUrlParam('tab');
            //            var jsdata = '{"total":239,"rows":[{"StationName":"101"}]}';
            //            var jsdata = '{"total":239,"rows":[{"StationName":"阿右旗","sn":"52576","yesterday":"20131220","dbtsum1":-6.500,"dbtmax1":-6.500,"dbtmin1":-6.500,"wvsum1":2.200,"vpsum1":2.100,"rhsum1":56.000,"casum1":null,"lcasum1":null,"spsum1":857.900,"spmax1":857.900,"spmin1":857.900,"YD":"20131221","StationNum":"52576","dbt02":-7.900,"dbt08":null,"dbt14":null,"dbt20":null,"dbtsum2":3.700,"dbtmax2":1.300,"dbtmin2":0.600,"p20_8":null,"p8_20":null,"ptotal":null,"wd02":"359","wd08":null,"wd14":null,"wd20":null,"wv02":1.400,"wv08":null,"wv14":null,"wv20":null,"wvsum2":3.700,"vp02":2.000,"vp08":null,"vp14":null,"vp20":null,"vpsum2":7.500,"rh02":"059","rh08":null,"rh14":null,"rh20":null,"rhavg":61,"rhmin":null,"rhsum2":246.000,"v02":30.000,"v08":null,"v14":null,"v20":null,"ca02":7.00,"ca08":null,"ca14":null,"ca20":null,"lca02":0.00,"lca08":null,"lca14":null,"lca20":null,"casum2":13.00,"lcasum2":0.00,"sp02":856.200,"sp08":null,"sp14":null,"sp20":null,"spsum2":3423.800,"spmax2":856.600,"spmin2":855.100,"dbtavg":-0.116666,"dbtmax":1.300,"dbtmin":-6.500,"wvavg":0.245833,"vpavg":0.400000,"rhavg1":12.583333,"caavg":null,"lcaavg":null,"spavg":178.404166,"spmax":857.900,"spmin":855.100}]}';
            //            var data = $.parseJSON(jsdata);
            $.ajax({
                //要用post方式     
                type: "Post",
                //方法所在页面和方法名     
                url: "TimingResult.aspx/JoinParam",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (data) {
                    //返回的数据用data.d获取内容   
                    var vv = data.d.split(']');

                    var colfield = vv[0];
                    var cols = [];
                    var cfs = colfield.split(',');
        &n