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