Commit 3a177f3c by yyq1988

优化表格查询显示问题

parent 8fcd8aa7
...@@ -29,6 +29,14 @@ $(document).ready(function() { ...@@ -29,6 +29,14 @@ $(document).ready(function() {
pageList: [10, 25, 50, 'ALL'], pageList: [10, 25, 50, 'ALL'],
//这个接口需要处理bootstrap table传递的固定参数,并返回特定格式的json数据 //这个接口需要处理bootstrap table传递的固定参数,并返回特定格式的json数据
url: jp.unescapeHTML("${url}"), url: jp.unescapeHTML("${url}"),
responseHandler: function (res){
if(res.rows){
res.rows = res.rows.filter(function(item){
return item !== null && typeof item !== "undefined" && item !== "";
})
}
return res;
},
//默认值为 'limit',传给服务端的参数为:limit, offset, search, sort, order Else //默认值为 'limit',传给服务端的参数为:limit, offset, search, sort, order Else
//queryParamsType:'', //queryParamsType:'',
////查询参数,每次调用是会带上这个参数,可自定义 ////查询参数,每次调用是会带上这个参数,可自定义
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment