Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
git test
RuoYi
Commits
cf211fa1
Commit
cf211fa1
authored
5 years ago
by
RuoYi
Browse files
Options
Download
Email Patches
Plain Diff
默认配置表格支持移动端适配
parent
e1d2d722
master
v4.7.5
v4.7.4
v4.7.3
v4.7.2
v4.7.1
v4.7.0
v4.6.2
v4.6.1
v4.6.0
v4.5.1
v4.5.0
v4.4
v4.3.1
v4.3
v4.2
v4.1
No related merge requests found
Changes
39
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js
+2
-0
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js
ruoyi-admin/src/main/resources/templates/demo/modal/table/check.html
+1
-1
.../src/main/resources/templates/demo/modal/table/check.html
ruoyi-admin/src/main/resources/templates/demo/modal/table/parent.html
+1
-1
...src/main/resources/templates/demo/modal/table/parent.html
ruoyi-admin/src/main/resources/templates/demo/modal/table/radio.html
+1
-1
.../src/main/resources/templates/demo/modal/table/radio.html
ruoyi-admin/src/main/resources/templates/demo/operate/table.html
+1
-1
...dmin/src/main/resources/templates/demo/operate/table.html
ruoyi-admin/src/main/resources/templates/demo/table/button.html
+1
-1
...admin/src/main/resources/templates/demo/table/button.html
ruoyi-admin/src/main/resources/templates/demo/table/child.html
+1
-1
...-admin/src/main/resources/templates/demo/table/child.html
ruoyi-admin/src/main/resources/templates/demo/table/curd.html
+1
-1
...i-admin/src/main/resources/templates/demo/table/curd.html
ruoyi-admin/src/main/resources/templates/demo/table/detail.html
+1
-1
...admin/src/main/resources/templates/demo/table/detail.html
ruoyi-admin/src/main/resources/templates/demo/table/editable.html
+1
-1
...min/src/main/resources/templates/demo/table/editable.html
ruoyi-admin/src/main/resources/templates/demo/table/event.html
+1
-1
...-admin/src/main/resources/templates/demo/table/event.html
ruoyi-admin/src/main/resources/templates/demo/table/export.html
+1
-1
...admin/src/main/resources/templates/demo/table/export.html
ruoyi-admin/src/main/resources/templates/demo/table/fixedColumns.html
+1
-1
...src/main/resources/templates/demo/table/fixedColumns.html
ruoyi-admin/src/main/resources/templates/demo/table/footer.html
+1
-1
...admin/src/main/resources/templates/demo/table/footer.html
ruoyi-admin/src/main/resources/templates/demo/table/groupHeader.html
+1
-1
.../src/main/resources/templates/demo/table/groupHeader.html
ruoyi-admin/src/main/resources/templates/demo/table/image.html
+1
-1
...-admin/src/main/resources/templates/demo/table/image.html
ruoyi-admin/src/main/resources/templates/demo/table/multi.html
+2
-2
...-admin/src/main/resources/templates/demo/table/multi.html
ruoyi-admin/src/main/resources/templates/demo/table/other.html
+1
-1
...-admin/src/main/resources/templates/demo/table/other.html
ruoyi-admin/src/main/resources/templates/demo/table/pageGo.html
+1
-1
...admin/src/main/resources/templates/demo/table/pageGo.html
ruoyi-admin/src/main/resources/templates/demo/table/params.html
+2
-2
...admin/src/main/resources/templates/demo/table/params.html
with
23 additions
and
21 deletions
+23
-21
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js
+
2
-
0
View file @
cf211fa1
...
...
@@ -35,6 +35,7 @@
showToggle
:
true
,
showExport
:
false
,
clickToSelect
:
false
,
mobileResponsive
:
true
,
rememberSelected
:
false
,
fixedColumns
:
false
,
fixedNumber
:
0
,
...
...
@@ -78,6 +79,7 @@
showExport
:
options
.
showExport
,
// 是否支持导出文件
uniqueId
:
options
.
uniqueId
,
// 唯 一的标识符
clickToSelect
:
options
.
clickToSelect
,
// 是否启用点击选中行
mobileResponsive
:
options
.
mobileResponsive
,
// 是否支持移动端适配
detailView
:
options
.
detailView
,
// 是否启用显示细节视图
onClickRow
:
options
.
onClickRow
,
// 点击某行触发的事件
onDblClickRow
:
options
.
onDblClickRow
,
// 双击某行触发的事件
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/modal/table/check.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -7,7 +7,7 @@
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/modal/table/parent.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -7,7 +7,7 @@
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/modal/table/radio.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -7,7 +7,7 @@
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/operate/table.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -30,7 +30,7 @@
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/button.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -23,7 +23,7 @@
</div>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/child.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -7,7 +7,7 @@
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/curd.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -36,7 +36,7 @@
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/detail.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -7,7 +7,7 @@
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/editable.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -16,7 +16,7 @@
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/event.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -8,7 +8,7 @@
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<p
class=
"select-title"
>
自定义触发事件(点击某行/双击某行/单击某格/双击某格/服务器发送数据前触发/数据被加载时触发)
</p>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/export.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -7,7 +7,7 @@
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/fixedColumns.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -18,7 +18,7 @@
</a>
</div>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/footer.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -7,7 +7,7 @@
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/groupHeader.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -7,7 +7,7 @@
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-bordered"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/image.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -7,7 +7,7 @@
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/multi.html
+
2
-
2
View file @
cf211fa1
...
...
@@ -33,7 +33,7 @@
</a>
</div>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table1"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table1"
></table>
</div>
</div>
</div>
...
...
@@ -68,7 +68,7 @@
</a>
</div>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table2"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table2"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/other.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -27,7 +27,7 @@
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/pageGo.html
+
1
-
1
View file @
cf211fa1
...
...
@@ -7,7 +7,7 @@
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
ruoyi-admin/src/main/resources/templates/demo/table/params.html
+
2
-
2
View file @
cf211fa1
...
...
@@ -8,7 +8,7 @@
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-striped"
>
<p
class=
"select-title"
>
通过queryParams方法设置
</p>
<table
id=
"bootstrap-table"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table"
></table>
</div>
<div
class=
"col-sm-12 search-collapse"
>
...
...
@@ -24,7 +24,7 @@
</div>
<div
class=
"col-sm-12 select-table table-striped"
>
<p
class=
"select-title"
>
通过form自动填充
</p>
<table
id=
"bootstrap-table-form"
data-mobile-responsive=
"true"
></table>
<table
id=
"bootstrap-table-form"
></table>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help