diff --git a/app/customer/view/index/index.html b/app/customer/view/index/index.html index a08f8c6..93a861b 100644 --- a/app/customer/view/index/index.html +++ b/app/customer/view/index/index.html @@ -83,7 +83,8 @@ elem: '#test', title: '客户列表', toolbar: '#toolbarDemo', - is_excel:true, + is_excel:true, + excel_limit:2000, url: "/customer/index/index", //数据接口 cellMinWidth: 80, page: true, //开启分页 diff --git a/app/project/view/task/index.html b/app/project/view/task/index.html index 284dc38..f4250c3 100644 --- a/app/project/view/task/index.html +++ b/app/project/view/task/index.html @@ -178,9 +178,6 @@ }); //监听搜索提交 form.on('submit(webform)', function (data) { - if (data.field.keywords == '') { - return false; - } tableReload(); return false; }); diff --git a/public/static/assets/gougu/module/tablePlus.js b/public/static/assets/gougu/module/tablePlus.js index ef20560..45cd248 100644 --- a/public/static/assets/gougu/module/tablePlus.js +++ b/public/static/assets/gougu/module/tablePlus.js @@ -19,7 +19,7 @@ layui.define(['jquery','layer','table'], function(exports) { else{ let _page = parseInt(data.count/page_size); let page = data.count%page_size>0?(_page+1):_page; - let pageHtml='

由于导出数据比较消耗服务器资源,建议使用搜索功能筛选好数据再导出

共查询到 '+data.count+' 条数据,每次最多导出1000条,共'+page+'页,请点击下面的页码导出

'; + let pageHtml='

由于导出数据比较消耗服务器资源,建议使用搜索功能筛选好数据再导出

共查询到 '+data.count+' 条数据,每次最多导出'+page_size+'条,共'+page+'页,请点击下面的页码导出

'; for (i = 1; i <= page; i++) { pageHtml += ''+i+''; } @@ -78,7 +78,8 @@ layui.define(['jquery','layer','table'], function(exports) { } } } - tablePlus._render(params); + var init = tablePlus._render(params); + return init; //console.log(params); }; exports(MOD_NAME, tablePlus);