作者 PPPSCN

默认bootstrap-table导出所有数据

... ... @@ -162,7 +162,7 @@ class Backend extends Controller
$sort = $this->request->get("sort", "id");
$order = $this->request->get("order", "DESC");
$offset = $this->request->get("offset", 0);
$limit = $this->request->get("limit", 10);
$limit = $this->request->get("limit", 0);
$filter = json_decode($filter, TRUE);
$op = json_decode($op, TRUE);
$filter = $filter ? $filter : [];
... ...
... ... @@ -9,9 +9,14 @@ define(['jquery', 'bootstrap', 'backend', 'config', 'toastr', 'moment', 'bootstr
method: 'get',
toolbar: "#toolbar",
search: true,
cache: false,
advancedSearch: true,
idTable: 'advancedTable',
showExport: true,
exportDataType: "all",
exportTypes: ['json', 'xml', 'csv', 'txt', 'doc', 'excel'],
pageSize: 10,
pageList: [10, 25, 50, 'All'],
pagination: true,
clickToSelect: true,
showRefresh: false,
... ...