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 59ed6172
authored
Apr 19, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
店面配置区域督导接口换成新接口
1 parent
333168a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
src/api/index.js
src/views/systemConfig/ShopConfig/shopSet.vue
src/api/index.js
View file @
59ed617
...
...
@@ -90,6 +90,10 @@ export function findMerchantStaffList(data) {
// return request(data, "post")
return
request
(
data
)
}
export
function
merchantStaffByRoleList
(
data
)
{
data
.
method
=
`
${
path2
}
merchant.staff.by.role.list`
return
request
(
data
)
}
// 隐私协议标题查询
export
function
getPrivacyAgreement
(
data
)
{
...
...
src/views/systemConfig/ShopConfig/shopSet.vue
View file @
59ed617
...
...
@@ -294,7 +294,8 @@
import
{
deepClone
}
from
'@/common/util'
import
{
getShopSetting
,
listByMerchantIdAndYear
,
shopSetting
,
findSellerMerchantStaffList
,
getResidentStaffList
}
from
'@/api/shopConfig.js'
import
{
serviceGetMerchantList
}
from
'@api/merchant'
import
{
findMerchantStaffList
}
from
'@api/index'
// import { findMerchantStaffList } from '@api/index'
import
{
merchantStaffByRoleList
}
from
'@api/index'
import
{
businessNature
,
sceneForShop
}
from
'@/common/constants.js'
import
{
mapActions
}
from
'vuex'
import
{
rangePickerOptions_year
,
limitPrice
}
from
'@/common/format'
...
...
@@ -385,7 +386,7 @@ export default {
this
.
nowDay
=
nowDate
.
getDate
()
this
.
info
=
this
.
$route
.
params
?.
info
this
.
getShopSetting
(
this
.
info
)
this
.
findMerchantStaff
List
()
this
.
merchantStaffByRole
List
()
this
.
getSelectList
(
this
.
info
)
this
.
listByMerchantIdAndYear
(
this
.
year
)
this
.
findSellerMerchantStaffList
()
...
...
@@ -474,8 +475,8 @@ export default {
return
false
}
},
findMerchantStaff
List
()
{
findMerchantStaffList
({
merchantId
:
-
1
}).
then
((
result
)
=>
{
merchantStaffByRole
List
()
{
merchantStaffByRoleList
({
roleName
:
'区域督导'
}).
then
((
result
)
=>
{
let
copyResult
=
deepClone
(
result
)
this
.
supervisionOptionsList
=
copyResult
.
map
((
item
)
=>
{
return
{
...
...
@@ -491,7 +492,7 @@ export default {
if
(
val
.
roleName
==
baseConfig
.
roleName
)
arr
.
push
({
userId
:
val
.
uuid
,
userName
:
val
.
staffName
})
})
})
this
.
serviceBossList
=
arr
})
...
...
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