Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
account
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e6d1ee17
authored
Oct 25, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
合并
2 parents
8f83cd57
8302017d
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
292 additions
and
111 deletions
css/commonResetIndex.css
css/layui.css
css/main.css
html/employee/add.html
html/employee/detail.html
html/employee/index.html
html/employee/validPeriod.html
html/merchant/add.html
html/merchant/detail.html
html/merchant/edit.html
html/merchant/index.html
html/merchant/validPeriodForm.html
html/role/add.html
index.html
css/commonResetIndex.css
View file @
e6d1ee1
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
.mt40
{
.mt40
{
margin-top
:
40px
;
margin-top
:
40px
;
}
}
.
updateCircleAngle
{
#
updateCircleAngle
{
border-top-left-radius
:
0
;
border-top-left-radius
:
0
;
border-bottom-left-radius
:
0
;
border-bottom-left-radius
:
0
;
border-left
:
none
;
border-left
:
none
;
...
...
css/layui.css
View file @
e6d1ee1
...
@@ -70,6 +70,7 @@
...
@@ -70,6 +70,7 @@
height
:
14px
;
height
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
line-height
:
14px
;
line-height
:
14px
;
cursor
:
pointer
;
}
}
.layui-btn-xs
:hover
{
.layui-btn-xs
:hover
{
...
@@ -178,6 +179,7 @@ border-color: var(--borderBlue)!important;
...
@@ -178,6 +179,7 @@ border-color: var(--borderBlue)!important;
line-height: 20px;
line-height: 20px;
} */
} */
.layui-table-cell
{
.layui-table-cell
{
/* min-height: 54px; */
height
:
auto
;
height
:
auto
;
/* line-height: 20px; */
/* line-height: 20px; */
...
@@ -193,10 +195,18 @@ border-color: var(--borderBlue)!important;
...
@@ -193,10 +195,18 @@ border-color: var(--borderBlue)!important;
word-break
:
break-all
;
word-break
:
break-all
;
padding
:
0
6px
;
padding
:
0
6px
;
}
}
.layui-table-view
.layui-table
td
{
.layui-table
tr
{
padding
:
13px
0
;
display
:
flex
;
}
.layui-table-view
.layui-table
td
,
.layui-table-view
.layui-table
th
{
/* padding: 13px 0; */
padding
:
0px
0
;
border-top
:
none
;
border-top
:
none
;
border-left
:
none
;
border-left
:
none
;
min-height
:
54px
;
display
:
flex
;
align-items
:
center
;
}
}
/* .layui-table-cell, .layui-table-tool-panel li{
/* .layui-table-cell, .layui-table-tool-panel li{
white-space: pre-wrap;
white-space: pre-wrap;
...
@@ -312,4 +322,13 @@ border-color: var(--borderBlue)!important;
...
@@ -312,4 +322,13 @@ border-color: var(--borderBlue)!important;
box-shadow
:
none
;
box-shadow
:
none
;
/* 0 2px 5px 0 rgb(0 0 0 / 10%) */
/* 0 2px 5px 0 rgb(0 0 0 / 10%) */
}
}
/* layui时间选择器 */
.laydate-footer-btns
span
:hover
{
color
:
var
(
--btnBlue
)
!important
;
}
.laydate-set-ym
span
:hover
{
color
:
var
(
--btnBlue
)
!important
;
}
.layui-laydate-header
i
:hover
,
.layui-laydate-header
span
:hover
{
color
:
var
(
--btnBlue
)
!important
;
}
css/main.css
View file @
e6d1ee1
...
@@ -121,10 +121,7 @@ main {
...
@@ -121,10 +121,7 @@ main {
height
:
100%
;
height
:
100%
;
}
}
main
.table-page
{
main
.table-page
{
/* background-color: #ffffff; */
margin-top
:
16px
;
margin-top
:
16px
;
/* margin:15px 20px; */
/* padding: 5px; */
}
}
main
.table-page
tr
th
:last-child
.layui-table-cell
{
main
.table-page
tr
th
:last-child
.layui-table-cell
{
text-align
:
center
;
text-align
:
center
;
...
@@ -252,6 +249,114 @@ footer {
...
@@ -252,6 +249,114 @@ footer {
.layui-no-data
.no-data
div
{
.layui-no-data
.no-data
div
{
margin-top
:
12px
;
margin-top
:
12px
;
}
}
/* .tabmutiple-content-wrap .layui-form-checked span, .layui-form-checked:hover span {
.removeCheckBg
.layui-form-checked
:hover
span
{
/* .layui-form-checked span, */
background-color
:
#fff
;
background-color
:
#fff
;
}
/* 修改下拉框和输入框链接的圆角 */
.updateCircleAngle
{
border-top-left-radius
:
0
;
border-bottom-left-radius
:
0
;
border-left
:
none
;
}
#updateCircleAngle
{
border-top-left-radius
:
0
;
border-bottom-left-radius
:
0
;
border-left
:
none
;
}
.updateSelectAngle
.layui-select-title
.layui-input
{
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
}
/* .detail .wrapper-tree */
/*滚动条样式 detail .wrapper-tree layui-table-main */
.wrapper-tree
::-webkit-scrollbar
{
width
:
10px
;
height
:
10px
;
/* display: none; */
}
/*正常情况下滑块的样式*/
.wrapper-tree
::-webkit-scrollbar-thumb
{
background-color
:
rgba
(
0
,
0
,
0
,
0.05
);
border-radius
:
10px
;
box-shadow
:
inset
1px
1px
0
rgba
(
0
,
0
,
0
,
0.1
);
}
/*鼠标悬浮在该类指向的控件上时滑块的样式*/
.wrapper-tree
::-webkit-scrollbar-thumb
{
/* background-color: rgba(0, 0, 0, 0.2); */
background
:
#e9e8ff
;
border-radius
:
10px
;
box-shadow
:
inset
1px
1px
0
rgba
(
0
,
0
,
0
,
0.1
);
}
/*鼠标悬浮在滑块上时滑块的样式*/
/* &::-webkit-scrollbar-thumb:hover {
background-color: rgba(0, 0, 0, 0.4);
box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
} */
/*正常时候的主干部分*/
.wrapper-tree
::-webkit-scrollbar-track
{
border-radius
:
10px
;
box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0
);
background-color
:
white
;
}
/*ztree*/
.ztree
::-webkit-scrollbar
{
width
:
10px
;
height
:
10px
;
/* display: none; */
}
/*正常情况下滑块的样式*/
.ztree
::-webkit-scrollbar-thumb
{
background-color
:
rgba
(
0
,
0
,
0
,
0.05
);
border-radius
:
10px
;
box-shadow
:
inset
1px
1px
0
rgba
(
0
,
0
,
0
,
0.1
);
}
/*鼠标悬浮在该类指向的控件上时滑块的样式*/
.ztree
::-webkit-scrollbar-thumb
{
/* background-color: rgba(0, 0, 0, 0.2); */
background
:
#e9e8ff
;
border-radius
:
10px
;
box-shadow
:
inset
1px
1px
0
rgba
(
0
,
0
,
0
,
0.1
);
}
/*鼠标悬浮在滑块上时滑块的样式*/
/* &::-webkit-scrollbar-thumb:hover {
background-color: rgba(0, 0, 0, 0.4);
box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
} */
} */
/*正常时候的主干部分*/
.ztree
::-webkit-scrollbar-track
{
border-radius
:
10px
;
box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0
);
background-color
:
white
;
}
\ No newline at end of file
\ No newline at end of file
html/employee/add.html
View file @
e6d1ee1
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
}
}
.edit-box
{
.edit-box
{
padding
:
20px
20px
;
padding
:
0
20px
20px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#333333
;
color
:
#333333
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
.edit-box
.grayLine
{
.edit-box
.grayLine
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
6
8px
;
top
:
4
8px
;
background-color
:
#d8d8d8
;
background-color
:
#d8d8d8
;
width
:
100%
;
width
:
100%
;
height
:
1px
;
height
:
1px
;
...
...
html/employee/detail.html
View file @
e6d1ee1
...
@@ -49,8 +49,11 @@
...
@@ -49,8 +49,11 @@
position
:
relative
;
position
:
relative
;
min-height
:
238px
;
min-height
:
238px
;
}
}
.topwrap
,
.topmidwrap
{
.topmidwrap
{
min-height
:
calc
(
100vh
-
480px
);
/* min-height: calc(100vh - 480px); */
padding-bottom
:
10px
;
}
}
.topbottomwrap
{
.topbottomwrap
{
min-height
:
calc
(
100vh
-
200px
);
min-height
:
calc
(
100vh
-
200px
);
...
@@ -93,21 +96,25 @@
...
@@ -93,21 +96,25 @@
color
:
#5850ff
;
color
:
#5850ff
;
background-color
:
#f4f6fc
;
background-color
:
#f4f6fc
;
}
}
.wrapper
,
.detail
{
padding-bottom
:
100px
;
}
</style>
</style>
<body>
<body>
<div
id=
"app"
>
<div
id=
"app"
>
<main
class=
"wrapper detail"
>
<main
class=
"wrapper detail"
>
<div
class=
"layui-tab layui-tab-brief"
lay-filter=
"editTab"
>
<div
class=
"layui-tab layui-tab-brief"
lay-filter=
"editTab"
>
<ul
class=
"layui-tab-title employeeDetail"
>
<ul
class=
"layui-tab-title employeeDetail"
>
<li
lay-id=
"1"
class=
"layui-this"
>
基本信息
</li>
<li
lay-id=
"1"
style=
"padding: 0; width: 90px; margin-right: 20px"
class=
"layui-this"
>
基本信息
</li>
<li
lay-id=
"2"
>
账户权限
</li>
<li
lay-id=
"2"
style=
"padding: 0; width: 90px; margin-right: 20px"
>
账户权限
</li>
<li
lay-id=
"3"
>
修改记录
</li>
<li
lay-id=
"3"
style=
"padding: 0; width: 90px"
>
修改记录
</li>
</ul>
</ul>
<div
class=
"layui-tab-content"
>
<div
class=
"layui-tab-content"
>
<div
class=
"layui-tab-item layui-show"
>
<div
class=
"layui-tab-item layui-show"
>
<div
class=
"topwrap"
>
<div
class=
"topwrap"
>
<div
class=
"grayLine"
></div>
<div
class=
"grayLine"
></div>
<h3
class=
"content-title"
id=
"basic"
>
<h3
class=
"content-title
sub-title
"
id=
"basic"
>
员工基本信息
员工基本信息
<div
class=
"title-right"
id=
"merchantName"
></div>
<div
class=
"title-right"
id=
"merchantName"
></div>
</h3>
</h3>
...
@@ -169,12 +176,14 @@
...
@@ -169,12 +176,14 @@
</div>
</div>
</div>
</div>
<div
class=
"layui-tab-item"
>
<div
class=
"layui-tab-item"
>
<div
class=
"bottomwrap"
style=
"margin-bottom: 80px"
>
<div
class=
"bottomwrap"
style=
"margin-bottom: 80px
; padding: 0 20px
"
>
<div
class=
"grayLine"
></div>
<div
class=
"grayLine"
></div>
<h3
class=
"content-title sub-title"
id=
"record"
>
修改记录
</h3>
<h3
class=
"content-title sub-title"
id=
"record"
>
修改记录
</h3>
<div
class=
"layui-tab tabmutiple-content"
>
<div
class=
"layui-tab tabmutiple-content"
>
<table
class=
"layui-table"
id=
"recordTable"
style=
"padding-left: 20px"
></table>
<div
class=
"table-page"
>
<div
id=
"recordPage"
class=
"align-left"
style=
"margin-top: 20px; padding-left: 20px"
></div>
<table
class=
"layui-table"
id=
"recordTable"
></table>
<div
id=
"recordPage"
class=
"align-left"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -254,24 +263,25 @@
...
@@ -254,24 +263,25 @@
{
{
field
:
'ip'
,
field
:
'ip'
,
title
:
'登录IP'
,
title
:
'登录IP'
,
align
:
'center'
,
align
:
'center'
width
:
120
},
},
{
{
field
:
'modifyContent'
,
field
:
'modifyContent'
,
title
:
'修改内容'
,
title
:
'修改内容'
,
align
:
'center'
align
:
'center'
,
width
:
220
},
},
{
{
field
:
'userName'
,
field
:
'userName'
,
title
:
'操作人'
,
title
:
'操作人'
,
align
:
'center'
align
:
'center'
,
width
:
180
},
},
{
{
field
:
'createdTime'
,
field
:
'createdTime'
,
title
:
'操作时间'
,
title
:
'操作时间'
,
align
:
'center'
,
align
:
'center'
,
width
:
18
0
width
:
20
0
}
}
]
]
]
]
...
...
html/employee/index.html
View file @
e6d1ee1
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
,
width
:
80
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
,
width
:
80
},
{
field
:
'createdAccount'
,
title
:
'创建者'
,
align
:
'center'
},
{
field
:
'createdAccount'
,
title
:
'创建者'
,
align
:
'center'
},
{
field
:
'merchantName'
,
title
:
'商户名(商户号)'
,
align
:
'center'
,
width
:
160
},
{
field
:
'merchantName'
,
title
:
'商户名(商户号)'
,
align
:
'center'
,
width
:
160
},
{
field
:
'updatedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
11
0
},
{
field
:
'updatedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
9
0
},
{
title
:
'操作'
,
width
:
160
,
align
:
'left'
,
toolbar
:
'#employeeBar'
},
{
title
:
'操作'
,
width
:
160
,
align
:
'left'
,
toolbar
:
'#employeeBar'
},
{
field
:
'statusName'
,
title
:
'启用开关'
,
width
:
85
,
templet
:
'#switchTpl'
,
unresize
:
true
}
{
field
:
'statusName'
,
title
:
'启用开关'
,
width
:
85
,
templet
:
'#switchTpl'
,
unresize
:
true
}
]
]
...
...
html/employee/validPeriod.html
View file @
e6d1ee1
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"zh"
>
<html
lang=
"zh"
>
<head>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<meta
content=
"IE=edge"
/>
<meta
content=
"IE=edge"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
...
@@ -17,21 +16,21 @@
...
@@ -17,21 +16,21 @@
}
}
</style>
</style>
<title>
修改有效期
</title>
<title>
修改有效期
</title>
</head>
</head>
<body>
<body>
<div
id=
"app"
>
<div
id=
"app"
>
<main
class=
"valid-period"
>
<main
class=
"valid-period"
>
<form
class=
"layui-form"
lay-filter=
"periodFilter"
>
<form
class=
"layui-form"
lay-filter=
"periodFilter"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-label required"
style=
"width: 120px;
"
>
账户有效期:
</div>
<div
class=
"layui-form-label required"
style=
"width: 120px
"
>
账户有效期:
</div>
<div
class=
"layui-input-inline"
style=
"width: auto;
"
>
<div
class=
"layui-input-inline"
style=
"width: auto
"
>
<select
name=
"effectiveTime"
id=
"periodSelect"
required
lay-verify=
"required"
>
<select
name=
"effectiveTime"
id=
"periodSelect"
required
lay-verify=
"required"
>
<option
value=
""
>
请选择
</option>
<option
value=
""
>
请选择
</option>
</select>
</select>
<p
class=
"input-downtips"
>
(注:永久有效不超过所属工厂商户的有效期)
</p>
<p
class=
"input-downtips"
>
(注:永久有效不超过所属工厂商户的有效期)
</p>
</div>
</div>
<button
id=
"periodVerifyBtn"
lay-submit
lay-filter=
"periodSubmit"
style=
"display: none;
"
></button>
<button
id=
"periodVerifyBtn"
lay-submit
lay-filter=
"periodSubmit"
style=
"display: none
"
></button>
<!-- <div class="layui-form-item" style="padding: 40px 20px;">
<!-- <div class="layui-form-item" style="padding: 40px 20px;">
<div class="layui-input-inline">
<div class="layui-input-inline">
<button class="layui-btn layui-btn-sm" lay-submit lay-filter="validSubmit">立即提交</button>
<button class="layui-btn layui-btn-sm" lay-submit lay-filter="validSubmit">立即提交</button>
...
@@ -88,10 +87,12 @@
...
@@ -88,10 +87,12 @@
// 获取有效期
// 获取有效期
function
getVaildPeriod
()
{
function
getVaildPeriod
()
{
request
({
request
(
{
method
:
'cn.com.glsx.merchants.menu.findAllDictData'
,
method
:
'cn.com.glsx.merchants.menu.findAllDictData'
,
dictType
:
'staff_validity_period'
dictType
:
'staff_validity_period'
},
function
(
res
)
{
},
function
(
res
)
{
if
(
res
.
code
===
'0'
)
{
if
(
res
.
code
===
'0'
)
{
baseData
.
effectiveTimeList
=
res
.
data
baseData
.
effectiveTimeList
=
res
.
data
var
periodSelect
=
$
(
'#periodSelect'
)
var
periodSelect
=
$
(
'#periodSelect'
)
...
@@ -104,10 +105,10 @@
...
@@ -104,10 +105,10 @@
console
.
log
(
vaildData
.
effectiveTime
)
console
.
log
(
vaildData
.
effectiveTime
)
form
.
render
(
'select'
)
form
.
render
(
'select'
)
}
}
})
}
)
}
}
})
})
</script>
</script>
</body>
</body>
</html>
</html>
html/merchant/add.html
View file @
e6d1ee1
...
@@ -148,13 +148,11 @@
...
@@ -148,13 +148,11 @@
padding
:
0
20px
;
padding
:
0
20px
;
width
:
100%
;
width
:
100%
;
}
}
/* .Wrap {
margin: 8px auto 0;
width: 1046px;
} */
.layui-tab-content
{
.layui-tab-content
{
position
:
relative
;
position
:
relative
;
}
}
.layui-no-data
{
.layui-no-data
{
width
:
100%
;
width
:
100%
;
height
:
500px
;
height
:
500px
;
...
@@ -185,6 +183,11 @@
...
@@ -185,6 +183,11 @@
#basicForm
{
#basicForm
{
margin-bottom
:
87px
;
margin-bottom
:
87px
;
}
}
#merchantOrgcodeEl
{
border-top-left-radius
:
0
;
border-bottom-left-radius
:
0
;
border-left
:
none
;
}
</style>
</style>
<title>
商户编辑
</title>
<title>
商户编辑
</title>
</head>
</head>
...
@@ -244,7 +247,7 @@
...
@@ -244,7 +247,7 @@
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
商户类型:
</label>
<label
class=
"layui-form-label"
>
商户类型:
</label>
<div
class=
"layui-input-inline"
style=
"width: 100px; margin: 0"
>
<div
class=
"layui-input-inline
updateSelectAngle
"
style=
"width: 100px; margin: 0"
>
<select
name=
"merchantType"
id=
"merchantTypeEl"
lay-filter=
"merchantTypeFilter"
>
<select
name=
"merchantType"
id=
"merchantTypeEl"
lay-filter=
"merchantTypeFilter"
>
<option
value=
"1"
>
个人
</option>
<option
value=
"1"
>
个人
</option>
<option
value=
"2"
>
企业
</option>
<option
value=
"2"
>
企业
</option>
...
@@ -271,7 +274,7 @@
...
@@ -271,7 +274,7 @@
<div
class=
"layui-col-md6"
>
<div
class=
"layui-col-md6"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label required"
>
联系电话:
</label>
<label
class=
"layui-form-label required"
>
联系电话:
</label>
<div
class=
"layui-input-inline"
>
<div
class=
"layui-input-inline
removeCheckBg
"
>
<input
class=
"layui-input"
name=
"merchantLegalPersonPhone"
maxlength=
"11"
required
lay-verify=
"required|phone"
placeholder=
"请输入联系电话"
/>
<input
class=
"layui-input"
name=
"merchantLegalPersonPhone"
maxlength=
"11"
required
lay-verify=
"required|phone"
placeholder=
"请输入联系电话"
/>
<input
type=
"checkbox"
name=
"isloginName"
lay-filter=
"encrypt"
lay-skin=
"primary"
title=
"联系电话同时作为登录账户名"
/>
<input
type=
"checkbox"
name=
"isloginName"
lay-filter=
"encrypt"
lay-skin=
"primary"
title=
"联系电话同时作为登录账户名"
/>
</div>
</div>
...
@@ -316,7 +319,7 @@
...
@@ -316,7 +319,7 @@
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
营业范围:
</label>
<label
class=
"layui-form-label"
>
营业范围:
</label>
<div
class=
"layui-input-inline"
id=
"busiScopeEl"
></div>
<div
class=
"layui-input-inline
removeCheckBg
"
id=
"busiScopeEl"
></div>
</div>
</div>
<div
class=
"layui-form-item"
id=
"custom-scope"
>
<div
class=
"layui-form-item"
id=
"custom-scope"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
...
@@ -341,7 +344,7 @@
...
@@ -341,7 +344,7 @@
<label
class=
"layui-form-label"
>
主营品牌:
</label>
<label
class=
"layui-form-label"
>
主营品牌:
</label>
<div
class=
"layui-input-inline"
>
<div
class=
"layui-input-inline"
>
<input
class=
"layui-input"
placeholder=
"车型品牌"
id=
"brand"
/>
<input
class=
"layui-input"
placeholder=
"车型品牌"
id=
"brand"
/>
<div
id=
"carBrandTree"
style=
"height: 200px; overflow-y: scroll"
></div>
<div
id=
"carBrandTree"
class=
"wrapper-tree"
style=
"height: 200px; overflow-y: scroll"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
html/merchant/detail.html
View file @
e6d1ee1
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
.merchant-content
#secondmerchantName
{
.merchant-content
#secondmerchantName
{
margin-left
:
15px
;
margin-left
:
15px
;
width
:
2
5
0px
;
width
:
2
4
0px
;
height
:
24px
;
height
:
24px
;
font-size
:
16px
;
font-size
:
16px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
...
@@ -65,6 +65,7 @@
...
@@ -65,6 +65,7 @@
width
:
340px
;
width
:
340px
;
margin-right
:
20px
;
margin-right
:
20px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow
:
auto
;
}
}
.ztree
.wrapper-tree
{
.ztree
.wrapper-tree
{
overflow
:
auto
;
overflow
:
auto
;
...
@@ -93,10 +94,10 @@
...
@@ -93,10 +94,10 @@
width
:
300px
;
width
:
300px
;
height
:
36px
;
height
:
36px
;
font-size
:
16px
;
font-size
:
16px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#333333
;
color
:
#333333
;
line-height
:
36
px
;
line-height
:
22
px
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
white-space
:
nowrap
;
...
@@ -117,6 +118,7 @@
...
@@ -117,6 +118,7 @@
text-align
:
left
;
text-align
:
left
;
color
:
#999
;
color
:
#999
;
background-color
:
#fff
;
background-color
:
#fff
;
padding
:
0
20px
;
/* padding: 0 10px; */
/* padding: 0 10px; */
/* margin: 0 10px; */
/* margin: 0 10px; */
}
}
...
@@ -163,9 +165,10 @@
...
@@ -163,9 +165,10 @@
background-color
:
#fff
;
background-color
:
#fff
;
}
}
.layui-this
{
.
powerlimt
.
layui-this
{
background-color
:
#fff
;
/* background-color: #fff; */
border
:
2px
solid
#fff
;
border
:
2px
solid
#fff
;
/* border-top-left-radius: 4px;
/* border-top-left-radius: 4px;
border-top-right-radius: 4px; */
border-top-right-radius: 4px; */
}
}
...
@@ -207,6 +210,12 @@
...
@@ -207,6 +210,12 @@
width
:
100%
;
width
:
100%
;
height
:
1px
;
height
:
1px
;
}
}
.companyMsg
.layui-word-aux
{
color
:
#999
!important
;
padding-left
:
20px
!important
;
padding-right
:
5px
!important
;
padding-top
:
6px
;
}
.account-type-span
{
.account-type-span
{
display
:
inline-block
;
display
:
inline-block
;
/* width: 100px; */
/* width: 100px; */
...
@@ -315,7 +324,7 @@
...
@@ -315,7 +324,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"MsgWrap clearfix"
style=
"margin-bottom: 100px"
>
<div
class=
"MsgWrap c
ompanyMsg c
learfix"
style=
"margin-bottom: 100px"
>
<div
class=
"grayLine"
></div>
<div
class=
"grayLine"
></div>
<h3
class=
"content-title"
>
企业信息
</h3>
<h3
class=
"content-title"
>
企业信息
</h3>
<div
class=
"detail-content clearfix"
>
<div
class=
"detail-content clearfix"
>
...
@@ -323,7 +332,7 @@
...
@@ -323,7 +332,7 @@
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
商户名称:
</label>
<label
class=
"layui-form-label"
>
商户名称:
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
<div
class=
"layui-
form-mid layui-
word-aux"
id=
"merchantName"
></div>
<div
class=
"layui-word-aux"
id=
"merchantName"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -331,7 +340,8 @@
...
@@ -331,7 +340,8 @@
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
简称:
</label>
<label
class=
"layui-form-label"
>
简称:
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
<div
class=
"layui-form-mid layui-word-aux"
id=
"merchantAbbreviation"
></div>
<!-- layui-form-mid -->
<div
class=
"layui-word-aux"
id=
"merchantAbbreviation"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -339,7 +349,8 @@
...
@@ -339,7 +349,8 @@
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
商户类型:
</label>
<label
class=
"layui-form-label"
>
商户类型:
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
<div
class=
"layui-form-mid layui-word-aux"
id=
"merchantTypeName"
></div>
<!-- layui-form-mid -->
<div
class=
"layui-word-aux"
id=
"merchantTypeName"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -348,7 +359,8 @@
...
@@ -348,7 +359,8 @@
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
id=
"orgTxt"
>
身份证:
</label>
<label
class=
"layui-form-label"
id=
"orgTxt"
>
身份证:
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
<div
class=
"layui-form-mid layui-word-aux"
id=
"merchantOrgcode"
></div>
<!-- layui-form-mid -->
<div
class=
"layui-word-aux"
id=
"merchantOrgcode"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -357,7 +369,8 @@
...
@@ -357,7 +369,8 @@
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
地址:
</label>
<label
class=
"layui-form-label"
>
地址:
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
<div
class=
"layui-form-mid layui-word-aux"
id=
"merchantAddress"
></div>
<!-- layui-form-mid -->
<div
class=
"layui-word-aux"
id=
"merchantAddress"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -366,7 +379,8 @@
...
@@ -366,7 +379,8 @@
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
联系人:
</label>
<label
class=
"layui-form-label"
>
联系人:
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
<div
class=
"layui-form-mid layui-word-aux"
id=
"merchantLegalPerson"
></div>
<!-- layui-form-mid -->
<div
class=
"layui-word-aux"
id=
"merchantLegalPerson"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -375,7 +389,8 @@
...
@@ -375,7 +389,8 @@
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
联系电话:
</label>
<label
class=
"layui-form-label"
>
联系电话:
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
<div
class=
"layui-form-mid layui-word-aux"
id=
"merchantLegalPersonPhone"
></div>
<!-- layui-form-mid -->
<div
class=
"layui-word-aux"
id=
"merchantLegalPersonPhone"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -384,7 +399,8 @@
...
@@ -384,7 +399,8 @@
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
营业范围:
</label>
<label
class=
"layui-form-label"
>
营业范围:
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
<div
class=
"layui-form-mid layui-word-aux"
id=
"businessScopName"
></div>
<!-- layui-form-mid -->
<div
class=
"layui-word-aux"
id=
"businessScopName"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -393,7 +409,8 @@
...
@@ -393,7 +409,8 @@
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
主营品牌:
</label>
<label
class=
"layui-form-label"
>
主营品牌:
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
<div
class=
"layui-form-mid layui-word-aux"
id=
"merchantBrandName"
></div>
<!-- layui-form-mid -->
<div
class=
"layui-word-aux"
id=
"merchantBrandName"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
html/merchant/edit.html
View file @
e6d1ee1
...
@@ -9,6 +9,21 @@
...
@@ -9,6 +9,21 @@
<meta
name=
"keywords"
itemprop=
"keywords"
content=
"广联,帐户管理,员工管理"
/>
<meta
name=
"keywords"
itemprop=
"keywords"
content=
"广联,帐户管理,员工管理"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/main.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/main.css"
/>
<style>
<style>
.grayBgWrap
{
padding-bottom
:
100px
;
}
.grayBgWrap
.layui-tree-box
{
padding
:
0
;
background-color
:
#fff
;
}
/* .contentGrayBg */
.contentGrayBg
.layui-this
{
background-color
:
#fff
;
border
:
2px
solid
#fff
;
}
.contentGrayBg
.layui-tab
{
border
:
10px
solid
#f4f6fc
;
}
.clearfix
{
.clearfix
{
zoom
:
1
;
zoom
:
1
;
}
}
...
@@ -179,12 +194,12 @@
...
@@ -179,12 +194,12 @@
<body>
<body>
<div
id=
"app"
>
<div
id=
"app"
>
<main>
<main>
<div
class=
"layui-tab layui-top-tab layui-tab-brief"
lay-filter=
"editTab"
>
<div
class=
"layui-tab layui-top-tab layui-tab-brief
grayBgWrap
"
lay-filter=
"editTab"
>
<ul
class=
"layui-tab-title"
>
<ul
class=
"layui-tab-title"
>
<li
lay-id=
"2"
id=
"functional"
class=
"layui-this"
style=
"padding: 0; width: 90px; margin-right: 20px"
>
修改功能权限
</li>
<li
lay-id=
"2"
id=
"functional"
class=
"layui-this"
style=
"padding: 0; width: 90px; margin-right: 20px"
>
修改功能权限
</li>
<li
lay-id=
"1"
id=
"basic"
style=
"padding: 0; width: 90px"
>
修改基本信息
</li>
<li
lay-id=
"1"
id=
"basic"
style=
"padding: 0; width: 90px"
>
修改基本信息
</li>
</ul>
</ul>
<div
class=
"layui-tab-content m-t-md"
>
<div
class=
"layui-tab-content m-t-md
removeCheckBg
"
>
<!-- 权限树 -->
<!-- 权限树 -->
<div
class=
"layui-tab-item layui-show edit-box"
>
<div
class=
"layui-tab-item layui-show edit-box"
>
<div
id=
"authorityTree"
>
<div
id=
"authorityTree"
>
...
@@ -198,7 +213,7 @@
...
@@ -198,7 +213,7 @@
<!-- </div> -->
<!-- </div> -->
<div
class=
"layui-tab"
lay-filter=
"roleAuth"
>
<div
class=
"layui-tab"
lay-filter=
"roleAuth"
>
<ul
class=
"layui-tab-title"
></ul>
<ul
class=
"layui-tab-title"
></ul>
<div
class=
"layui-tab-content"
></div>
<div
class=
"layui-tab-content
contentGrayBg
"
></div>
</div>
</div>
<div
class=
"footer-close"
>
<div
class=
"footer-close"
>
<!-- <button id="draft" class="layui-btn">存草稿</button> -->
<!-- <button id="draft" class="layui-btn">存草稿</button> -->
...
@@ -368,7 +383,7 @@
...
@@ -368,7 +383,7 @@
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
营业范围:
</label>
<label
class=
"layui-form-label"
>
营业范围:
</label>
<div
class=
"layui-input-inline"
id=
"busiScopeEl"
></div>
<div
class=
"layui-input-inline
removeCheckBg
"
id=
"busiScopeEl"
></div>
</div>
</div>
<div
class=
"layui-form-item"
id=
"custom-scope"
>
<div
class=
"layui-form-item"
id=
"custom-scope"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
...
...
html/merchant/index.html
View file @
e6d1ee1
...
@@ -48,15 +48,6 @@
...
@@ -48,15 +48,6 @@
.commonInput
{
.commonInput
{
width
:
260px
;
width
:
260px
;
}
}
.updateSelectAngle
.layui-select-title
.layui-input
{
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
}
#updateCircleAngle
{
border-top-left-radius
:
0
;
border-bottom-left-radius
:
0
;
border-left
:
none
;
}
#relevancyBtn
{
#relevancyBtn
{
display
:
flex
;
display
:
flex
;
...
@@ -74,7 +65,7 @@
...
@@ -74,7 +65,7 @@
display
:
inline-block
;
display
:
inline-block
;
}
}
.merchantTable
.layui-table-cell
{
.merchantTable
.layui-table-cell
{
height
:
auto
;
/* height: auto; */
/* line-height: 88px; */
/* line-height: 88px; */
white-space
:
normal
;
white-space
:
normal
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -303,7 +294,7 @@
...
@@ -303,7 +294,7 @@
field
:
'accountTypeNames'
,
field
:
'accountTypeNames'
,
title
:
'账户类型'
,
title
:
'账户类型'
,
align
:
'left'
,
align
:
'left'
,
width
:
1
0
0
,
width
:
1
4
0
,
templet
:
'#accountTypeTpl'
templet
:
'#accountTypeTpl'
},
},
{
{
...
@@ -384,8 +375,8 @@
...
@@ -384,8 +375,8 @@
{
{
field
:
'merchantName'
,
field
:
'merchantName'
,
title
:
'商户名称'
,
title
:
'商户名称'
,
align
:
'center'
,
align
:
'center'
width
:
150
//
width: 150
},
},
{
{
field
:
'entmicroName'
,
field
:
'entmicroName'
,
...
@@ -440,7 +431,7 @@
...
@@ -440,7 +431,7 @@
field
:
'updatedTime'
,
field
:
'updatedTime'
,
title
:
'更新时间'
,
title
:
'更新时间'
,
align
:
'center'
,
align
:
'center'
,
width
:
12
0
width
:
9
0
},
},
{
{
align
:
'left'
,
align
:
'left'
,
...
...
html/merchant/validPeriodForm.html
View file @
e6d1ee1
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"zh"
>
<html
lang=
"zh"
>
<head>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<meta
content=
"IE=edge"
/>
<meta
content=
"IE=edge"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
...
@@ -10,9 +9,14 @@
...
@@ -10,9 +9,14 @@
<meta
name=
"keywords"
itemprop=
"keywords"
content=
"广联,商户管理"
/>
<meta
name=
"keywords"
itemprop=
"keywords"
content=
"广联,商户管理"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/main.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/main.css"
/>
<style>
<style>
#app
{
padding
:
0
;
}
.valid-period
{
.valid-period
{
/* width: 560px;
height: 230px; */
text-align
:
center
;
text-align
:
center
;
padding
:
20px
20px
;
/* padding: 20px 20px; */
background-color
:
#ffffff
;
background-color
:
#ffffff
;
}
}
.layui-form-label
{
.layui-form-label
{
...
@@ -23,9 +27,9 @@
...
@@ -23,9 +27,9 @@
}
}
</style>
</style>
<title>
修改有效期
</title>
<title>
修改有效期
</title>
</head>
</head>
<body>
<body>
<div
id=
"app"
>
<div
id=
"app"
>
<main
class=
"valid-period"
>
<main
class=
"valid-period"
>
<form
class=
"layui-form"
lay-filter=
"periodFilter"
>
<form
class=
"layui-form"
lay-filter=
"periodFilter"
>
...
@@ -33,10 +37,10 @@
...
@@ -33,10 +37,10 @@
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
账户有效期:
</label>
<label
class=
"layui-form-label"
>
账户有效期:
</label>
<div
class=
"layui-input-inline"
>
<div
class=
"layui-input-inline"
>
<input
type=
"radio"
name=
"effectiveTime"
lay-filter=
"radio"
value=
"2"
title=
"启用"
>
<input
type=
"radio"
name=
"effectiveTime"
lay-filter=
"radio"
value=
"2"
title=
"启用"
/
>
<input
type=
"radio"
name=
"effectiveTime"
lay-filter=
"radio"
value=
"4"
title=
"禁用"
>
<input
type=
"radio"
name=
"effectiveTime"
lay-filter=
"radio"
value=
"4"
title=
"禁用"
/
>
</div>
</div>
<button
id=
"periodVerifyBtn"
lay-submit
lay-filter=
"periodSubmit"
style=
"display: none;
"
></button>
<button
id=
"periodVerifyBtn"
lay-submit
lay-filter=
"periodSubmit"
style=
"display: none
"
></button>
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<p
class=
"input-downtips"
id=
"tips"
></p>
<p
class=
"input-downtips"
id=
"tips"
></p>
...
@@ -96,8 +100,8 @@
...
@@ -96,8 +100,8 @@
effectiveStarttime
:
getQueryString
(
'effectiveStarttime'
)
effectiveStarttime
:
getQueryString
(
'effectiveStarttime'
)
})
})
}
else
{
}
else
{
//
storeEl.show()
storeEl
.
show
()
//
merchantEl.hide()
merchantEl
.
hide
()
setText
(
2
)
setText
(
2
)
console
.
log
(
getQueryString
(
'status'
))
console
.
log
(
getQueryString
(
'status'
))
vaildData
.
effectiveTime
=
getQueryString
(
'status'
)
vaildData
.
effectiveTime
=
getQueryString
(
'status'
)
...
@@ -123,33 +127,33 @@
...
@@ -123,33 +127,33 @@
format
:
'yyyy-MM-dd'
format
:
'yyyy-MM-dd'
})
})
$
(
'#sevenday'
).
on
(
'click'
,
function
()
{
$
(
'#sevenday'
).
on
(
'click'
,
function
()
{
const
startDate
=
getStartTime
(
vaildData
.
expireDate
).
startDate
const
startDate
=
getStartTime
(
vaildData
.
expireDate
).
startDate
const
overdue
=
getStartTime
(
vaildData
.
expireDate
).
overdue
const
overdue
=
getStartTime
(
vaildData
.
expireDate
).
overdue
var
startTime
=
new
Date
(
startDate
.
setHours
(
0
,
0
,
0
,
0
))
var
startTime
=
new
Date
(
startDate
.
setHours
(
0
,
0
,
0
,
0
))
var
endTime
=
startTime
*
1
+
86400
*
7
*
1000
var
endTime
=
startTime
*
1
+
86400
*
7
*
1000
console
.
log
(
helper
.
dateFormat
(
startTime
),
endTime
)
console
.
log
(
helper
.
dateFormat
(
startTime
),
endTime
)
if
(
overdue
)
effectiveStarttimeEl
.
val
(
helper
.
dateFormat
(
startTime
))
if
(
overdue
)
effectiveStarttimeEl
.
val
(
helper
.
dateFormat
(
startTime
))
expireDateEl
.
val
(
helper
.
dateFormat
(
endTime
))
expireDateEl
.
val
(
helper
.
dateFormat
(
endTime
))
})
})
$
(
'#oneyear'
).
on
(
'click'
,
function
()
{
$
(
'#oneyear'
).
on
(
'click'
,
function
()
{
const
startDate
=
getStartTime
(
vaildData
.
expireDate
).
startDate
const
startDate
=
getStartTime
(
vaildData
.
expireDate
).
startDate
const
overdue
=
getStartTime
(
vaildData
.
expireDate
).
overdue
const
overdue
=
getStartTime
(
vaildData
.
expireDate
).
overdue
var
startTime
=
new
Date
(
startDate
.
setHours
(
0
,
0
,
0
,
0
))
var
startTime
=
new
Date
(
startDate
.
setHours
(
0
,
0
,
0
,
0
))
var
endTime
=
startTime
.
setFullYear
(
startTime
.
getFullYear
()
+
1
)
var
endTime
=
startTime
.
setFullYear
(
startTime
.
getFullYear
()
+
1
)
console
.
log
(
helper
.
dateFormat
(
endTime
))
console
.
log
(
helper
.
dateFormat
(
endTime
))
if
(
overdue
)
effectiveStarttimeEl
.
val
(
helper
.
dateFormat
(
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))))
if
(
overdue
)
effectiveStarttimeEl
.
val
(
helper
.
dateFormat
(
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))))
expireDateEl
.
val
(
helper
.
dateFormat
(
endTime
))
expireDateEl
.
val
(
helper
.
dateFormat
(
endTime
))
})
})
$
(
'#twoyears'
).
on
(
'click'
,
function
()
{
$
(
'#twoyears'
).
on
(
'click'
,
function
()
{
const
startDate
=
getStartTime
(
vaildData
.
expireDate
).
startDate
const
startDate
=
getStartTime
(
vaildData
.
expireDate
).
startDate
const
overdue
=
getStartTime
(
vaildData
.
expireDate
).
overdue
const
overdue
=
getStartTime
(
vaildData
.
expireDate
).
overdue
var
startTime
=
new
Date
(
startDate
.
setHours
(
0
,
0
,
0
,
0
))
var
startTime
=
new
Date
(
startDate
.
setHours
(
0
,
0
,
0
,
0
))
var
endTime
=
startTime
.
setFullYear
(
startTime
.
getFullYear
()
+
2
)
var
endTime
=
startTime
.
setFullYear
(
startTime
.
getFullYear
()
+
2
)
console
.
log
(
helper
.
dateFormat
(
endTime
))
console
.
log
(
helper
.
dateFormat
(
endTime
))
if
(
overdue
)
effectiveStarttimeEl
.
val
(
helper
.
dateFormat
(
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))))
if
(
overdue
)
effectiveStarttimeEl
.
val
(
helper
.
dateFormat
(
new
Date
(
new
Date
().
setHours
(
0
,
0
,
0
,
0
))))
expireDateEl
.
val
(
helper
.
dateFormat
(
endTime
))
expireDateEl
.
val
(
helper
.
dateFormat
(
endTime
))
})
})
...
@@ -200,9 +204,9 @@
...
@@ -200,9 +204,9 @@
})
})
// 触发单选框
// 触发单选框
form
.
on
(
'radio(radio)'
,
function
(
data
)
{
form
.
on
(
'radio(radio)'
,
function
(
data
)
{
setText
(
data
.
value
)
setText
(
data
.
value
)
});
})
function
setText
(
value
)
{
function
setText
(
value
)
{
if
(
value
==
2
)
{
if
(
value
==
2
)
{
...
@@ -239,6 +243,5 @@
...
@@ -239,6 +243,5 @@
}
}
})
})
</script>
</script>
</body>
</body>
</html>
</html>
html/role/add.html
View file @
e6d1ee1
...
@@ -10,6 +10,10 @@
...
@@ -10,6 +10,10 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/main.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/main.css"
/>
<title>
角色管理
</title>
<title>
角色管理
</title>
<style>
<style>
.Wrap
{
margin
:
8px
0
0
;
padding-bottom
:
100px
;
}
.show
{
.show
{
display
:
inline-block
;
display
:
inline-block
;
width
:
360px
;
width
:
360px
;
...
@@ -20,21 +24,32 @@
...
@@ -20,21 +24,32 @@
}
}
.tabmutiple-content-wrap
{
.tabmutiple-content-wrap
{
background-color
:
#f4f6fc
;
background-color
:
#f4f6fc
;
padding-top
:
10px
;
/* padding-top: 10px; */
/* padding-bottom: 1px; */
}
}
.tabmutiple-content
{
.tabmutiple-content
{
margin
:
0
10px
;
/* margin: 0 10px; */
background-color
:
#fff
;
background-color
:
#fff
;
}
}
.contentGrayBg
{
/* background-color: #fff; */
/* border: 2px solid red; */
}
.layui-tab-title
{
.layui-tab-title
{
background-color
:
#f4f6fc
;
background-color
:
#f4f6fc
;
box-sizing
:
border-box
;
}
}
.layui-this
{
.
contentGrayBg
.
layui-this
{
background-color
:
#fff
;
background-color
:
#fff
;
border
:
2px
solid
#fff
;
margin-left
:
-3px
;
}
.contentGrayBg
.layui-tab
{
border
:
10px
solid
#f4f6fc
;
}
}
.edit-box
{
.edit-box
{
padding
:
20px
20px
;
padding
:
0
20px
20px
;
color
:
#333333
;
color
:
#333333
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
margin
:
15px
auto
;
margin
:
15px
auto
;
...
@@ -44,7 +59,7 @@
...
@@ -44,7 +59,7 @@
.edit-box
.grayLine
{
.edit-box
.grayLine
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
6
8px
;
top
:
4
8px
;
background-color
:
#d8d8d8
;
background-color
:
#d8d8d8
;
width
:
100%
;
width
:
100%
;
height
:
1px
;
height
:
1px
;
...
@@ -66,10 +81,7 @@
...
@@ -66,10 +81,7 @@
color
:
#333333
;
color
:
#333333
;
font-weight
:
600
;
font-weight
:
600
;
}
}
.Wrap
{
margin
:
8px
0
0
;
height
:
100%
;
}
#roleTitle
{
#roleTitle
{
font-size
:
20px
;
font-size
:
20px
;
color
:
#333333
;
color
:
#333333
;
...
@@ -139,11 +151,13 @@
...
@@ -139,11 +151,13 @@
<input lay-filter="switch" type="checkbox" name="merchantId" value="2" title="服务商/合作商" /> -->
<input lay-filter="switch" type="checkbox" name="merchantId" value="2" title="服务商/合作商" /> -->
</div>
</div>
</div>
</div>
<div
class=
"tabmutiple-content-wrap"
>
<div
class=
"tabmutiple-content-wrap removeCheckBg"
>
<!-- <div id="authorityTree"> -->
<div
class=
"layui-tab tabmutiple-content"
lay-filter=
"roleAuth"
>
<div
class=
"layui-tab tabmutiple-content"
lay-filter=
"roleAuth"
>
<ul
class=
"layui-tab-title"
></ul>
<ul
class=
"layui-tab-title"
></ul>
<div
class=
"layui-tab-content"
></div>
<div
class=
"layui-tab-content
contentGrayBg
"
></div>
</div>
</div>
<!-- </div> -->
</div>
</div>
<div
class=
"footer-close"
>
<div
class=
"footer-close"
>
...
@@ -228,9 +242,11 @@
...
@@ -228,9 +242,11 @@
<label class="layui-form-label">选择产品:</label>\
<label class="layui-form-label">选择产品:</label>\
<div class="layui-input-block" id="project
${
id
}
">
<div class="layui-input-block" id="project
${
id
}
">
</div>
</div>
</div>
</div>
</form>
</form>
<div class="layui-tab layui-tab-brief" lay-filter="treeTab{{d.id}}">
<div style="font-size:14px;color:#333;font-weight:500;">请选择产品权限</div>
<div class="layui-tab " lay-filter="treeTab{{d.id}}">
<ul class="layui-tab-title"></ul>
<ul class="layui-tab-title"></ul>
<div class="layui-tab-content">
<div class="layui-tab-content">
<div class="layui-no-data show" id="nodata
${
id
}
">
<div class="layui-no-data show" id="nodata
${
id
}
">
...
...
index.html
View file @
e6d1ee1
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1"
/>
<meta
name=
"description"
content=
"广联帐户管理中心"
/>
<meta
name=
"description"
content=
"广联帐户管理中心"
/>
<meta
http-equiv=
"Content-Security-Policy"
content=
"upgrade-insecure-requests"
/>
<title>
广联帐户管理中心
</title>
<title>
广联帐户管理中心
</title>
</head>
</head>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment