Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-scene
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 e54faf39
authored
Jan 04, 2024
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
82b510b6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/mixins/config.js
src/mixins/config.js
View file @
e54faf3
...
@@ -158,9 +158,8 @@ export default {
...
@@ -158,9 +158,8 @@ export default {
getDetail
()
{
getDetail
()
{
this
.
$apis
.
journeyConfig
.
getInstIdDetail
({
instId
:
this
.
query
.
instId
}).
then
(
res
=>
{
this
.
$apis
.
journeyConfig
.
getInstIdDetail
({
instId
:
this
.
query
.
instId
}).
then
(
res
=>
{
const
instParam
=
JSON
.
parse
(
res
.
instParam
)
const
instParam
=
JSON
.
parse
(
res
.
instParam
)
const
dataTypeCode
=
instParam
.
dataTypeCode
this
.
dataTypeCode
=
instParam
.
dataTypeCode
console
.
log
(
dataTypeCode
)
if
(
this
.
dataTypeCode
==
'xbpzj'
)
{
if
(
dataTypeCode
==
'xbpzj'
)
{
this
.
statusList
=
this
.
activityType
[
1
]
this
.
statusList
=
this
.
activityType
[
1
]
}
else
{
}
else
{
this
.
statusList
=
this
.
activityType
[
2
]
this
.
statusList
=
this
.
activityType
[
2
]
...
@@ -181,7 +180,6 @@ export default {
...
@@ -181,7 +180,6 @@ export default {
if
(
instStatus
==
-
1
)
{
if
(
instStatus
==
-
1
)
{
this
.
journeyStatus
=
4
this
.
journeyStatus
=
4
}
}
console
.
log
(
stages
,
'this.journeyStatus'
)
const
nodes
=
res
.
nodes
const
nodes
=
res
.
nodes
const
configList
=
[]
const
configList
=
[]
for
(
let
k
in
stages
)
{
for
(
let
k
in
stages
)
{
...
@@ -212,8 +210,10 @@ export default {
...
@@ -212,8 +210,10 @@ export default {
},
},
async
haneldOpenQY
()
{
async
haneldOpenQY
()
{
this
.
handleConfirm
(
'开启提示'
,
'确定开启'
,
'旅程开启后将无法修改关联的活动链接'
,
''
,
async
()
=>
{
this
.
handleConfirm
(
'开启提示'
,
'确定开启'
,
'旅程开启后将无法修改关联的活动链接'
,
''
,
async
()
=>
{
if
(
this
.
dataTypeCode
==
'qiwei'
)
{
await
this
.
$apis
.
journeyConfig
.
authorizeMerchant
({
merchantId
:
this
.
$globalState
.
session
.
merchantId
})
await
this
.
$apis
.
journeyConfig
.
authorizeMerchant
({
merchantId
:
this
.
$globalState
.
session
.
merchantId
})
await
this
.
$apis
.
journeyConfig
.
concatActivity
({
instId
:
this
.
query
.
instId
,
data
:
{
supMerchantNo
:
this
.
$globalState
.
session
.
merchantId
}
})
await
this
.
$apis
.
journeyConfig
.
concatActivity
({
instId
:
this
.
query
.
instId
,
data
:
{
supMerchantNo
:
this
.
$globalState
.
session
.
merchantId
}
})
}
this
.
setSopInsts
(
1
)
this
.
setSopInsts
(
1
)
})
})
}
}
...
...
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