Commit 4d912365 by 杨明

模板

1 parent 3a496661
......@@ -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-10 16:36:13
* @LastEditTime: 2024-01-15 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: 5px;
top: 12px;
}
}
}
......
......@@ -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-10 16:35:33
* @LastEditTime: 2024-01-15 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: 5px;
top: 12px;
}
}
}
......
......@@ -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) {
......
......@@ -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-12 17:06:38
* @LastEditTime: 2024-01-15 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) {
......
......@@ -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-12 11:09:02
* @LastEditTime: 2024-01-15 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()
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!