Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-peregrination
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 4fcee63c
authored
Oct 10, 2023
by
徐忆琳
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.19.0_10' into 'v3.19.0'
样式恢复。展示可显示的节点 See merge request
!11
2 parents
1b01b035
c156fa5f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
9 deletions
src/assets/css/public.scss
src/views/journeyConfig/add.vue
src/assets/css/public.scss
View file @
4fcee63
...
...
@@ -85,6 +85,7 @@ html {
color
:
#333333
;
border-bottom
:
1px
solid
#e5e5e5
;
}
.journey
{
.el-tabs__item
{
height
:
20px
!
important
;
...
...
src/views/journeyConfig/add.vue
View file @
4fcee63
...
...
@@ -10,10 +10,11 @@
<div
class=
"journey-step-body"
>
<SelJourneyTemplate
v-show=
"currentIndex == '0'"
ref=
"journeyTemplat"
></SelJourneyTemplate>
<div
v-if=
"currentIndex == '1'"
>
<!--
<div
class=
"journey-step-info"
v-for=
"(val, k) in configList"
:key=
"k"
>
-->
<!-- configList-->
<collapse-item-tpl
ref=
"collapseRef"
:configList=
"configList"
:isDisabled=
"isDisabled"
></collapse-item-tpl>
<!--
</div>
-->
<!--
<div
class=
"journey-step-info"
v-for=
"(val, k) in configList"
:key=
"k"
>
-->
<!-- configList-->
<collapse-item-tpl
ref=
"collapseRef"
:configList=
"configList"
:isDisabled=
"isDisabled"
></collapse-item-tpl>
<!--
</div>
-->
</div>
<DistributionStore
v-if=
"currentIndex == '2'"
></DistributionStore>
</div>
...
...
@@ -55,7 +56,7 @@ export default {
'1'
:
'客户旅程阶段'
,
'2'
:
'分配门店'
},
isDisabled
:
false
,
isDisabled
:
false
,
currentIndex
:
0
,
configList
:
[],
configList2
:
[
...
...
@@ -164,14 +165,27 @@ export default {
let
list
=
[]
for
(
let
v
of
nodes
)
{
if
(
v
.
nodeParamDef
&&
JSON
.
parse
(
v
.
nodeParamDef
).
stage
.
defaultValue
==
stages
[
k
].
value
)
{
list
.
push
({...
JSON
.
parse
(
v
.
nodeParamDef
),
nodeSkipable
:
v
.
nodeSkipable
,
nodeId
:
v
.
nodeId
,
nodeSkip
:
'0'
,
customData
})
list
.
push
({
...
JSON
.
parse
(
v
.
nodeParamDef
),
nodeSkipable
:
v
.
nodeSkipable
,
nodeId
:
v
.
nodeId
,
nodeSkip
:
'0'
,
nodeVisible
:
v
.
nodeVisible
,
// nodeVisible 0 节点不可见 1 可见
customData
})
}
}
list
=
list
.
filter
(
item
=>
item
.
day
)
list
.
sort
((
a
,
b
)
=>
{
return
a
.
day
.
defaultValue
-
b
.
day
.
defaultValue
})
const
sopList
=
this
.
groupBy
(
list
,
'day.defaultValue'
)
let
sopList
=
this
.
groupBy
(
list
,
'day.defaultValue'
)
sopList
=
sopList
.
map
(
function
(
arr
)
{
return
arr
.
filter
(
function
(
obj
)
{
// nodeVisible 0 节点不可见 1 可见
return
obj
.
nodeVisible
==
1
;
});
});
configList
.
push
({
label
:
stages
[
k
].
value
,
isExpaned
:
true
,
...
...
@@ -211,7 +225,8 @@ export default {
.
then
(()
=>
{
callback
()
})
.
catch
(()
=>
{})
.
catch
(()
=>
{
})
},
//开启
haneldOpen
()
{
...
...
@@ -227,7 +242,7 @@ export default {
concatActivity
()
{
this
.
$refs
.
activityForm
.
init
()
},
changeNode
(
val
){
changeNode
(
val
)
{
console
.
log
(
val
)
}
},
...
...
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