Commit 497ffcbd by anxiaohe

重置按钮

parent bedc37e2
...@@ -30,10 +30,14 @@ $(document).ready(function() { ...@@ -30,10 +30,14 @@ $(document).ready(function() {
//这个接口需要处理bootstrap table传递的固定参数,并返回特定格式的json数据 //这个接口需要处理bootstrap table传递的固定参数,并返回特定格式的json数据
url: jp.unescapeHTML("${url}"), url: jp.unescapeHTML("${url}"),
responseHandler: function (res){ responseHandler: function (res){
debugger
if(res.rows){ if(res.rows){
res.rows = res.rows.filter(function(item){ res.rows = res.rows.filter(function(item){
return item !== null && typeof item !== "undefined" && item !== ""; return item !== null && typeof item !== "undefined" && item !== "";
}) })
} else {
res.rows = [];
res.total = 0;
} }
var list = res; var list = res;
if ("${gridSelectTableDataHandle}" && top["${gridSelectTableDataHandle}"] && typeof top["${gridSelectTableDataHandle}"] === 'function') { if ("${gridSelectTableDataHandle}" && top["${gridSelectTableDataHandle}"] && typeof top["${gridSelectTableDataHandle}"] === 'function') {
......
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