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 b1f9d97c
authored
Jan 15, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
393da539
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/views/journeyConfig/components/Model.vue
src/views/journeyConfig/components/Model.vue
View file @
b1f9d97
...
@@ -372,25 +372,26 @@ export default {
...
@@ -372,25 +372,26 @@ export default {
})
})
},
},
previewForm
(
val
)
{
previewForm
(
val
)
{
console
.
log
(
this
.
$common
.
utils
.
deepClone
(
val
),
'9999999999'
)
const
value
=
this
.
$common
.
utils
.
deepClone
(
val
)
const
value
=
this
.
$common
.
utils
.
deepClone
(
val
)
if
(
value
[
0
]
&&
!
value
[
0
].
attContent
)
value
.
splice
(
0
,
1
)
if
(
value
[
0
]
&&
!
value
[
0
].
attContent
)
value
.
splice
(
0
,
1
)
this
.
tplForm
.
attContentList
=
this
.
$common
.
utils
.
deepClone
(
value
)
this
.
tplForm
.
attContentList
=
this
.
$common
.
utils
.
deepClone
(
value
)
value
.
forEach
(
activity
=>
{
value
.
forEach
(
activity
=>
{
let
opts
let
opts
if
(
activity
.
attType
==
7
)
{
if
(
activity
.
attType
==
7
)
{
activity
.
attType
=
4
opts
=
{
opts
=
{
type
:
activity
.
attContent
.
marketingType
,
type
:
activity
.
attContent
.
marketingType
,
id
:
activity
.
attContent
.
marketingId
id
:
activity
.
attContent
.
marketingId
}
}
activity
.
attContent
=
this
.
renderParameter
(
opts
)
activity
.
attContent
=
this
.
renderParameter
(
opts
)
}
else
if
(
activity
.
attType
==
6
)
{
activity
.
attType
=
4
activity
.
attType
=
4
}
else
if
(
activity
.
attType
==
6
)
{
opts
=
{
opts
=
{
type
:
activity
.
attType
,
type
:
activity
.
attType
,
id
:
JSON
.
parse
(
activity
.
attContent
).
objectId
id
:
JSON
.
parse
(
activity
.
attContent
).
objectId
}
}
activity
.
attContent
=
this
.
renderParameter
(
opts
)
activity
.
attContent
=
this
.
renderParameter
(
opts
)
activity
.
attType
=
4
}
}
})
})
this
.
tplForm
.
attachments
=
value
this
.
tplForm
.
attachments
=
value
...
...
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