-
-
-
+
+ 触发条件
+ 添加触发条件
+
+
+
+
触发条件{{ index + 1 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -128,6 +148,9 @@
import propaganda from '../components/propaganda.vue'
import scriptphone from '../components/script.vue'
import question from '../components/question.vue'
+import {
+ signrouteadd
+} from '@/api/system/ManuallyCreatingTasks'
export default {
components: { scriptphone, question, propaganda },
name: "ManuallyCreatingTasks",
@@ -135,7 +158,15 @@ export default {
return {
updata: {
routeName: '',
- suitRange: ''
+ suitRange: '',
+ routeNodeList: [],
+ triggerConditionList: [{
+ routeId: '',
+ routeName: '',
+ triggerConditionName: '',
+ triggerConditionOperator: '',
+ triggerConditionValue: '',
+ }],
},
formInline: {
routeNodeDay: '',
@@ -178,6 +209,15 @@ export default {
this.formInline = this.list[0]
},
methods: {
+ addtriggerCondition() {
+ this.updata.triggerConditionList.push({
+ routeId: '',
+ routeName: '',
+ triggerConditionName: '',
+ triggerConditionOperator: '',
+ triggerConditionValue: '',
+ })
+ },
//宣教传值
propagandaontemplate(item) {
this.formInline.propagandaInfoId = item.templateId
@@ -219,12 +259,31 @@ export default {
this.list.splice(index, 1)
},
upload() {
- console.log(this.list)
+ this.updata.routeNodeList = this.list
+ signrouteadd(this.updata).then(res => {
+
+ })
},
}
};