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 6b22dcb5
authored
Jan 08, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
29aa93ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
src/views/journeyConfig/components/CollapseItem.vue
src/views/journeyConfig/components/CollapseItem.vue
View file @
6b22dcb
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
</div>
</div>
<!-- -->
<!-- -->
<div
class=
"step-item-name flex-column-center"
>
<div
class=
"step-item-name flex-column-center"
>
<div
v-if=
"[7, 8, 9,
10].includes(value.taskType)"
class=
"task-type"
>
<div
v-if=
"[7, 8, 9,
10].includes(value.taskType)"
class=
"task-type"
>
{{
stage_prefix
[
value
.
taskType
].
label
}}
{{
stage_prefix
[
value
.
taskType
].
label
}}
<span
v-for=
"(tpl, index) in value.taskParam && value.taskParam.attContentList"
:key=
"index"
>
<span
v-for=
"(tpl, index) in value.taskParam && value.taskParam.attContentList"
:key=
"index"
>
<template
v-if=
"tpl.attType == 1"
>
{{
tpl
.
attContent
}}
</
template
>
<template
v-if=
"tpl.attType == 1"
>
{{
tpl
.
attContent
}}
</
template
>
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
<a>
编辑内容
</a>
<a>
编辑内容
</a>
</div>
</div>
</div>
</div>
<div
class=
"task-tpl-wrap flex"
v-if=
"[8, 9,
10].includes(value.taskType)"
>
<div
class=
"task-tpl-wrap flex"
v-if=
"[8, 9,
10].includes(value.taskType)"
>
<div
v-for=
"(tpl, index) in value.taskParam && value.taskParam.attContentList"
:key=
"index"
>
<div
v-for=
"(tpl, index) in value.taskParam && value.taskParam.attContentList"
:key=
"index"
>
<img
class=
"tpl-img"
:src=
"tpl.attContent"
v-if=
"tpl.attType == 2"
/>
<img
class=
"tpl-img"
:src=
"tpl.attContent"
v-if=
"tpl.attType == 2"
/>
<div
v-if=
"tpl.attType == 7"
class=
"mini-program flex"
>
<div
v-if=
"tpl.attType == 7"
class=
"mini-program flex"
>
...
@@ -365,7 +365,7 @@ export default {
...
@@ -365,7 +365,7 @@ export default {
this
.
updateParam
(
options
)
this
.
updateParam
(
options
)
},
},
updateParam
(
options
)
{
updateParam
(
options
)
{
console
.
log
(
options
)
console
.
log
(
options
,
this
.
sopItem
)
let
{
day
,
stage
,
stageid
,
taskType
,
nodeId
}
=
this
.
sopItem
let
{
day
,
stage
,
stageid
,
taskType
,
nodeId
}
=
this
.
sopItem
let
dataTag
=
options
.
dataTag
||
this
.
sopItem
.
dataTag
,
let
dataTag
=
options
.
dataTag
||
this
.
sopItem
.
dataTag
,
taskParam
=
options
.
taskParam
||
this
.
sopItem
.
taskParam
,
taskParam
=
options
.
taskParam
||
this
.
sopItem
.
taskParam
,
...
@@ -376,11 +376,11 @@ export default {
...
@@ -376,11 +376,11 @@ export default {
time
:
this
.
stage_time
[
this
.
sopItem
.
taskType
],
time
:
this
.
stage_time
[
this
.
sopItem
.
taskType
],
taskType
,
taskType
,
dataTag
,
dataTag
,
taskParam
taskParam
:
taskParam
?
taskParam
:{}
}
}
if
(
taskType
==
7
)
{
if
(
taskType
==
7
)
{
data
.
taskParam
.
content
=
taskParam
.
attachments
[
0
].
attContent
;
data
.
taskParam
.
content
=
taskParam
&&
taskParam
.
attachments
&&
taskParam
.
attachments
.
length
?
taskParam
.
attachments
[
0
].
attContent
:
''
delete
data
.
taskParam
.
attachments
delete
data
.
taskParam
.
attachments
}
}
this
.
$apis
.
journeyConfig
.
updateParam
({
nodeId
,
data
}).
then
(
res
=>
{
this
.
$apis
.
journeyConfig
.
updateParam
({
nodeId
,
data
}).
then
(
res
=>
{
if
(
res
==
'success'
)
{
if
(
res
==
'success'
)
{
...
@@ -396,7 +396,7 @@ export default {
...
@@ -396,7 +396,7 @@ export default {
* 企微群发/企微朋友圈
* 企微群发/企微朋友圈
*/
*/
editContent
(
item
)
{
editContent
(
item
)
{
this
.
sopItem
=
item
this
.
sopItem
=
item
this
.
tplVisible
=
true
this
.
tplVisible
=
true
},
},
dialogClose
(
val
)
{
dialogClose
(
val
)
{
...
@@ -420,8 +420,8 @@ export default {
...
@@ -420,8 +420,8 @@ export default {
this
.
conditionVisible
=
false
this
.
conditionVisible
=
false
},
},
showStat
()
{
showStat
()
{
this
.
stageid
=
this
.
stepItem
.
order
.
slice
(
5
);
this
.
stageid
=
this
.
stepItem
.
order
.
slice
(
5
)
console
.
log
(
this
.
stageid
,
' this.stageid'
)
console
.
log
(
this
.
stageid
,
' this.stageid'
)
this
.
statVisible
=
true
this
.
statVisible
=
true
},
},
remind
(
v
,
k
)
{
remind
(
v
,
k
)
{
...
...
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