Index: ssts-web/src/main/webapp/dx-disinfectsystem/js/washingApplication/washingApplication.js =================================================================== diff -u -r24519 -r24522 --- ssts-web/src/main/webapp/dx-disinfectsystem/js/washingApplication/washingApplication.js (.../washingApplication.js) (revision 24519) +++ ssts-web/src/main/webapp/dx-disinfectsystem/js/washingApplication/washingApplication.js (.../washingApplication.js) (revision 24522) @@ -123,7 +123,7 @@ //pageSize: 20,//单页记录数 pageList: [5, 10, 20, 50],//分页步进值 sidePagination: "server",//服务端分页 - // contentType: "application/x-www-form-urlencoded",//请求数据内容格式 默认是 application/json 自己根据格式自行服务端处理 + contentType: "application/x-www-form-urlencoded",//请求数据内容格式 默认是 application/json 自己根据格式自行服务端处理 // dataType: "json",//期待返回数据类型 queryParamsType: "limit",//查询参数组织方式 onColumnSwitch:onColumnSwitch, @@ -216,9 +216,9 @@ }; console.log("pageSize:"+temp.pageSize); console.log("pageNumber:"+temp.pageNumber); - return temp; - } -//ajaxIP+"/WashingApplication/php/handle.php" http://rap2api.taobao.org/app/mock/85153 + return {gridParams:JSON.stringify(temp)}; + + } InitTable("/disinfectSystem/grid/gridController/getGrid.mhtml"); // 主表 end