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 01c7aafa
authored
Nov 28, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.22.1' into 'master'
V3.22.1 See merge request
!63
2 parents
63e8ac02
a11e3c84
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
13 deletions
html/employee/add.html
html/employee/add.html
View file @
01c7aaf
<!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"
/>
...
@@ -126,10 +126,10 @@
...
@@ -126,10 +126,10 @@
border
:
1px
solid
#5850ff
!important
;
border
:
1px
solid
#5850ff
!important
;
}
}
</style>
</style>
</head>
</head>
<body>
<body>
<div
id=
"app"
>
<div
id=
"app"
>
<main>
<main>
<div
class=
"Wrap"
>
<div
class=
"Wrap"
>
<div
class=
"pageTitle"
>
<div
class=
"pageTitle"
>
...
@@ -254,11 +254,11 @@
...
@@ -254,11 +254,11 @@
<label
class=
"layui-form-label"
>
所属部门:
</label>
<label
class=
"layui-form-label"
>
所属部门:
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
<select
name=
"department"
id=
"departmentAuth"
>
<select
name=
"department"
id=
"departmentAuth"
>
<option
value=
"0"
>
其他
</option>
<!--
<option value="0">其他</option>
<option value="1">销售部</option>
<option value="1">销售部</option>
<option value="2">售后部</option>
<option value="2">售后部</option>
<option value="3">客服部</option>
<option value="3">客服部</option>
<option
value=
"4"
>
续保部
</option
>
<option value="4">续保部</option> --
>
</select>
</select>
</div>
</div>
</div>
</div>
...
@@ -302,10 +302,10 @@
...
@@ -302,10 +302,10 @@
</div>
</div>
</div>
</div>
</main>
</main>
</div>
</div>
<script
src=
"https://img02.glsx.com.cn/layui/layui.js"
></script>
<script
src=
"https://img02.glsx.com.cn/layui/layui.js"
></script>
<script
src=
"/js/load.js"
></script>
<script
src=
"/js/load.js"
></script>
<script>
<script>
//Demo
//Demo
layui
.
use
([
'form'
,
'upload'
,
'gtree'
,
'request'
,
'helper'
,
'xmSelect'
],
function
()
{
layui
.
use
([
'form'
,
'upload'
,
'gtree'
,
'request'
,
'helper'
,
'xmSelect'
],
function
()
{
var
id
=
qs
(
'id'
)
var
id
=
qs
(
'id'
)
...
@@ -322,6 +322,7 @@
...
@@ -322,6 +322,7 @@
var
pwd
=
$
(
'#password'
)
// 密码输入框
var
pwd
=
$
(
'#password'
)
// 密码输入框
var
resetpsw
=
$
(
'#resetpsw'
)
var
resetpsw
=
$
(
'#resetpsw'
)
var
roleAuth
=
$
(
'#roleAuth'
)
var
roleAuth
=
$
(
'#roleAuth'
)
var
departmentSelect
=
$
(
'#departmentAuth'
)
var
wechatNick
=
$
(
'#wechatNick'
)
var
wechatNick
=
$
(
'#wechatNick'
)
var
wechatPhone
=
$
(
'#wechatPhone'
)
var
wechatPhone
=
$
(
'#wechatPhone'
)
var
wechatId
=
$
(
'#wechatId'
)
var
wechatId
=
$
(
'#wechatId'
)
...
@@ -547,6 +548,7 @@
...
@@ -547,6 +548,7 @@
})
})
return
false
return
false
}
}
var
visibleInferiorMer
=
''
var
visibleInferiorMer
=
''
if
(
specialVisible
==
'-1'
)
{
if
(
specialVisible
==
'-1'
)
{
visibleInferiorMer
=
'-1'
visibleInferiorMer
=
'-1'
...
@@ -612,6 +614,7 @@
...
@@ -612,6 +614,7 @@
function
getList
(
merchantId
)
{
function
getList
(
merchantId
)
{
getVisibleMerchant
(
merchantId
)
getVisibleMerchant
(
merchantId
)
findRoleList
(
merchantId
)
findRoleList
(
merchantId
)
findAllDepartment
()
}
}
// 可见商户
// 可见商户
...
@@ -669,6 +672,24 @@
...
@@ -669,6 +672,24 @@
bindEvent
()
bindEvent
()
}
}
// 查询所属部门
function
findAllDepartment
(){
var
params
=
{
dictType
:
'staff_department'
,
method
:
'merchants.api.menu.findAllDictData'
}
request
(
params
,
function
(
res
)
{
console
.
log
(
res
)
if
(
res
.
code
==
'0'
)
{
var
list
=
res
.
data
departmentSelect
.
empty
()
list
.
unshift
(
''
)
$
.
each
(
list
,
function
(
index
,
item
)
{
departmentSelect
.
append
(
new
Option
(
item
.
dictLabel
,
item
.
dictValue
))
})
form
.
render
(
'select'
)
}
})
}
// 查询所有商户
// 查询所有商户
function
findAllMerchant
(
callback
)
{
function
findAllMerchant
(
callback
)
{
var
params
=
{
method
:
'merchants.api.menu.findAllMerchant'
}
var
params
=
{
method
:
'merchants.api.menu.findAllMerchant'
}
...
@@ -775,6 +796,5 @@
...
@@ -775,6 +796,5 @@
)
)
}
}
})
})
</script>
</script>
</body>
</body>
</html>
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