修改
This commit is contained in:
parent
c8b11bbecc
commit
3fac2242e0
@ -654,6 +654,13 @@ export default {
|
||||
? e.list.forEach((el) => {
|
||||
el.routeNodeDay = e.routeNodeDay;
|
||||
el.routeNodeName = e.routeNodeName;
|
||||
console.log(el, 'el')
|
||||
if (el.phoneDialMethod == 'COMMON' && el.templateId) {
|
||||
el.templateType = 'QUESTIONNAIRE'
|
||||
} else if (el.phoneDialMethod == 'COMMON' && el.phoneTemplateId) {
|
||||
el.templateType = 'SCRIPT'
|
||||
|
||||
}
|
||||
this.itemlist.specialDiseaseNodeList.push(el);
|
||||
})
|
||||
: "";
|
||||
@ -669,6 +676,8 @@ export default {
|
||||
// );
|
||||
console.log(this.itemlist, 'itemlist')
|
||||
// return
|
||||
|
||||
|
||||
specialDiseaseNode(this.itemlist).then((res) => {
|
||||
this.info();
|
||||
loading.close();
|
||||
|
||||
@ -325,7 +325,13 @@
|
||||
</div>
|
||||
<div class="itemlist">
|
||||
话术模板:
|
||||
<span class="spanname" v-if="formInline.questionInfoId">
|
||||
<span
|
||||
class="spanname"
|
||||
v-if="
|
||||
formInline.questionInfoId &&
|
||||
formInline.phoneDialMethod == 'COMMON'
|
||||
"
|
||||
>
|
||||
<scripts
|
||||
@on-template="messageontemplateword"
|
||||
:templateId="formInline.phoneId"
|
||||
@ -643,7 +649,16 @@ export default {
|
||||
upload() {
|
||||
this.updata.routeNodeList = this.list;
|
||||
// console.log(this.updata,'this.updata')
|
||||
// return
|
||||
this.updata.routeNodeList.forEach((el) => {
|
||||
if (el.phoneDialMethod == "COMMON" && el.questionInfoId) {
|
||||
el.templateType = "QUESTIONNAIRE";
|
||||
} else if (el.phoneDialMethod == "COMMON" && el.phoneId) {
|
||||
el.templateType = "SCRIPT";
|
||||
}
|
||||
});
|
||||
console.log(this.updata,'updata')
|
||||
return
|
||||
|
||||
signrouteadd(this.updata).then((res) => {
|
||||
this.$notify({
|
||||
type: "success",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user