Commit ad21d4e5 by 杨明

fixed

1 parent ed0c2ff9
...@@ -180,7 +180,7 @@ export default { ...@@ -180,7 +180,7 @@ export default {
this.noConfig = true this.noConfig = true
} }
}) })
if (stages[k].conditions) { if (stages[k].conditions && this.dataTypeCode == 'xbpzj') {
stages[k].conditions.forEach(con => { stages[k].conditions.forEach(con => {
const condition = con.conditions.filter(i => i.isHide) const condition = con.conditions.filter(i => i.isHide)
if (condition.length && condition.length == 1) { if (condition.length && condition.length == 1) {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn * @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-05 17:24:08 * @Date: 2023-09-05 17:24:08
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-16 13:44:05 * @LastEditTime: 2024-01-16 15:58:18
* @FilePath: \scrm-micro-journey\src\views\journeyConfig\index.vue * @FilePath: \scrm-micro-journey\src\views\journeyConfig\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -440,11 +440,11 @@ export default { ...@@ -440,11 +440,11 @@ export default {
val.subConditions.forEach(i => { val.subConditions.forEach(i => {
i.operators.forEach(o => { i.operators.forEach(o => {
if (o.value) { if (o.value) {
title += `并且满足${i.name}${o.name}${o.value}${o.unit?o.unit:''}` title += `并且满足${i.name}${o.name}${o.value}${o.unit?o.unit:''},`
} }
}) })
}) })
return title.replace(/,$/, '') return title.replace(/,+$/, '')
}, },
//查看详情 //查看详情
getEmpDetail() { getEmpDetail() {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn * @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-05 17:24:08 * @Date: 2023-09-05 17:24:08
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-15 14:56:06 * @LastEditTime: 2024-01-16 17:12:02
* @FilePath: \scrm-micro-journey\src\views\journeyConfig\index.vue * @FilePath: \scrm-micro-journey\src\views\journeyConfig\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -162,6 +162,11 @@ export default { ...@@ -162,6 +162,11 @@ export default {
}, },
//开启 //开启
haneldOpen() { haneldOpen() {
if(this.noConfig) {
this.handleConfirm('开启提示', '确定', 'SOP内容未配置完整', '', () => {
})
return
}
this.handleConfirm('开启提示', '确定开启', '旅程开启后将无法修改关联的活动链接', '', () => { this.handleConfirm('开启提示', '确定开启', '旅程开启后将无法修改关联的活动链接', '', () => {
this.setSopInsts(1) this.setSopInsts(1)
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!