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 3798154f
authored
Aug 16, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/h5/account
2 parents
4de28aa6
a7c02d70
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
28 additions
and
15 deletions
css/layui.css
css/main.css
css/merchant.css
html/employee/index.html
html/employee/validPeriod.html
html/merchant/detail.html
html/merchant/index.html
html/merchant/validPeriodForm.html
html/role/index.html
js/helper.js
css/layui.css
View file @
3798154
...
@@ -151,6 +151,8 @@ border-color: #1989FA!important;
...
@@ -151,6 +151,8 @@ border-color: #1989FA!important;
-webkit-line-clamp
:
4
;
-webkit-line-clamp
:
4
;
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
display
:
-webkit-box
;
display
:
-webkit-box
;
word-break
:
break-all
;
}
}
.layui-table-cell
li
{
.layui-table-cell
li
{
list-style-type
:
none
;
list-style-type
:
none
;
...
...
css/main.css
View file @
3798154
...
@@ -111,6 +111,9 @@ main .table-page{
...
@@ -111,6 +111,9 @@ main .table-page{
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
;
}
}
main
.input-downtips
{
color
:
#1989FA
;
}
footer
{
footer
{
height
:
30px
;
height
:
30px
;
...
...
css/merchant.css
View file @
3798154
.wrapper-merchant
{
.wrapper-merchant
{
display
:
inline-flex
;
display
:
inline-flex
;
}
}
.merchant-left
{
.merchant-left
{
width
:
500px
;
width
:
500px
;
...
...
html/employee/index.html
View file @
3798154
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
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
:
1
20
},
{
field
:
'updatedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
1
12
},
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
220
,
align
:
'left'
,
toolbar
:
'#employeeBar'
}
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
220
,
align
:
'left'
,
toolbar
:
'#employeeBar'
}
]
]
]
]
...
...
html/employee/validPeriod.html
View file @
3798154
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<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>
(注:永久有效不超过所属工厂商户的有效期)
</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;">
...
...
html/merchant/detail.html
View file @
3798154
...
@@ -46,7 +46,10 @@
...
@@ -46,7 +46,10 @@
.layui-form
{
.layui-form
{
margin-top
:
20px
;
margin-top
:
20px
;
}
}
.merchant-right
{
overflow-x
:
auto
;
width
:
calc
(
100vw
-
500px
-
20px
);
}
.merchant-right
>
div
:first-child
{
.merchant-right
>
div
:first-child
{
position
:
relative
;
position
:
relative
;
height
:
40px
;
height
:
40px
;
...
@@ -470,27 +473,32 @@
...
@@ -470,27 +473,32 @@
{
{
field
:
'staffName'
,
field
:
'staffName'
,
title
:
'员工姓名'
,
title
:
'员工姓名'
,
width
:
120
width
:
200
,
align
:
'center'
},
},
{
{
field
:
'roleName'
,
field
:
'roleName'
,
title
:
'角色'
,
title
:
'角色'
,
width
:
120
width
:
200
,
align
:
'center'
},
},
{
{
field
:
'staffPhone'
,
field
:
'staffPhone'
,
title
:
'登录账户'
,
title
:
'登录账户'
,
width
:
120
width
:
200
,
align
:
'center'
},
},
{
{
field
:
'createdAccount'
,
field
:
'createdAccount'
,
title
:
'创建者'
,
title
:
'创建者'
,
width
:
100
width
:
200
,
align
:
'center'
},
},
{
{
field
:
'createdTime'
,
field
:
'createdTime'
,
title
:
'创建时间'
,
title
:
'创建时间'
,
width
:
150
width
:
200
,
align
:
'center'
}
}
]
]
]
]
...
...
html/merchant/index.html
View file @
3798154
...
@@ -212,7 +212,8 @@
...
@@ -212,7 +212,8 @@
},
{
},
{
field
:
'merchantLoginAccount'
,
field
:
'merchantLoginAccount'
,
title
:
'登录账户'
,
title
:
'登录账户'
,
align
:
'center'
align
:
'center'
,
width
:
108
},
{
},
{
field
:
'accountLevelName'
,
field
:
'accountLevelName'
,
title
:
'账户等级'
,
title
:
'账户等级'
,
...
@@ -233,7 +234,7 @@
...
@@ -233,7 +234,7 @@
field
:
'merchantLegalPersonPhone'
,
field
:
'merchantLegalPersonPhone'
,
title
:
'手机号'
,
title
:
'手机号'
,
align
:
'center'
,
align
:
'center'
,
width
:
1
0
0
width
:
1
2
0
},
{
},
{
field
:
'merchantAddress'
,
field
:
'merchantAddress'
,
title
:
'商户地址'
,
title
:
'商户地址'
,
...
@@ -243,7 +244,7 @@
...
@@ -243,7 +244,7 @@
field
:
'updatedTime'
,
field
:
'updatedTime'
,
title
:
'更新时间'
,
title
:
'更新时间'
,
align
:
'center'
,
align
:
'center'
,
width
:
1
20
width
:
1
12
},
{
},
{
align
:
'left'
,
align
:
'left'
,
title
:
'操作'
,
title
:
'操作'
,
...
...
html/merchant/validPeriodForm.html
View file @
3798154
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<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>
(注:永久有效不超过所属工厂商户的有效期)
</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>
</div>
...
...
html/role/index.html
View file @
3798154
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
{
field
:
'roleCode'
,
title
:
'角色号'
,
align
:
'center'
},
{
field
:
'roleCode'
,
title
:
'角色号'
,
align
:
'center'
},
{
field
:
'merchantName'
,
title
:
'所属商户名'
,
align
:
'center'
},
{
field
:
'merchantName'
,
title
:
'所属商户名'
,
align
:
'center'
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'updatedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
1
20
},
{
field
:
'updatedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
1
12
},
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
160
,
align
:
'center'
,
toolbar
:
'#roleBar'
}
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
160
,
align
:
'center'
,
toolbar
:
'#roleBar'
}
]
]
]
]
...
...
js/helper.js
View file @
3798154
...
@@ -55,7 +55,7 @@ layui.define(['store'], function (exports) {
...
@@ -55,7 +55,7 @@ layui.define(['store'], function (exports) {
//将后台返回数据中数值为空的字段全部替换为“-”
//将后台返回数据中数值为空的字段全部替换为“-”
function
formateNullFieldData
(
initialData
)
{
function
formateNullFieldData
(
initialData
)
{
const
isEmpty
=
function
(
val
)
{
const
isEmpty
=
function
(
val
)
{
if
(
String
(
val
)
===
'null'
)
{
if
(
!
String
(
val
)
||
String
(
val
)
===
'null'
)
{
return
'-'
;
return
'-'
;
}
}
return
val
;
return
val
;
...
...
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