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 7281ddb0
authored
Oct 27, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
合并
2 parents
f7a674a5
0b40ac6b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
21 deletions
html/employee/index.html
html/merchant/detail.html
html/merchant/index.html
html/employee/index.html
View file @
7281ddb
...
...
@@ -40,7 +40,7 @@
<label
class=
"layui-form-label"
>
商户名称
</label>
<div
class=
"layui-input-block"
>
<!-- <select name="merchantId" id="merchantName" lay-verify="required"></select> -->
<div
id=
"merchantNameSelect"
style=
"width: 300px
;
"
class=
"xm-select-demo"
></div>
<div
id=
"merchantNameSelect"
style=
"width: 300px"
class=
"xm-select-demo"
></div>
</div>
</div>
</div>
...
...
@@ -340,8 +340,6 @@
employeeTable
.
reload
(
options
)
})
}
// 查询所有商户
function
findAllMerchant
()
{
...
...
html/merchant/detail.html
View file @
7281ddb
...
...
@@ -66,16 +66,22 @@
overflow
:
auto
;
}
.ztree
.wrapper-tree
{
overflow
:
auto
;
overflow-y
:
auto
;
}
.wrapper-tree
::-webkit-scrollbar
{
display
:
none
;
}
.wrapper-tree
.node_name
{
display
:
inline-block
;
max-width
:
31
5px
;
max-width
:
23
5px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
word-break
:
break-all
;
}
.detail
.wrapper-tree
{
margin-left
:
0
;
}
.merchant-right
{
padding-top
:
15px
;
...
...
@@ -88,37 +94,49 @@
}
.merchant-right
>
div
:first-child
{
position
:
relative
;
/*
position: relative;
height: 40px;
line-height
:
40px
;
line-height: 40px; */
display
:
flex
;
align-items
:
flex-start
;
justify-content
:
space-between
;
}
.layui-form-label
{
width
:
130px
!important
;
}
.merchant-right
.companyName
{
display
:
inline-block
;
width
:
300px
;
max-
width
:
300px
;
height
:
36px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#333333
;
line-height
:
22px
;
/* line-height: 22px; */
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
word-break
:
break-all
;
}
.merchant-right
.emloyeeListText
{
display
:
inline-block
;
height
:
36px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#333333
;
/* line-height: 22px; */
}
.merchant-right
.layui-btn
{
position
:
absolute
;
right
:
0px
;
/* position: absolute;
right: 0px; */
margin-left
:
20px
;
}
.merchant-right
.layui-input-inline
{
/*
.merchant-right .layui-input-inline {
position: absolute;
right: 70px;
}
}
*/
.updateRecord
{
text-align
:
left
;
...
...
@@ -467,11 +485,17 @@
</div>
<div
class=
"merchant-right"
>
<div>
<span
id=
"companyName"
class=
"companyName"
></span>
<div
class=
"layui-input-inline"
>
<input
class=
"layui-input"
placeholder=
"请输入员工姓名/手机号"
id=
"tableSearchForm"
/>
<div
style=
"display: flex"
>
<span
id=
"companyName"
class=
"companyName"
></span>
<span
class=
"emloyeeListText"
>
员工列表
</span>
</div>
<div>
<div
class=
"layui-input-inline"
>
<input
class=
"layui-input"
placeholder=
"请输入员工姓名/手机号"
id=
"tableSearchForm"
/>
</div>
<button
class=
"layui-btn"
id=
"tableSearch"
>
查询
</button>
</div>
<button
class=
"layui-btn"
id=
"tableSearch"
>
查询
</button>
</div>
<table
id=
"subMerchantTable"
lay-filter=
"subMerchantTool"
></table>
</div>
...
...
@@ -707,6 +731,7 @@
$
(
'#numberOfSubMerchants'
).
text
(
data
.
numberOfSubMerchants
)
$
(
'#numberOfStores'
).
text
(
data
.
numberOfStores
)
$
(
'#companyName'
).
html
(
data
.
merchantName
)
$
(
'#companyName'
).
attr
(
'title'
,
data
.
merchantName
)
}
)
}
...
...
html/merchant/index.html
View file @
7281ddb
...
...
@@ -31,9 +31,7 @@
.layui-form-label
{
width
:
130px
;
}
/* .channel {
margin-left: 24px;
} */
.accountLevel
,
.customerState
,
.accountType
,
...
...
@@ -540,7 +538,7 @@
// console.log(row)
var
area
=
[
'560px'
,
'230px'
]
if
(
row
.
merchantAccountLevel
==
4
)
{
area
=
[
'
560px'
,
'23
0px'
]
area
=
[
'
750px'
,
'45
0px'
]
}
layer
.
open
({
type
:
2
,
...
...
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