Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 c22777c7
authored
Apr 19, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
服务商负责人数据问题修改
1 parent
59ed6172
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
src/views/systemConfig/ShopConfig/shopSet.vue
src/views/systemConfig/ShopConfig/shopSet.vue
View file @
c22777c
...
@@ -294,7 +294,7 @@
...
@@ -294,7 +294,7 @@
import
{
deepClone
}
from
'@/common/util'
import
{
deepClone
}
from
'@/common/util'
import
{
getShopSetting
,
listByMerchantIdAndYear
,
shopSetting
,
findSellerMerchantStaffList
,
getResidentStaffList
}
from
'@/api/shopConfig.js'
import
{
getShopSetting
,
listByMerchantIdAndYear
,
shopSetting
,
findSellerMerchantStaffList
,
getResidentStaffList
}
from
'@/api/shopConfig.js'
import
{
serviceGetMerchantList
}
from
'@api/merchant'
import
{
serviceGetMerchantList
}
from
'@api/merchant'
//
import { findMerchantStaffList } from '@api/index'
import
{
findMerchantStaffList
}
from
'@api/index'
import
{
merchantStaffByRoleList
}
from
'@api/index'
import
{
merchantStaffByRoleList
}
from
'@api/index'
import
{
businessNature
,
sceneForShop
}
from
'@/common/constants.js'
import
{
businessNature
,
sceneForShop
}
from
'@/common/constants.js'
import
{
mapActions
}
from
'vuex'
import
{
mapActions
}
from
'vuex'
...
@@ -386,6 +386,7 @@ export default {
...
@@ -386,6 +386,7 @@ export default {
this
.
nowDay
=
nowDate
.
getDate
()
this
.
nowDay
=
nowDate
.
getDate
()
this
.
info
=
this
.
$route
.
params
?.
info
this
.
info
=
this
.
$route
.
params
?.
info
this
.
getShopSetting
(
this
.
info
)
this
.
getShopSetting
(
this
.
info
)
this
.
findMerchantStaffList
()
this
.
merchantStaffByRoleList
()
this
.
merchantStaffByRoleList
()
this
.
getSelectList
(
this
.
info
)
this
.
getSelectList
(
this
.
info
)
this
.
listByMerchantIdAndYear
(
this
.
year
)
this
.
listByMerchantIdAndYear
(
this
.
year
)
...
@@ -486,9 +487,14 @@ export default {
...
@@ -486,9 +487,14 @@ export default {
userNum
:
item
.
staffPhone
userNum
:
item
.
staffPhone
}
}
})
})
})
},
// 获取全部员工 过滤出服务商负责人可选数据
findMerchantStaffList
()
{
findMerchantStaffList
({
merchantId
:
-
1
}).
then
(
res
=>
{
// 服务商负责人(根据角色名过滤)
// 服务商负责人(根据角色名过滤)
let
arr
=
[]
let
arr
=
[]
copyResult
.
map
(
val
=>
{
res
?
.
map
(
val
=>
{
if
(
val
.
roleName
==
baseConfig
.
roleName
)
arr
.
push
({
if
(
val
.
roleName
==
baseConfig
.
roleName
)
arr
.
push
({
userId
:
val
.
uuid
,
userId
:
val
.
uuid
,
userName
:
val
.
staffName
userName
:
val
.
staffName
...
...
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