切换导航条
此项目
正在载入...
登录
何书鹏
/
recruit
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
PPPSCN
8 years ago
提交
69c28ca76450714fb17839f406973861a415d240
1 个父辈
0b365562
默认bootstrap-table导出所有数据
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
6 行增加
和
1 行删除
application/common/controller/Backend.php
public/assets/js/require-table.js
application/common/controller/Backend.php
查看文件 @
69c28ca
...
...
@@ -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"
,
1
0
);
$limit
=
$this
->
request
->
get
(
"limit"
,
0
);
$filter
=
json_decode
(
$filter
,
TRUE
);
$op
=
json_decode
(
$op
,
TRUE
);
$filter
=
$filter
?
$filter
:
[];
...
...
public/assets/js/require-table.js
查看文件 @
69c28ca
...
...
@@ -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
,
...
...
请
注册
或
登录
后发表评论