Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fgqyxxlr
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yaru
fgqyxxlr
Commits
af6a313d
Commit
af6a313d
authored
Sep 26, 2019
by
cain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决翻页记住选择时获取指定列值的问题
parent
cf211fa1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/bootstrap-table.min.js
+0
-0
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js
+7
-2
No files found.
ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/bootstrap-table.min.js
View file @
af6a313d
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js
View file @
af6a313d
...
...
@@ -155,6 +155,7 @@
if
(
$
.
common
.
isNotEmpty
(
$
.
table
.
_option
.
rememberSelected
)
&&
$
.
table
.
_option
.
rememberSelected
)
{
func
=
$
.
inArray
(
e
.
type
,
[
'check'
,
'check-all'
])
>
-
1
?
'union'
:
'difference'
;
selectionIds
=
_
[
func
](
selectionIds
,
rowIds
);
selectionRows
=
_
[
func
](
selectionRows
,
rows
,
"row"
);
}
});
// 图片预览事件
...
...
@@ -365,7 +366,9 @@
return
row
[
column
];
});
if
(
$
.
common
.
isNotEmpty
(
$
.
table
.
_option
.
rememberSelected
)
&&
$
.
table
.
_option
.
rememberSelected
)
{
rows
=
rows
.
concat
(
selectionIds
);
rows
=
$
.
map
(
selectionRows
,
function
(
row
)
{
return
row
[
column
];
});
}
return
$
.
common
.
uniqueFn
(
rows
);
},
...
...
@@ -388,7 +391,9 @@
return
row
[
$
.
table
.
_option
.
columns
[
1
].
field
];
});
if
(
$
.
common
.
isNotEmpty
(
$
.
table
.
_option
.
rememberSelected
)
&&
$
.
table
.
_option
.
rememberSelected
)
{
rows
=
rows
.
concat
(
selectionIds
);
rows
=
$
.
map
(
selectionRows
,
function
(
row
)
{
return
row
[
$
.
table
.
_option
.
columns
[
1
].
field
];
});
}
return
$
.
common
.
uniqueFn
(
rows
);
},
...
...
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