diff --git a/src/views/system/ManuallyCreatingTasks/index.vue b/src/views/system/ManuallyCreatingTasks/index.vue index 1158695..5dce94b 100644 --- a/src/views/system/ManuallyCreatingTasks/index.vue +++ b/src/views/system/ManuallyCreatingTasks/index.vue @@ -632,6 +632,8 @@ export default { messageontemplateword(item) { this.formInline.phoneId = item.templateId; this.formInline.phoneTemplateName = item.templateName; + this.list[this.listindex].scriptInfoId=item.scriptInfoId + this.list[this.listindex].phoneTemplateId=item.phoneTemplateId }, //公众号传值 officialAccountontemplate(item) { @@ -690,22 +692,6 @@ export default { cancelButtonText: '取消', }).then(() => { this.updata.routeNodeList = this.list; - // this.updata.routeNodeList.forEach((el) => { - // if (el.phoneDialMethod == "COMMON" && el.questionInfoId) { - // el.templateType = "QUESTIONNAIRE"; - // } else if (el.phoneDialMethod == "COMMON" && el.phoneId) { - // el.templateType = "SCRIPT"; - // } else if (el.phoneDialMethod == "AI" && el.phoneId) { - // el.templateType = "SCRIPT"; - // } - // }); - // this.updata.triggerConditionList.forEach((e) => { - // e.routeId = this.$route.query.id; - // e.routeName = this.$route.query.routeName; - // delete e.optionstriggerConditionOperator - // }); - // delete this.updata.triggerConditionList.optionstriggerConditionOperator - // return signrouteadd(this.updata).then((res) => { this.$notify({ type: "success", @@ -748,6 +734,10 @@ export default { };