Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-activity-center
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 fd116c10
authored
Jan 06, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
saas
1 parent
c959c287
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
87 additions
and
2 deletions
src/api/modules/saasOrder.js
src/setup/qiankun.js
src/views/battle/index.vue
src/views/saasOrder/index.vue
src/api/modules/saasOrder.js
0 → 100644
View file @
fd116c1
import
{
http
}
from
'@/main'
const
url1
=
'/rop-scrm-entmicro/router'
const
url
=
'/rop-scrm-shopmall/router'
//门店号选择服务
const
getMerchantList
=
params
=>
{
params
.
method
=
'entmicro.api.merchant.listDepartmentTree.select.merchant'
return
http
({
url
:
url1
,
method
:
'post'
,
data
:
params
,
sign
:
true
})
}
const
getlistDepartmentTree
=
params
=>
{
params
.
method
=
`entmicro.api.department.listDepartmentTree`
return
http
({
url
:
url1
,
method
:
'GET'
,
data
:
params
,
sign
:
true
})
}
// 园区店战报配置
const
getYqReportlist
=
params
=>
{
params
.
method
=
`scrm.api.boutiquecoupon.rop.router`
params
.
routerMethod
=
'dj.api.smarcarlife.YqMerchantActionReportConfig.listWithPage'
return
http
({
url
:
'rop-scrm-boutiquecoupon/router'
,
method
:
'GET'
,
data
:
params
,
sign
:
true
})
}
// 更新园区店战报配置
const
updateYqConfig
=
params
=>
{
params
.
method
=
`scrm.api.boutiquecoupon.rop.router`
params
.
routerMethod
=
'dj.api.smarcarlife.YqMerchantActionReportConfig.updateConfig'
return
http
({
url
:
'rop-scrm-boutiquecoupon/router'
,
method
:
'GET'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
// 批量配置众筹活动战报专员
const
insertStaff
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.activity.action.report.staff.insert`
return
http
({
url
,
method
:
'post'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
// 根据众筹活动id获取众筹活动战报专员列表(运营版)
const
getStaffList
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.activity.action.report.staff.list`
return
http
({
url
,
method
:
'post'
,
data
:
params
,
sign
:
true
})
}
// 企微高级群聊列表
const
getGroupList
=
params
=>
{
params
.
method
=
`entmicro.api.wechatcloudcontrol.batchmessaging.group.list`
return
http
({
url
:
url1
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
export
default
{
getStaffList
,
getMerchantList
,
getlistDepartmentTree
,
getYqReportlist
,
updateYqConfig
,
insertStaff
,
getGroupList
}
src/setup/qiankun.js
View file @
fd116c1
...
@@ -12,9 +12,10 @@ let instance = null
...
@@ -12,9 +12,10 @@ let instance = null
Vue
.
use
(
ElementUI
)
Vue
.
use
(
ElementUI
)
Vue
.
use
(
GLTable
)
Vue
.
use
(
GLTable
)
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
const
{
response
,
request
,
sign
,
secret
,
sign_common
,
request_common
,
merchantId
}
=
await
fetchConfig
()
const
{
response
,
request
,
sign
,
secret
,
sign_common
,
request_common
,
merchantId
,
saasOrder
}
=
await
fetchConfig
()
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$merchantId
=
merchantId
Vue
.
prototype
.
$merchantId
=
merchantId
Vue
.
prototype
.
$saasOrder
=
saasOrder
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$globalState
=
globalState
Vue
.
prototype
.
$globalState
=
globalState
Vue
.
prototype
.
$request
=
request
Vue
.
prototype
.
$request
=
request
...
...
src/views/battle/index.vue
View file @
fd116c1
...
@@ -542,7 +542,8 @@ export default {
...
@@ -542,7 +542,8 @@ export default {
},
},
async
getDepartmentTree
()
{
async
getDepartmentTree
()
{
// let params = { addChildrensFlag: true, queryMerchantId: this.config.merchantId,loginStatus:1 }
// let params = { addChildrensFlag: true, queryMerchantId: this.config.merchantId,loginStatus:1 }
let
params
=
{
addChildrensFlag
:
true
,
queryMerchantId
:
this
.
$merchantId
,
loginStatus
:
1
}
// let params = { addChildrensFlag: true, queryMerchantId: this.$merchantId, loginStatus: 1 }
let
params
=
{
addChildrensFlag
:
true
,
queryMerchantId
:
44210895
,
loginStatus
:
1
}
let
data
=
await
this
.
$apis
.
battle
.
getlistDepartmentTree
(
params
)
let
data
=
await
this
.
$apis
.
battle
.
getlistDepartmentTree
(
params
)
this
.
ids
=
[]
this
.
ids
=
[]
this
.
automaticData
=
data
this
.
automaticData
=
data
...
...
src/views/saasOrder/index.vue
View file @
fd116c1
This diff is collapsed.
Click to expand it.
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