切换导航条
此项目
正在载入...
登录
何书鹏
/
recruit
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
PPPSCN
8 years ago
提交
88d9e2f721a1596c6e0e384aa8e1da5be3aa27dc
1 个父辈
3c642a3a
修复高级搜索和普通查询无法翻页的bug
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
22 行增加
和
0 行删除
public/assets/js/bootstrap-table-advancedsearch.js
public/assets/js/bootstrap-table-commonsearch.js
public/assets/js/bootstrap-table-advancedsearch.js
查看文件 @
88d9e2f
...
...
@@ -272,6 +272,17 @@
});
// 追加查询关键字
this
.
options
.
pageNumber
=
1
;
this
.
options
.
queryParams
=
function
(
params
)
{
return
{
search
:
params
.
search
,
sort
:
params
.
sort
,
order
:
params
.
order
,
filter
:
JSON
.
stringify
(
filter
),
op
:
JSON
.
stringify
(
op
),
offset
:
params
.
offset
,
limit
:
params
.
limit
,
};
};
this
.
refresh
({
query
:
{
filter
:
JSON
.
stringify
(
filter
),
op
:
JSON
.
stringify
(
op
)}});
}
else
{
...
...
public/assets/js/bootstrap-table-commonsearch.js
查看文件 @
88d9e2f
...
...
@@ -301,6 +301,17 @@
});
// 追加查询关键字
this
.
options
.
pageNumber
=
1
;
this
.
options
.
queryParams
=
function
(
params
)
{
return
{
search
:
params
.
search
,
sort
:
params
.
sort
,
order
:
params
.
order
,
filter
:
JSON
.
stringify
(
filter
),
op
:
JSON
.
stringify
(
op
),
offset
:
params
.
offset
,
limit
:
params
.
limit
,
};
};
this
.
refresh
({
query
:
{
filter
:
JSON
.
stringify
(
filter
),
op
:
JSON
.
stringify
(
op
)}});
}
else
{
...
...
请
注册
或
登录
后发表评论