Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
dd48cbd8
Commit
dd48cbd8
authored
Aug 08, 2017
by
冯硕楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bootstraptable封装的bug
parent
1f568612
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
src/main/webapp/static/js/common/bootstrap-table-object.js
+2
-1
No files found.
src/main/webapp/static/js/common/bootstrap-table-object.js
View file @
dd48cbd8
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
*/
*/
init
:
function
()
{
init
:
function
()
{
var
tableId
=
this
.
bstableId
;
var
tableId
=
this
.
bstableId
;
var
me
=
this
;
this
.
btInstance
=
this
.
btInstance
=
$
(
'#'
+
tableId
).
bootstrapTable
({
$
(
'#'
+
tableId
).
bootstrapTable
({
contentType
:
"application/x-www-form-urlencoded"
,
contentType
:
"application/x-www-form-urlencoded"
,
...
@@ -44,7 +45,7 @@
...
@@ -44,7 +45,7 @@
pageList
:
[
14
,
50
,
100
],
//可供选择的每页的行数(*)
pageList
:
[
14
,
50
,
100
],
//可供选择的每页的行数(*)
queryParamsType
:
'limit'
,
//默认值为 'limit' ,在默认情况下 传给服务端的参数为:offset,limit,sort
queryParamsType
:
'limit'
,
//默认值为 'limit' ,在默认情况下 传给服务端的参数为:offset,limit,sort
queryParams
:
function
(
param
)
{
queryParams
:
function
(
param
)
{
return
$
.
extend
(
this
.
queryParams
,
param
);
return
$
.
extend
(
me
.
queryParams
,
param
);
},
// 向后台传递的自定义参数
},
// 向后台传递的自定义参数
sidePagination
:
this
.
paginationType
,
//分页方式:client客户端分页,server服务端分页(*)
sidePagination
:
this
.
paginationType
,
//分页方式:client客户端分页,server服务端分页(*)
search
:
false
,
//是否显示表格搜索,此搜索是客户端搜索,不会进服务端
search
:
false
,
//是否显示表格搜索,此搜索是客户端搜索,不会进服务端
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment