Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
杨明
/
scrm-micro-config
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 e15c651c
authored
Nov 04, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
员工
1 parent
429c5ec0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
103 additions
and
61 deletions
package-lock.json
package.json
src/views/employee/detail/info.vue
src/views/employee/editEmployee.vue
src/views/employee/index.vue
package-lock.json
View file @
e15c651
This diff is collapsed.
Click to expand it.
package.json
View file @
e15c651
...
@@ -10,9 +10,8 @@
...
@@ -10,9 +10,8 @@
"dependencies"
:
{
"dependencies"
:
{
"axios"
:
"^0.21.1"
,
"axios"
:
"^0.21.1"
,
"core-js"
:
"^3.4.4"
,
"core-js"
:
"^3.4.4"
,
"el-tree-transfer"
:
"^2.2.6"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-common"
:
"^1.4.6"
,
"
glsx-table"
:
"^1.0.9
"
,
"
vue"
:
"^2.6.11
"
,
"vue-amap"
:
"^0.5.10"
"vue-amap"
:
"^0.5.10"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
...
@@ -28,12 +27,12 @@
...
@@ -28,12 +27,12 @@
"eslint"
:
"^5.16.0"
,
"eslint"
:
"^5.16.0"
,
"eslint-plugin-prettier"
:
"^3.1.1"
,
"eslint-plugin-prettier"
:
"^3.1.1"
,
"eslint-plugin-vue"
:
"^5.0.0"
,
"eslint-plugin-vue"
:
"^5.0.0"
,
"glsx-components"
:
"^1.
0.8
"
,
"glsx-components"
:
"^1.
1.2
"
,
"node-sass"
:
"^4.14.1"
,
"node-sass"
:
"^4.14.1"
,
"prettier"
:
"^1.19.1"
,
"prettier"
:
"^1.19.1"
,
"sass-loader"
:
"^8.0.0"
,
"sass-loader"
:
"^8.0.0"
,
"vue-cli-plugin-element"
:
"^1.0.1"
,
"vue-cli-plugin-element"
:
"^1.0.1"
,
"vue-template-compiler"
:
"^2.6.1
0
"
"vue-template-compiler"
:
"^2.6.1
1
"
},
},
"browserslist"
:
[
"browserslist"
:
[
"> 1%"
,
"> 1%"
,
...
...
src/views/employee/detail/info.vue
View file @
e15c651
...
@@ -3,16 +3,16 @@
...
@@ -3,16 +3,16 @@
<div
class=
"config-employee"
>
<div
class=
"config-employee"
>
<div
class=
"container"
>
<div
class=
"container"
>
<p
class=
"edit-sub-title p-rl-20"
>
员工基本信息
</p>
<p
class=
"edit-sub-title p-rl-20"
>
员工基本信息
</p>
<el-form
label-width=
"140px"
>
<el-form
label-width=
"140px"
:inline=
"true"
>
<el-form-item
style=
"margin-bottom: 0;"
v-for=
"(item, index) in detailFormData"
:key=
"index"
:label=
"item.label + ':'"
>
<el-form-item
style=
"margin-bottom: 0;
width: 48%;
"
v-for=
"(item, index) in detailFormData"
:key=
"index"
:label=
"item.label + ':'"
>
<span>
{{
info
[
item
.
name
]
||
'无'
}}
</span>
<span
class=
"txt-ellipsis"
:title=
"info[item.name] || '无'"
>
{{
info
[
item
.
name
]
||
'无'
}}
</span>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<p
class=
"edit-sub-title p-rl-20"
>
可见下级商户
</p>
<p
class=
"edit-sub-title p-rl-20"
>
可见下级商户
</p>
<div
class=
"config-mer-name"
>
<div
class=
"config-mer-name"
>
<p
class=
"
mer-txt"
v-for=
"(item, index) in info.visibleInferiorMerName.split(',')"
:key=
"index"
>
{{
item
}}
</p>
<p
class=
"
txt-ellipsis"
v-for=
"(item, index) in info.visibleInferiorMerName.split(',')"
:key=
"index"
:title=
"item"
>
{{
item
}}
</p>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -23,26 +23,36 @@ export default {
...
@@ -23,26 +23,36 @@ export default {
name
:
'info'
,
name
:
'info'
,
data
()
{
data
()
{
return
{
return
{
info
:
{},
info
:
{
detailFormData
:
[{
visibleInferiorMerName
:
''
},
powerDataArray
:
[],
detailFormData
:
[
{
label
:
'姓名'
,
label
:
'姓名'
,
name
:
'staffName'
name
:
'staffName'
},
{
},
label
:
'登录手机号'
,
{
name
:
'staffPhone'
},
{
label
:
'企微号'
,
name
:
'entmicroName'
},
{
label
:
'职务'
,
name
:
'staffJob'
},
{
label
:
'角色名称'
,
label
:
'角色名称'
,
name
:
'roleName'
name
:
'roleName'
},
{
},
{
label
:
'登录手机号'
,
name
:
'staffPhone'
},
{
label
:
'创建人'
,
label
:
'创建人'
,
name
:
'createdAccount'
name
:
'createdAccount'
}]
},
{
label
:
'职务'
,
name
:
'staffJob'
},
{
label
:
'企微号'
,
name
:
'entmicroName'
}
]
}
}
},
},
...
@@ -140,7 +150,7 @@ export default {
...
@@ -140,7 +150,7 @@ export default {
margin
:
21px
0
0
140px
;
margin
:
21px
0
0
140px
;
min-height
:
36px
;
min-height
:
36px
;
}
}
.config-employee
.
config-mer-name
.mer-txt
{
.config-employee
.
txt-ellipsis
{
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
...
...
src/views/employee/editEmployee.vue
View file @
e15c651
...
@@ -8,13 +8,15 @@
...
@@ -8,13 +8,15 @@
<p
class=
"edit-sub-title p-rl-20"
>
员工基本信息
</p>
<p
class=
"edit-sub-title p-rl-20"
>
员工基本信息
</p>
<glsx-combi-form
class=
"p-tr-20"
ref=
"editFormRef"
labelWidth=
"160px"
@
handleImgDelete=
"handleImgDelete"
:isBlock=
"isBlock"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"p-tr-20"
ref=
"editFormRef"
labelWidth=
"160px"
@
handleImgDelete=
"handleImgDelete"
:isBlock=
"isBlock"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<template
slot=
"merchantId"
slot-scope=
"item"
>
<template
slot=
"merchantId"
slot-scope=
"item"
>
<select-page
:form=
"editForm"
width=
"360"
:targetItem=
"item.scope"
@
handleChange=
"handleChangeMerchant"
></select-page>
<span
v-if=
"routeInfo.addOrEdit == 2"
>
{{
editForm
.
merchantName
+
'('
+
editForm
.
merchantId
+
')'
}}
</span>
<select-page
v-else
:form=
"editForm"
width=
"360"
:targetItem=
"item.scope"
@
handleChange=
"handleChangeMerchant"
></select-page>
</
template
>
</
template
>
<
template
v-if=
"routeInfo.addOrEdit == 2"
slot=
"passwordSlot"
>
<
template
v-if=
"routeInfo.addOrEdit == 2"
slot=
"passwordSlot"
>
<el-button
class=
"m-l-10"
type=
"primary"
@
click=
"handleResetPass"
>
重置密码
</el-button>
<el-button
class=
"m-l-10"
type=
"primary"
@
click=
"handleResetPass"
>
重置密码
</el-button>
</
template
>
</
template
>
<
template
v-if=
"userInfo.accountLevel == 4 && routeInfo.addOrEdit == 1"
slot=
"roleIdsSlot"
>
<
template
v-if=
"userInfo.accountLevel == 4 && routeInfo.addOrEdit == 1"
slot=
"roleIdsSlot"
>
<el-button
class=
"m-l-10"
type=
"primary"
@
click=
"handleJumpRole"
>
创建角色
</el-button>
<el-button
class=
"m-l-10"
type=
"primary"
@
click=
"handleJumpRole"
>
创建角色
</el-button>
<el-button
class=
"m-l-10 el-icon-refresh"
type=
"primary"
@
click=
"handleRefresh"
>
刷新
</el-button>
</
template
>
</
template
>
<
template
slot=
"visibleInferiorMer"
slot-scope=
"item"
>
<
template
slot=
"visibleInferiorMer"
slot-scope=
"item"
>
<el-input
:style=
"
{ width: item.width || '360px' }" placeholder="可见商户" v-model="filterText">
</el-input>
<el-input
:style=
"
{ width: item.width || '360px' }" placeholder="可见商户" v-model="filterText">
</el-input>
...
@@ -71,17 +73,27 @@ export default {
...
@@ -71,17 +73,27 @@ export default {
editRule
:
{
editRule
:
{
merchantId
:
[{
required
:
true
,
message
:
'请选择所属商户'
,
trigger
:
'change'
}],
merchantId
:
[{
required
:
true
,
message
:
'请选择所属商户'
,
trigger
:
'change'
}],
staffName
:
[{
required
:
true
,
message
:
'请输入员工姓名'
,
trigger
:
'change'
}],
staffName
:
[{
required
:
true
,
message
:
'请输入员工姓名'
,
trigger
:
'change'
}],
staffPhone
:
[{
required
:
true
,
message
:
'请输入登录手机号'
},
staffPhone
:
[
{
required
:
true
,
validator
:
(
rule
,
value
,
callback
)
=>
{
{
required
:
true
,
message
:
'请输入登录手机号'
},
(
/^
(
13
[
0-9
]
|15
[
0-9
]
|16
[
0-9
]
|17
[
0-9
]
|18
[
0-9
]
|19
[
0-9
]
|14
[
0-9
])[
0-9
]{8}
$/
).
test
(
value
)
?
callback
()
:
callback
(
new
Error
(
'请输入正确的手机号'
)
{
)},
trigger
:
'change'
required
:
true
,
}],
validator
:
(
rule
,
value
,
callback
)
=>
{
;
/^
(
13
[
0-9
]
|15
[
0-9
]
|16
[
0-9
]
|17
[
0-9
]
|18
[
0-9
]
|19
[
0-9
]
|14
[
0-9
])[
0-9
]{8}
$/
.
test
(
value
)
?
callback
()
:
callback
(
new
Error
(
'请输入正确的手机号'
))
},
trigger
:
'change'
}
],
// 6-15位
// 6-15位
password
:
[{
required
:
true
,
message
:
'请输入登录密码'
,
trigger
:
'change'
},
password
:
[
{
required
:
true
,
validator
:
(
rule
,
value
,
callback
)
=>
{
{
required
:
true
,
message
:
'请输入登录密码'
,
trigger
:
'change'
},
(
/^
[\S]{6,15}
$/
).
test
(
value
)
?
callback
()
:
callback
(
new
Error
(
'密码必须6-15位'
))
{
},
trigger
:
'change'
required
:
true
,
}],
validator
:
(
rule
,
value
,
callback
)
=>
{
;
/^
[\S]{6,15}
$/
.
test
(
value
)
?
callback
()
:
callback
(
new
Error
(
'密码必须6-15位'
))
},
trigger
:
'change'
}
],
visibleInferiorMer
:
[{
required
:
true
,
message
:
'请选择可见商户'
,
trigger
:
'change'
}],
visibleInferiorMer
:
[{
required
:
true
,
message
:
'请选择可见商户'
,
trigger
:
'change'
}],
roleIds
:
[{
required
:
true
,
message
:
'请选择角色权限'
,
trigger
:
'change'
}]
roleIds
:
[{
required
:
true
,
message
:
'请选择角色权限'
,
trigger
:
'change'
}]
// staffEmail: [{ required: false, validator: (rule, value, callback) => {}, trigger: 'change' }]
// staffEmail: [{ required: false, validator: (rule, value, callback) => {}, trigger: 'change' }]
...
@@ -195,8 +207,11 @@ export default {
...
@@ -195,8 +207,11 @@ export default {
selectPage
selectPage
},
},
moun
ted
()
{
crea
ted
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
userInfo
=
this
.
$globalState
.
session
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
routeInfo
=
this
.
$route
.
params
this
.
routeInfo
=
this
.
$route
.
params
...
@@ -227,7 +242,7 @@ export default {
...
@@ -227,7 +242,7 @@ export default {
staffEmail
:
res
.
staffEmail
,
staffEmail
:
res
.
staffEmail
,
staffJob
:
res
.
staffJob
,
staffJob
:
res
.
staffJob
,
visibleInferiorMer
:
res
.
visibleInferiorMer
,
visibleInferiorMer
:
res
.
visibleInferiorMer
,
roleIds
:
res
.
roleIds
[
0
]
,
roleIds
:
res
.
roleIds
?
res
.
roleIds
[
0
]
:
''
,
merchantImg
:
res
.
merchantFileResponse
?
res
.
merchantFileResponse
.
fileUrl
:
''
,
merchantImg
:
res
.
merchantFileResponse
?
res
.
merchantFileResponse
.
fileUrl
:
''
,
fileName
:
res
.
merchantFileResponse
?
res
.
merchantFileResponse
.
fileName
:
''
fileName
:
res
.
merchantFileResponse
?
res
.
merchantFileResponse
.
fileName
:
''
}
}
...
@@ -303,7 +318,15 @@ export default {
...
@@ -303,7 +318,15 @@ export default {
this
.
editForm
.
password
=
''
this
.
editForm
.
password
=
''
},
},
handleJumpRole
()
{
handleJumpRole
()
{
this
.
$router
.
push
(
'/role/create/'
+
0
)
this
.
$router
.
push
(
'/role/create/'
+
0
)
},
handleRefresh
()
{
this
.
editForm
.
merchantId
?
this
.
getRoleList
(
this
.
editForm
.
merchantId
)
:
this
.
$message
({
message
:
'请选择所属商户'
,
type
:
'error'
})
},
},
handleConfirm
()
{
handleConfirm
()
{
// console.log(this.$refs.tree.getCheckedNodes())
// console.log(this.$refs.tree.getCheckedNodes())
...
...
src/views/employee/index.vue
View file @
e15c651
<!-- 员工管理 -->
<!-- 员工管理 -->
<
template
>
<
template
>
<div
class=
"config-employee employee-list"
>
<div
class=
"config-employee employee-list"
>
<div
style=
"margin: 16px 0;"
>
<el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
创建员工
</el-button>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<
div
>
<
el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
创建员工
</el-button
>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"90px"
:formObj=
"searchForm"
:searchSelectObj=
"searchSelectObj"
:formData=
"s
earchFormData"
>
<glsx-combi-form
v-if=
"userInfo.accountLevel != 4"
style=
"float: right;"
ref=
"showSearch"
labelWidth=
"90px"
:formObj=
"searchForm"
:searchSelectObj=
"searchSelectObj"
:formData=
"topS
earchFormData"
>
<template
slot=
"merchantId"
slot-scope=
"item"
>
<template
slot=
"merchantId"
slot-scope=
"item"
>
<select-page
:form=
"searchForm"
width=
"200"
:targetItem=
"item.scope"
@
handleChange=
"handleChangeMerchant"
></select-page>
<select-page
:form=
"searchForm"
width=
"200"
:targetItem=
"item.scope"
@
handleChange=
"handleChangeMerchant"
></select-page>
</
template
>
</
template
>
</glsx-combi-form>
</div>
<div
class=
"container"
>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"60px"
:formObj=
"searchForm"
:searchSelectObj=
"searchSelectObj"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleExport"
>
导出
</el-button>
...
@@ -25,11 +27,11 @@
...
@@ -25,11 +27,11 @@
<el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
</div>
</div>
<
template
slot=
"otherOptions"
slot-scope=
"scope"
>
<
template
slot=
"otherOptions"
slot-scope=
"scope"
>
<el-popover
placement=
"
left"
width=
"26
0"
trigger=
"hover"
>
<el-popover
placement=
"
top"
width=
"18
0"
trigger=
"hover"
>
<p>
启用前,你可先为该员工创建角色,配置其所需的功能权限。如下所示:
</p>
<p>
启用前,你可先为该员工创建角色,配置其所需的功能权限。如下所示:
</p>
<p>
1. 角色管理-创建角色
;
</p>
<p>
1. 角色管理-创建角色
</p>
<p>
2. 选择员工账户-修改角色
</p>
<p>
2. 选择员工账户-修改角色
</p>
<el-switch
slot=
"reference"
v-model=
"scope.scope.statusName"
active-value=
"启用"
inactive-value=
"禁用"
@
change=
"e => handleSwitchChange(e, scope.scope)"
></el-switch>
<el-switch
:size=
"size"
slot=
"reference"
v-model=
"scope.scope.statusName"
active-value=
"启用"
inactive-value=
"禁用"
@
change=
"e => handleSwitchChange(e, scope.scope)"
></el-switch>
</el-popover>
</el-popover>
</
template
>
</
template
>
</GLTable>
</GLTable>
...
@@ -54,6 +56,9 @@ export default {
...
@@ -54,6 +56,9 @@ export default {
roleId
:
''
,
roleId
:
''
,
status
:
''
status
:
''
},
},
userInfo
:
{
accountLevel
:
''
},
tableSearchForm
:
{},
tableSearchForm
:
{},
searchSelectObj
:
{
searchSelectObj
:
{
staffNameOrPhone
:
{
staffNameOrPhone
:
{
...
@@ -61,8 +66,7 @@ export default {
...
@@ -61,8 +66,7 @@ export default {
value
:
''
value
:
''
}
}
},
},
// 搜索
topSearchFormData
:
[
searchFormData
:
[
{
{
label
:
'商户名称'
,
label
:
'商户名称'
,
name
:
'merchantId'
,
name
:
'merchantId'
,
...
@@ -72,12 +76,15 @@ export default {
...
@@ -72,12 +76,15 @@ export default {
optionLabel
:
'merchantName'
,
optionLabel
:
'merchantName'
,
optionsName
:
'allMerchantList'
,
optionsName
:
'allMerchantList'
,
addHtml
:
'merchantId'
addHtml
:
'merchantId'
},
}
],
// 搜索
searchFormData
:
[
{
{
label
:
'角色'
,
label
:
'角色'
,
name
:
'roleId'
,
name
:
'roleId'
,
type
:
'select'
,
type
:
'select'
,
width
:
'
14
0px'
,
width
:
'
20
0px'
,
optionList
:
[],
optionList
:
[],
optionId
:
'id'
,
optionId
:
'id'
,
optionLabel
:
'roleName'
,
optionLabel
:
'roleName'
,
...
@@ -87,7 +94,7 @@ export default {
...
@@ -87,7 +94,7 @@ export default {
label
:
'状态'
,
label
:
'状态'
,
name
:
'status'
,
name
:
'status'
,
type
:
'select'
,
type
:
'select'
,
width
:
'
14
0px'
,
width
:
'
20
0px'
,
optionList
:
[],
optionList
:
[],
optionId
:
'dictValue'
,
optionId
:
'dictValue'
,
optionLabel
:
'dictLabel'
,
optionLabel
:
'dictLabel'
,
...
@@ -99,7 +106,7 @@ export default {
...
@@ -99,7 +106,7 @@ export default {
isClear
:
true
,
isClear
:
true
,
maxlength
:
15
,
maxlength
:
15
,
inputWidth
:
'320px'
,
inputWidth
:
'320px'
,
selectWidth
:
'1
0
0px'
,
selectWidth
:
'1
2
0px'
,
selectOption
:
[
selectOption
:
[
{
{
label
:
'员工姓名'
,
label
:
'员工姓名'
,
...
@@ -162,19 +169,22 @@ export default {
...
@@ -162,19 +169,22 @@ export default {
{
{
label
:
'更新时间'
,
label
:
'更新时间'
,
prop
:
'updatedTime'
,
prop
:
'updatedTime'
,
line
:
2
line
:
2
,
minWidth
:
'88px'
},
},
{
{
label
:
'操作'
,
label
:
'操作'
,
prop
:
'optionBtns'
,
prop
:
'optionBtns'
,
width
:
'200px'
,
width
:
'140px'
,
addHtml
:
'optionBtns'
addHtml
:
'optionBtns'
,
fixed
:
'right'
},
},
{
{
label
:
'启用开关'
,
label
:
'启用开关'
,
prop
:
'otherOptions'
,
prop
:
'otherOptions'
,
width
:
'100px'
,
width
:
'80px'
,
addHtml
:
'otherOptions'
addHtml
:
'otherOptions'
,
fixed
:
'right'
}
}
]
]
},
},
...
@@ -197,7 +207,7 @@ export default {
...
@@ -197,7 +207,7 @@ export default {
this
.
userInfo
=
this
.
$globalState
.
session
this
.
userInfo
=
this
.
$globalState
.
session
// 门店
// 门店
if
(
this
.
userInfo
.
accountLevel
==
4
)
{
if
(
this
.
userInfo
.
accountLevel
==
4
)
{
this
.
searchFormData
.
splice
(
0
,
1
)
//
this.searchFormData.splice(0, 1)
var
idx
=
this
.
tableParams
.
tableColumns
.
findIndex
(
item
=>
item
.
prop
==
'merchantName'
)
var
idx
=
this
.
tableParams
.
tableColumns
.
findIndex
(
item
=>
item
.
prop
==
'merchantName'
)
this
.
tableParams
.
tableColumns
.
splice
(
idx
,
1
)
this
.
tableParams
.
tableColumns
.
splice
(
idx
,
1
)
}
}
...
@@ -209,7 +219,7 @@ export default {
...
@@ -209,7 +219,7 @@ export default {
getAllMerchantList
()
{
getAllMerchantList
()
{
this
.
$apis
.
employee
.
getAllMerchantListApi
({}).
then
(
res
=>
{
this
.
$apis
.
employee
.
getAllMerchantListApi
({}).
then
(
res
=>
{
this
.
baseData
.
allMerchantList
=
res
this
.
baseData
.
allMerchantList
=
res
this
.
userInfo
.
accountLevel
==
4
?
this
.
handleChangeMerchant
(
res
[
0
].
id
)
:
this
.
getOptionsList
(
'
s
earchFormData'
,
true
,
'merchantId'
)
this
.
userInfo
.
accountLevel
==
4
?
this
.
handleChangeMerchant
(
res
[
0
].
id
)
:
this
.
getOptionsList
(
'
topS
earchFormData'
,
true
,
'merchantId'
)
})
})
},
},
getStaffStatusList
()
{
getStaffStatusList
()
{
...
@@ -343,10 +353,10 @@ export default {
...
@@ -343,10 +353,10 @@ export default {
float
:
right
;
float
:
right
;
}
}
.config-employee
.container
{
.config-employee
.container
{
margin-
top
:
20px
;
margin-
bottom
:
20px
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
1
0px
;
padding
:
2
0px
;
}
}
.config-employee
.flex
{
.config-employee
.flex
{
display
:
flex
;
display
:
flex
;
...
@@ -355,7 +365,7 @@ export default {
...
@@ -355,7 +365,7 @@ export default {
.config-employee
.table-btns
.el-button
{
.config-employee
.table-btns
.el-button
{
padding
:
0
0
0
5px
;
padding
:
0
0
0
5px
;
margin-left
:
5px
;
margin-left
:
5px
;
border-left
:
1px
solid
#
DCDFE
6
;
border-left
:
1px
solid
#
dcdfe
6
;
border-radius
:
0
;
border-radius
:
0
;
}
}
...
...
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