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 325f8a45
authored
Mar 16, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
1a5362be
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
5 deletions
src/api/modules/seckillActivity.js
src/views/battle/index.vue
src/api/modules/seckillActivity.js
View file @
325f8a4
...
@@ -292,6 +292,18 @@ const getCrowdfundingParams = params => {
...
@@ -292,6 +292,18 @@ const getCrowdfundingParams = params => {
sign
:
true
sign
:
true
})
})
}
}
/**获取众筹活动名称&门店 */
const
getCrowdGoldParams
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.crowdfunding.activity.parameter.list'
/**1秒杀 2直播间活动 3众筹 4膨胀金 */
params
.
marketingType
=
5
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
/**众筹活动直播视频列表 */
/**众筹活动直播视频列表 */
const
getTencentcloudmediaList
=
params
=>
{
const
getTencentcloudmediaList
=
params
=>
{
...
@@ -304,4 +316,4 @@ const getTencentcloudmediaList = params => {
...
@@ -304,4 +316,4 @@ const getTencentcloudmediaList = params => {
})
})
}
}
export
default
{
getPayListApi
,
getPayMerchatListApi
,
liveroomDetailexport
,
liveroomDetailpage
,
liveroomOverview
,
getActivityPageApi
,
getCrowdfundListApi
,
exportCrowdfundApi
,
getBrowseListApi
,
exportBrowseApi
,
toggleStatusApi
,
deleteActivityApi
,
topActivityApi
,
getSharedApi
,
addOrUpdateActivityApi
,
getActivityDetailApi
,
getCrowdSharedApi
,
getLiveListApi
,
getRankListApi
,
exportRankListApi
,
getDataBoardApi
,
getVisitorListApi
,
getSharedListApi
,
getDailyOrderQuantityStatistics
,
exportDailyOrderQuantityStatistics
,
getCrowdfundingParams
,
getTencentcloudmediaList
}
export
default
{
get
CrowdGoldParams
,
get
PayListApi
,
getPayMerchatListApi
,
liveroomDetailexport
,
liveroomDetailpage
,
liveroomOverview
,
getActivityPageApi
,
getCrowdfundListApi
,
exportCrowdfundApi
,
getBrowseListApi
,
exportBrowseApi
,
toggleStatusApi
,
deleteActivityApi
,
topActivityApi
,
getSharedApi
,
addOrUpdateActivityApi
,
getActivityDetailApi
,
getCrowdSharedApi
,
getLiveListApi
,
getRankListApi
,
exportRankListApi
,
getDataBoardApi
,
getVisitorListApi
,
getSharedListApi
,
getDailyOrderQuantityStatistics
,
exportDailyOrderQuantityStatistics
,
getCrowdfundingParams
,
getTencentcloudmediaList
}
src/views/battle/index.vue
View file @
325f8a4
...
@@ -358,18 +358,20 @@ export default {
...
@@ -358,18 +358,20 @@ export default {
},
},
async
getCrowdfundingParams
()
{
async
getCrowdfundingParams
()
{
/**参数类型 1:众筹活动名称(返回类型String),2:众筹活动门店 */
/**参数类型 1:众筹活动名称(返回类型String),2:众筹活动门店 */
const
activity
=
await
this
.
$apis
.
seckillActivity
.
getCrowdfundingParams
({
const
funding
=
await
this
.
$apis
.
seckillActivity
.
getCrowdfundingParams
({
parameterType
:
1
parameterType
:
1
})
})
const
gold
=
await
this
.
$apis
.
seckillActivity
.
getCrowdGoldParams
({
parameterType
:
1
})
const
activity
=
[...
funding
?.
parameters
,
...
gold
?.
parameters
]
let
activityNameList
=
[]
let
activityNameList
=
[]
if
(
activity
?.
parameters
&&
activity
.
parameters
.
length
)
{
activity
.
map
(
e
=>
{
activity
.
parameters
.
map
(
e
=>
{
activityNameList
.
push
({
activityNameList
.
push
({
confId
:
e
,
confId
:
e
,
confName
:
e
confName
:
e
})
})
})
})
}
this
.
$set
(
this
.
searchFormData
[
1
],
'optionList'
,
this
.
$common
.
utils
.
deepClone
(
activityNameList
))
this
.
$set
(
this
.
searchFormData
[
1
],
'optionList'
,
this
.
$common
.
utils
.
deepClone
(
activityNameList
))
},
},
clearData
()
{
clearData
()
{
...
...
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