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 602b2353
authored
Aug 10, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式部分
1 parent
857b2a15
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
18 deletions
html/components/header.html
html/employee/index.html
html/merchant/index.html
html/role/index.html
html/components/header.html
View file @
602b235
...
...
@@ -25,13 +25,13 @@
<script>
layui
.
use
([
'element'
,
'request'
,
'helper'
],
function
()
{
var
element
=
layui
.
element
var
user
=
helper
.
store
.
get
(
'user'
)
element
.
init
()
highlight
()
bindEvents
()
// var $ = layui.$
var
helper
=
layui
.
helper
var
user
=
helper
.
store
.
get
(
'user'
)
console
.
log
(
user
,
"999"
)
document
.
getElementById
(
'curMerchantName'
).
innerHTML
=
user
.
merchantName
||
""
;
})
function
highlight
()
{
...
...
html/employee/index.html
View file @
602b235
...
...
@@ -90,15 +90,15 @@
[
//表头
{
field
:
''
,
title
:
'序号'
,
type
:
'numbers'
,
width
:
80
,
fixed
:
'left'
},
{
field
:
'staffName'
,
title
:
'员工姓名'
,
width
:
120
},
{
field
:
'staffCode'
,
title
:
'员工号'
},
{
field
:
'roleName'
,
title
:
'角色'
},
{
field
:
'staffPhone'
,
title
:
'登录手机号'
,
width
:
125
},
{
field
:
'password'
,
title
:
'登录密码'
},
{
field
:
'statusName'
,
title
:
'状态'
},
{
field
:
'createdAccount'
,
title
:
'创建者'
},
{
field
:
'merchantName'
,
title
:
'商户名(商户号)'
,
width
:
160
},
{
field
:
'createdTime'
,
title
:
'更新时间'
,
width
:
160
},
{
field
:
'staffName'
,
title
:
'员工姓名'
,
width
:
120
,
align
:
'center'
},
{
field
:
'staffCode'
,
title
:
'员工号'
,
align
:
'center'
},
{
field
:
'roleName'
,
title
:
'角色'
,
align
:
'center'
},
{
field
:
'staffPhone'
,
title
:
'登录手机号'
,
align
:
'center'
,
width
:
125
},
{
field
:
'password'
,
title
:
'登录密码'
,
align
:
'center'
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'createdAccount'
,
title
:
'创建者'
,
align
:
'center'
},
{
field
:
'merchantName'
,
title
:
'商户名(商户号)'
,
align
:
'center'
,
width
:
160
},
{
field
:
'createdTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
160
},
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
276
,
align
:
'center'
,
toolbar
:
'#employeeBar'
}
]
]
...
...
html/merchant/index.html
View file @
602b235
...
...
@@ -116,7 +116,7 @@
<script
type=
"text/html"
id=
"merchantBtns"
>
<
div
>
<
a
class
=
"layui-btn-xs"
lay
-
event
=
"handleDetail"
>
查看
<
/a
>
{{
#
if
((
d
.
btn
.
edit
)){
}}
{{
#
if
((
d
.
btn
.
edit
)){
}}
|
<
a
class
=
"layui-btn-xs"
lay
-
event
=
"handleEdit"
>
修改基本信息
<
/a
>
{{
#
}
}}
<
/div
>
...
...
@@ -124,7 +124,7 @@
{{
#
if
((
d
.
btn
.
edit
)){
}}
<
a
class
=
"layui-btn-xs"
lay
-
event
=
"handleAuthority"
>
修改权限
<
/a
>
{{
#
}
}}
{{
#
if
((
d
.
btn
.
editPeriod
)){
}}
{{
#
if
((
d
.
btn
.
editPeriod
)){
}}
|
<
a
class
=
"layui-btn-xs"
lay
-
event
=
"handleVaildPeriod"
>
修改账户有效期
<
/a
>
{{
#
}
}}
<
/div
>
...
...
@@ -132,7 +132,7 @@
{{
#
if
((
d
.
btn
.
createStaff
)){
}}
<
a
class
=
"layui-btn-xs"
lay
-
event
=
"handleAddStaff"
>
创建员工
<
/a
>
{{
#
}
}}
{{
#
if
((
d
.
btn
.
createSubMerchant
)){
}}
{{
#
if
((
d
.
btn
.
createSubMerchant
)){
}}
|
<
a
class
=
"layui-btn-xs"
lay
-
event
=
"handleAddMerchant"
>
创建子商户
/
门店
<
/a
>
{{
#
}
}}
<
/div
>
...
...
html/role/index.html
View file @
602b235
...
...
@@ -63,11 +63,11 @@
[
//表头
{
field
:
''
,
title
:
'序号'
,
type
:
'numbers'
,
width
:
80
},
{
field
:
'roleName'
,
title
:
'角色名称'
},
{
field
:
'id'
,
title
:
'角色号'
},
{
field
:
'merchantName'
,
title
:
'所属商户名'
},
{
field
:
'statusName'
,
title
:
'状态'
},
{
field
:
'createdTime'
,
title
:
'更新时间'
},
{
field
:
'roleName'
,
title
:
'角色名称'
,
align
:
'center'
},
{
field
:
'id'
,
title
:
'角色号'
,
align
:
'center'
},
{
field
:
'merchantName'
,
title
:
'所属商户名'
,
align
:
'center'
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'createdTime'
,
title
:
'更新时间'
,
align
:
'center'
},
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
160
,
align
:
'center'
,
toolbar
:
'#roleBar'
}
]
]
...
...
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