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 610bf3e1
authored
Aug 16, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整,处理表格空字符显示问题
1 parent
e6f783e7
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
15 additions
and
9 deletions
css/layui.css
css/main.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 @
610bf3e
...
@@ -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 @
610bf3e
...
@@ -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
;
...
...
html/employee/index.html
View file @
610bf3e
...
@@ -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 @
610bf3e
...
@@ -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 @
610bf3e
...
@@ -490,7 +490,7 @@
...
@@ -490,7 +490,7 @@
{
{
field
:
'createdTime'
,
field
:
'createdTime'
,
title
:
'创建时间'
,
title
:
'创建时间'
,
width
:
1
50
width
:
1
12
}
}
]
]
]
]
...
...
html/merchant/index.html
View file @
610bf3e
...
@@ -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 @
610bf3e
...
@@ -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 @
610bf3e
...
@@ -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 @
610bf3e
...
@@ -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