Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 de85b6a0
authored
Aug 16, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改请求逻辑
1 parent
c801ab9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
api/mineApi/mine.js
pages/tab/output/components/StaffSort/StaffSort.js
api/mineApi/mine.js
View file @
de85b6a
...
@@ -48,7 +48,7 @@ class mineApi {
...
@@ -48,7 +48,7 @@ class mineApi {
}
}
// 获取服务中心下拉筛选 所有服务商数据
// 获取服务中心下拉筛选 所有服务商数据
getServiceCenterListAPI
(
data
)
{
getServiceCenterListAPI
(
data
)
{
data
.
querySubPartner
=
true
//
data.querySubPartner = true
return
api
.
post
(
return
api
.
post
(
{
{
method
:
'scrm.api.busassistant.serviceCenter.listByServiceMerchantId'
,
method
:
'scrm.api.busassistant.serviceCenter.listByServiceMerchantId'
,
...
...
pages/tab/output/components/StaffSort/StaffSort.js
View file @
de85b6a
...
@@ -116,7 +116,7 @@ Component({
...
@@ -116,7 +116,7 @@ Component({
// 获取服务中心数据
// 获取服务中心数据
getSeviceCenter
()
{
getSeviceCenter
()
{
mineApi
.
getServiceCenterListAPI
({}).
then
(
res
=>
{
mineApi
.
getServiceCenterListAPI
({
querySubPartner
:
true
}).
then
(
res
=>
{
let
data
=
res
||
[]
let
data
=
res
||
[]
let
serviceIds
=
data
.
map
(
val
=>
{
return
val
.
yqMerchantId
})
let
serviceIds
=
data
.
map
(
val
=>
{
return
val
.
yqMerchantId
})
this
.
setData
({
this
.
setData
({
...
...
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