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 ceebb61c
authored
Nov 25, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 修改众筹活动、门店请求参数
1 parent
6149ff87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
src/api/modules/seckillActivity.js
src/views/seckillActivity/crowdFundList.vue
src/api/modules/seckillActivity.js
View file @
ceebb61
...
...
@@ -284,7 +284,7 @@ const liveroomOverview = params => {
const
getCrowdfundingParams
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.crowdfunding.activity.parameter.list'
/**1秒杀 2直播间活动 3众筹 4膨胀金 */
params
.
marketingType
=
3
params
.
marketingType
=
params
.
marketingType
||
3
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
...
...
src/views/seckillActivity/crowdFundList.vue
View file @
ceebb61
...
...
@@ -606,14 +606,14 @@ export default {
{
label
:
'退单数'
,
prop
:
'chargebackNumber'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
marketingType
==
6
?
'--'
:
cellValue
.
chargebackNumber
||
0
}
},
{
label
:
'核销数'
,
prop
:
'verificationNumber'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
marketingType
==
6
?
'--'
:
cellValue
.
verificationNumber
||
0
}
},
...
...
@@ -863,7 +863,8 @@ export default {
/**参数类型 1:众筹活动名称(返回类型String),2:众筹活动门店 */
if
(
parameterTypeList
.
includes
(
1
))
{
const
activity
=
await
this
.
$apis
.
seckillActivity
.
getCrowdfundingParams
({
parameterType
:
1
parameterType
:
1
,
marketingType
:
'3,6'
})
let
activityNameList
=
[]
if
(
activity
?.
parameters
&&
activity
.
parameters
.
length
)
{
...
...
@@ -878,7 +879,8 @@ export default {
}
if
(
parameterTypeList
.
includes
(
2
))
{
const
merchant
=
await
this
.
$apis
.
seckillActivity
.
getCrowdfundingParams
({
parameterType
:
2
parameterType
:
2
,
marketingType
:
'3,6'
})
let
merchantNameList
=
[]
if
(
merchant
?.
parameters
&&
merchant
.
parameters
.
length
)
{
...
...
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