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 4d912365
authored
Jan 15, 2024
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
模板
1 parent
3a496661
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
29 deletions
src/views/journeyConfig/components/CollapseItem.vue
src/views/journeyConfig/components/CollapseItemTpl.vue
src/views/journeyModel/components/CollapseItem.vue
src/views/journeyModel/components/condition.vue
src/views/journeyModel/components/sopItem.vue
src/views/journeyConfig/components/CollapseItem.vue
View file @
4d91236
...
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-05 17:24:08
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-1
0 16:36:13
* @LastEditTime: 2024-01-1
5 14:44:58
* @FilePath: \scrm-micro-journey\src\views\journeyConfig\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -29,6 +29,7 @@
</div>
<div
class=
"task-item-name"
>
进入条件
</div>
<div
class=
"task-item-desc"
>
(描述用户触发何种条件后,将自动变更为该旅程阶段)
</div>
<div
class=
"task-item-mark"
>
该旅程阶段支持手动标记
</div>
</div>
<div
class=
"progress-item-content bg-fff"
>
<div
class=
"progress-item"
v-for=
"(v, k) in stepItem.conditionsList"
:key=
"k"
>
...
...
@@ -101,9 +102,9 @@
<el-popover
placement=
"top-start"
width=
"100"
trigger=
"click"
>
<div
class=
"popover-panel"
v-for=
"(t, pkey) in v"
:key=
"pkey"
>
<div
class=
"flex-column-center"
>
<span>
{{
value
.
time
}}
</span>
<span>
{{
t
.
time
}}
</span>
</div>
<div
class=
"stage-desc"
>
{{
stageInfo
([
t
.
taskType
]).
nodeName
}}
</div>
<div
class=
"stage-desc"
>
{{
stageInfo
([
t
.
nodeProtoId
]).
nodeName
}}
</div>
</div>
<div
slot=
"reference"
class=
"flex-column-center"
v-if=
"v.length
<
= 2">
...
...
@@ -338,6 +339,11 @@ export default {
color
:
#999999
;
font-size
:
12px
;
}
.task-item-mark
{
color
:
#999999
;
font-size
:
12px
;
margin-left
:
auto
;
}
}
.task-sop-l
{
...
...
@@ -353,29 +359,31 @@ export default {
.progress-item-content
{
padding
:
16px
;
margin
:
10px
0px
;
display
:
grid
;
grid-template-columns
:
50%
50%
;
row-gap
:
20px
;
position
:
relative
;
.progress-item
{
position
:
relative
;
padding-left
:
20px
;
min-width
:
50%
;
height
:
32px
;
display
:
flex
;
align-items
:
center
;
&-num
{
flex
:
1
;
}
img
{
width
:
32px
;
height
:
4px
;
margin
:
0
10px
;
}
span
{
display
:
inline-block
;
&:first-child
{
margin-right
:
40px
;
width
:
48px
;
}
&
:last-child
{
}
}
&
::before
{
content
:
''
;
position
:
absolute
;
...
...
@@ -384,7 +392,7 @@ export default {
background
:
#5850ff
;
border-radius
:
50%
;
left
:
0px
;
top
:
5
px
;
top
:
12
px
;
}
}
}
...
...
src/views/journeyConfig/components/CollapseItemTpl.vue
View file @
4d91236
...
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-05 17:24:08
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-1
0 16:35:33
* @LastEditTime: 2024-01-1
5 14:43:49
* @FilePath: \scrm-micro-journey\src\views\journeyConfig\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -29,6 +29,7 @@
</div>
<div
class=
"task-item-name"
>
进入条件
</div>
<div
class=
"task-item-desc"
>
(描述用户触发何种条件后,将自动变更为该旅程阶段)
</div>
<div
class=
"task-item-mark"
>
该旅程阶段支持手动标记
</div>
</div>
<div
class=
"progress-item-content bg-fff"
>
<div
class=
"progress-item"
v-for=
"(v, k) in stepItem.conditionsList"
:key=
"k"
>
...
...
@@ -89,9 +90,9 @@
<el-popover
placement=
"top-start"
width=
"100"
trigger=
"click"
>
<div
class=
"popover-panel"
v-for=
"(t, pkey) in v"
:key=
"pkey"
>
<div
class=
"flex-column-center"
v-if=
"t.nodeSkip == '0'"
>
<span>
{{
value
.
time
.
defaultValue
}}
</span>
<span>
{{
t
.
time
.
defaultValue
}}
</span>
</div>
<
!--
<div
class=
"stage-desc"
>
{{
stageInfo
([
t
.
taskType
]).
nodeName
}}
</div>
--
>
<
div
class=
"stage-desc"
>
{{
stageInfo
([
t
.
nodeProtoId
]).
nodeName
}}
</div
>
</div>
<div
slot=
"reference"
class=
"flex-column-center"
v-if=
"v.length
<
= 2
&&
value.nodeSkip == '0'">
...
...
@@ -321,6 +322,11 @@ export default {
color
:
#999999
;
font-size
:
12px
;
}
.task-item-mark
{
color
:
#999999
;
font-size
:
12px
;
margin-left
:
auto
;
}
}
.task-sop-l
{
...
...
@@ -336,29 +342,31 @@ export default {
.progress-item-content
{
padding
:
16px
;
margin
:
10px
0px
;
display
:
grid
;
grid-template-columns
:
50%
50%
;
row-gap
:
20px
;
position
:
relative
;
.progress-item
{
position
:
relative
;
padding-left
:
20px
;
min-width
:
50%
;
height
:
32px
;
display
:
flex
;
align-items
:
center
;
&-num
{
flex
:
1
;
}
img
{
width
:
32px
;
height
:
4px
;
margin
:
0
10px
;
}
span
{
display
:
inline-block
;
&:first-child
{
margin-right
:
40px
;
width
:
48px
;
}
&
:last-child
{
}
}
&
::before
{
content
:
''
;
position
:
absolute
;
...
...
@@ -367,7 +375,7 @@ export default {
background
:
#5850ff
;
border-radius
:
50%
;
left
:
0px
;
top
:
5
px
;
top
:
12
px
;
}
}
}
...
...
src/views/journeyModel/components/CollapseItem.vue
View file @
4d91236
...
...
@@ -117,7 +117,7 @@
<el-popover
placement=
"top-start"
width=
"100"
trigger=
"click"
>
<div
class=
"popover-panel"
v-for=
"(t, pkey) in v"
:key=
"pkey"
>
<div
class=
"flex-column-center"
>
<span>
{{
value
.
time
}}
</span>
<span>
{{
t
.
time
}}
</span>
</div>
<div
class=
"stage-desc"
>
{{
stageInfo
([
t
.
taskType
]).
nodeName
}}
</div>
</div>
...
...
@@ -247,7 +247,15 @@ export default {
},
//删除sop任务
handleDelete
(
val
,
k
)
{
val
.
splice
(
k
,
1
)
this
.
$confirm
(
'是否确定删除?'
,
'提示'
,
{
confirmButtonText
:
'是'
,
cancelButtonText
:
'否'
,
type
:
'warning'
})
.
then
(()
=>
{
val
.
splice
(
k
,
1
)
})
.
catch
(()
=>
{})
},
//新增条件
closeActivity
(
val
)
{
...
...
src/views/journeyModel/components/condition.vue
View file @
4d91236
...
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-12-25 13:34:43
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-1
2 17:06:38
* @LastEditTime: 2024-01-1
5 11:16:55
* @FilePath: \scrm-micro-peregrination\src\views\journeyModel\components\condition.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -87,7 +87,7 @@ export default {
})
})
this
.
stepList
=
stepList
this
.
journeyList
=
this
.
app
.
journeyList
this
.
journeyList
=
this
.
app
.
journeyList
.
filter
(
i
=>
i
)
},
watch
:
{
'conditionList.flag'
(
val
)
{
...
...
src/views/journeyModel/components/sopItem.vue
View file @
4d91236
...
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-12-25 14:31:26
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-1
2 11:09:02
* @LastEditTime: 2024-01-1
5 15:19:05
* @FilePath: \scrm-micro-peregrination\src\views\journeyModel\components\sopItem.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AEVid
-->
...
...
@@ -53,7 +53,7 @@ export default {
},
nodeKey
:
''
,
day
:
0
,
time
:
'09:00
:00
'
,
time
:
'09:00'
,
list
:
[],
modelList
:
[]
}
...
...
@@ -62,7 +62,7 @@ export default {
watch
:
{
drawerVisible
(
val
)
{
if
(
val
)
{
this
.
time
=
'09:00
:00
'
this
.
time
=
'09:00'
this
.
getModelList
()
}
}
...
...
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