Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bpm
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
王厚康
bpm
Commits
bdd53d59
Commit
bdd53d59
authored
Apr 23, 2019
by
Java-曹文达
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面优化
parent
ed961437
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
22 deletions
+32
-22
lie.png
src/main/resources/static/js/plugins/bootstrapselect/img/lie.png
+0
-0
sou1.png
src/main/resources/static/js/plugins/bootstrapselect/img/sou1.png
+0
-0
organizationList.html
src/main/resources/templates/user/organizationList.html
+32
-22
No files found.
src/main/resources/static/js/plugins/bootstrapselect/img/lie.png
0 → 100644
View file @
bdd53d59
1.21 KB
src/main/resources/static/js/plugins/bootstrapselect/img/sou1.png
View replaced file @
ed961437
View file @
bdd53d59
1.32 KB
|
W:
|
H:
1.25 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/main/resources/templates/user/organizationList.html
View file @
bdd53d59
...
...
@@ -49,6 +49,14 @@
.layui-table
th
{
text-align
:
center
;
}
body
.layui-layer-rim
.layui-layer-btn
a
{
background-color
:
#005ba7
;
color
:
white
;
}
body
.layui-layer-btn
div
{
margin-top
:
35px
;
}
body
.demo-class
.layui-layer-btn
a
{
background
:
#005ba7
;}
</style>
<body
style=
"width: 100%;"
>
<input
type=
"hidden"
id=
"pages"
>
...
...
@@ -314,7 +322,10 @@
function
gotoDetails
(
name
,
position
,
department
,
code
,
createdTime
){
var
content
=
'<div><p>人员名称:'
+
name
+
'</p><p>职位:'
+
position
+
'</p><p>部门:'
+
department
+
'</p><p>所属组织编码:'
+
code
+
'</p><p>加入时间:'
+
createdTime
+
'</p></div>'
;
layer
.
alert
(
content
)
layer
.
open
({
skin
:
'demo-class'
,
content
:
content
});
}
/*条件查询*/
...
...
@@ -396,11 +407,11 @@
function
edit
(
id
)
{
var
pId
=
$
(
"#pid"
).
val
();
if
(
pId
==
1
||
pId
==
''
){
var
content
=
'<div style="margin-top: 13px;margin-left: 27px;"><span ><b>组织名称:</b><input type="text" value="" placeholder="请输入组织名称" name="oName" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;margin-left: 16px;"/></span><br>
\
n'
+
'
\
t
\
t<span ><b>组织简写(英):</b><input type="text" value="" placeholder="请输入组织简写" name="abbreviationName" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;"/></span><br>
\
n'
;
var
content
=
'<div style="margin-
bottom:35px;margin-
top: 13px;margin-left: 27px;"><span ><b>组织名称:</b><input type="text" value="" placeholder="请输入组织名称" name="oName" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;margin-left: 16px;"/></span><br>
\
n'
+
'
\
t
\
t<
br><
span ><b>组织简写(英):</b><input type="text" value="" placeholder="请输入组织简写" name="abbreviationName" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;"/></span><br>
\
n'
;
}
else
{
var
content
=
'<div style="margin-top: 13px;margin-left: 27px;"><span ><b>人员名称:</b><input type="text" value="" placeholder="请输入人员名称" name="oName" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;margin-left: 16px;"/></span><br>
\
n'
+
'
\
t
\
t<
span ><b style="margin-left: 32px;
">职位:</b><input type="text" value="" placeholder="请输入职位" name="position" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px; margin-left: 16px;"/></span><br>
\
n'
;
'
\
t
\
t<
br><span ><b style="margin-left: 28px;margin-top: 10px
">职位:</b><input type="text" value="" placeholder="请输入职位" name="position" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px; margin-left: 16px;"/></span><br>
\
n'
;
}
//联系方式验证规则
var
tel
=
/^
[
1
][
3,4,5,6,7,8,9
][
0-9
]{9}
$/
;
...
...
@@ -412,8 +423,8 @@
type
:
1
,
title
:
'添加组织'
,
skin
:
'layui-layer-rim'
,
area
:[
'360px'
,
'3
3
0px'
],
area
:[
'360px'
,
'3
0
0px'
],
btnAlign
:
'c'
,
content
:
content
,
btn
:[
'保存'
,
'取消'
],
...
...
@@ -463,8 +474,8 @@
type
:
1
,
title
:
'添加组织'
,
skin
:
'layui-layer-rim'
,
area
:[
'360px'
,
'3
3
0px'
],
area
:[
'360px'
,
'3
0
0px'
],
btnAlign
:
'c'
,
content
:
content
,
btn
:[
'保存'
,
'取消'
],
...
...
@@ -517,16 +528,16 @@
var
pId
=
$
(
"#pid"
).
val
();
var
id
=
$
(
"#id"
).
val
();
if
(
type
==
1
){
var
content
=
'<div style="margin-top: 13px;margin-left: 27px;"><span ><b>组织名称:</b><input type="text" value="" placeholder="请输入组织名称" name="oName" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;margin-left: 26px;"/></span><br>
\
n'
+
'
\
t
\
t<span ><b>组织简写(英):</b><input type="text" value="" placeholder="请输入组织简写" name="abbreviationName" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;"/></span><br>
\
n'
;
var
content
=
'<div style="margin-
bottom: 45px;margin-
top: 13px;margin-left: 27px;"><span ><b>组织名称:</b><input type="text" value="" placeholder="请输入组织名称" name="oName" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;margin-left: 26px;"/></span><br>
\
n'
+
'
\
t
\
t<
br><
span ><b>组织简写(英):</b><input type="text" value="" placeholder="请输入组织简写" name="abbreviationName" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;"/></span><br>
\
n'
;
}
else
if
(
pId
==
1
&&
type
==
2
){
var
content
=
'<div style="margin-top: 13px;margin-left: 27px;"><span ><b>人员名称:</b><input type="text" value="" placeholder="请输入人员名称" name="oName" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;margin-left: 16px;"/></span><br>
\
n'
+
'
\
t
\
t<span ><b>所在部门:</b><select name="areaId" id="areaId" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;margin-left: 16px;width: 159px;"></select></span><br>
\
n'
+
'
\
t
\
t<
span ><b style="margin-left: 32px;
">职位:</b><input type="text" value="" placeholder="请输入职位" name="position" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px; margin-left: 16px;"/></span><br>
\
n'
;
'
\
t
\
t<
br><
span ><b>所在部门:</b><select name="areaId" id="areaId" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;margin-left: 16px;width: 159px;"></select></span><br>
\
n'
+
'
\
t
\
t<
br><span ><b style="margin-left: 28px;margin-top: 10px
">职位:</b><input type="text" value="" placeholder="请输入职位" name="position" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px; margin-left: 16px;"/></span><br>
\
n'
;
}
else
{
var
content
=
'<div style="margin-top: 13px;margin-left: 27px;"><span ><b>人员名称:</b><input type="text" value="" placeholder="请输入人员名称" name="oName" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;margin-left: 16px;"/></span><br>
\
n'
+
'
\
t
\
t<
span ><b style="margin-left: 32px;
">职位:</b><input type="text" value="" placeholder="请输入职位" name="position" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px; margin-left: 16px;"/></span><br>
\
n'
;
var
content
=
'<div style="margin-
bottom: 45px;margin-
top: 13px;margin-left: 27px;"><span ><b>人员名称:</b><input type="text" value="" placeholder="请输入人员名称" name="oName" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px;margin-left: 16px;"/></span><br>
\
n'
+
'
\
t
\
t<
br><span ><b style="margin-left: 28px;margin-top: 10px
">职位:</b><input type="text" value="" placeholder="请输入职位" name="position" style="color: black;height: 30px;border: 1px solid #EEEEEE;text-indent: 5px; margin-left: 16px;"/></span><br>
\
n'
;
}
//联系方式验证规则
var
tel
=
/^
[
1
][
3,4,5,6,7,8,9
][
0-9
]{9}
$/
;
...
...
@@ -556,8 +567,8 @@
type
:
1
,
title
:
'添加组织'
,
skin
:
'layui-layer-rim'
,
area
:[
'360px'
,
'3
3
0px'
],
area
:[
'360px'
,
'3
0
0px'
],
btnAlign
:
'c'
,
content
:
content
,
btn
:[
'保存'
,
'取消'
],
...
...
@@ -600,8 +611,8 @@
type
:
1
,
title
:
'添加部门人员'
,
skin
:
'layui-layer-rim'
,
area
:[
'360px'
,
'3
3
0px'
],
area
:[
'360px'
,
'3
0
0px'
],
btnAlign
:
'c'
,
content
:
content
,
btn
:[
'保存'
,
'取消'
],
...
...
@@ -646,10 +657,9 @@
type
:
1
,
title
:
'添加部门人员'
,
skin
:
'layui-layer-rim'
,
area
:[
'360px'
,
'330px'
],
content
:
content
,
area
:[
'360px'
,
'300px'
],
btnAlign
:
'c'
,
content
:
content
,
btn
:[
'保存'
,
'取消'
],
btn1
:
function
(
index
,
layero
)
{
var
name
=
$
(
"[name='oName']"
).
val
();
...
...
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