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
202bf1ce
Commit
202bf1ce
authored
May 28, 2019
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加exportOptions属性,防止前端导出无法忽略操作列
parent
8a18c46b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
4 deletions
+28
-4
ruoyi-admin/src/main/resources/static/ajax/libs/validate/jquery.validate.extend.js
+5
-0
ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css
+20
-2
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js
+1
-0
ruoyi-admin/src/main/resources/templates/system/user/add.html
+1
-1
ruoyi-common/src/main/java/com/ruoyi/common/constant/ShiroConstants.java
+1
-1
No files found.
ruoyi-admin/src/main/resources/static/ajax/libs/validate/jquery.validate.extend.js
View file @
202bf1ce
...
...
@@ -37,6 +37,11 @@ $(document).ready(function(){
var
birth
=
/^
(
19|20
)\d{2}
-
(
1
[
0-2
]
|0
?[
1-9
])
-
(
0
?[
1-9
]
|
[
1-2
][
0-9
]
|3
[
0-1
])
$/
;
return
this
.
optional
(
element
)
||
(
birth
).
test
(
value
);
},
"出生日期格式示例2000-01-01"
);
//校验IP地址
jQuery
.
validator
.
addMethod
(
"isIp"
,
function
(
value
,
element
){
var
ip
=
/^
(?:(?:
2
[
0-4
][
0-9
]\.)
|
(?:
25
[
0-5
]\.)
|
(?:
1
[
0-9
][
0-9
]\.)
|
(?:[
1-9
][
0-9
]\.)
|
(?:[
0-9
]\.)){3}(?:(?:
2
[
0-4
][
0-9
])
|
(?:
25
[
0-5
])
|
(?:
1
[
0-9
][
0-9
])
|
(?:[
1-9
][
0-9
])
|
(?:[
0-9
]))
$/
;
return
this
.
optional
(
element
)
||
(
ip
).
test
(
value
);
},
"IP地址格式示例127.0.0.1"
);
//校验新旧密码是否相同
jQuery
.
validator
.
addMethod
(
"isdiff"
,
function
(){
var
p1
=
$
(
"#pwdOld"
).
val
();
...
...
ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css
View file @
202bf1ce
...
...
@@ -46,9 +46,12 @@
.mb20
{
margin-bottom
:
20px
;
}
.m
l
20
{
.m20
{
margin-left
:
20px
;
}
.m50
{
margin-left
:
50px
;
}
.img-xs
{
width
:
32px
;
height
:
32px
;
...
...
@@ -618,6 +621,13 @@ label {
margin
:
5px
15px
5px
0px
;
}
.select-list
li
p
{
float
:
left
;
width
:
80px
;
margin
:
5px
15px
5px
0px
;
text-align
:
right
;
}
.select-list
li
input
{
border
:
1px
solid
#ddd
;
border-radius
:
4px
;
...
...
@@ -748,6 +758,13 @@ label {
cursor
:
pointer
;
}
.select-title
{
color
:
#3d5266
;
font-size
:
15px
;
padding
:
10px
0px
;
font-weight
:
normal
;
}
/** 表格查询数据 **/
.table-striped
{
min-height
:
75%
;
...
...
@@ -894,4 +911,4 @@ label {
height
:
32px
;
display
:
block
;
float
:
left
;
}
}
\ No newline at end of file
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js
View file @
202bf1ce
...
...
@@ -82,6 +82,7 @@
columns
:
options
.
columns
,
// 显示列信息(*)
responseHandler
:
$
.
table
.
responseHandler
,
// 在加载服务器发送来的数据之前处理函数
onLoadSuccess
:
$
.
table
.
onLoadSuccess
,
// 当所有数据被加载时触发处理函数
exportOptions
:
options
.
exportOptions
,
// 前端导出忽略列索引
});
},
// 查询条件
...
...
ruoyi-admin/src/main/resources/templates/system/user/add.html
View file @
202bf1ce
...
...
@@ -232,7 +232,7 @@
var
options
=
{
title
:
'选择部门'
,
width
:
"380"
,
url
:
ctx
+
"system/dept/selectDeptTree/"
+
deptId
,
url
:
url
,
callBack
:
doSubmit
};
$
.
modal
.
openOptions
(
options
);
...
...
ruoyi-common/src/main/java/com/ruoyi/common/constant/ShiroConstants.java
View file @
202bf1ce
...
...
@@ -48,7 +48,7 @@ public interface ShiroConstants
public
static
final
String
CURRENT_ENABLED
=
"captchaEnabled"
;
/**
* 验证码
开关
* 验证码
类型
*/
public
static
final
String
CURRENT_TYPE
=
"captchaType"
;
...
...
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