修改
This commit is contained in:
parent
b96daf0c09
commit
b8fedfc662
@ -394,25 +394,28 @@ export default {
|
|||||||
this.updata.routeName = this.$route.query.routeName;
|
this.updata.routeName = this.$route.query.routeName;
|
||||||
// this.updata.specialDiseaseRouteId = this.$route.query.id;
|
// this.updata.specialDiseaseRouteId = this.$route.query.id;
|
||||||
selectSpecialDisease(this.updata.id).then((res) => {
|
selectSpecialDisease(this.updata.id).then((res) => {
|
||||||
loading.close();
|
|
||||||
this.agreeNumber = res.data.agreeNumber;
|
this.agreeNumber = res.data.agreeNumber;
|
||||||
this.totalNumber = res.data.totalNumber;
|
this.totalNumber = res.data.totalNumber;
|
||||||
res.data.specialDiseaseNodeList.forEach((e) => {
|
res.data.specialDiseaseNodeList.forEach((e) => {
|
||||||
console.log(e, "eeeeeeeeeeeeeeeee");
|
if (e.taskNodeType == 'PHONE_OUTBOUND') {
|
||||||
|
e.taskSubdivisionName = e.taskSubdivisionName + '(电话外呼)'
|
||||||
|
} else if (e.taskNodeType == 'QUESTIONNAIRE_SCALE') {
|
||||||
|
e.taskSubdivisionName = e.taskSubdivisionName + '(问卷量表)'
|
||||||
|
} else if (e.taskNodeType == 'PROPAGANDA_ARTICLE') {
|
||||||
|
e.taskSubdivisionName = e.taskSubdivisionName + '(宣教文案)'
|
||||||
|
} else if (e.taskNodeType == 'TEXT_REMIND') {
|
||||||
|
e.taskSubdivisionName = e.taskSubdivisionName + '(文字提醒)'
|
||||||
|
}
|
||||||
if (e.messagePushSign) {
|
if (e.messagePushSign) {
|
||||||
e.messagePushSign = "" + e.messagePushSign;
|
e.messagePushSign = "" + e.messagePushSign;
|
||||||
|
|
||||||
} if (e.officialPushSign) {
|
} if (e.officialPushSign) {
|
||||||
e.officialPushSign = "" + e.officialPushSign;
|
e.officialPushSign = "" + e.officialPushSign;
|
||||||
|
|
||||||
}
|
}
|
||||||
if (e.appletPushSign) {
|
if (e.appletPushSign) {
|
||||||
e.appletPushSign = "" + e.appletPushSign;
|
e.appletPushSign = "" + e.appletPushSign;
|
||||||
|
|
||||||
}
|
}
|
||||||
if (e.phonePushSign) {
|
if (e.phonePushSign) {
|
||||||
e.phonePushSign = "" + e.phonePushSign
|
e.phonePushSign = "" + e.phonePushSign
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.lists = this.handleData(
|
this.lists = this.handleData(
|
||||||
@ -424,9 +427,9 @@ export default {
|
|||||||
if (this.form.taskType) {
|
if (this.form.taskType) {
|
||||||
this.changeTaskType(this.form.taskType, this.form.taskSubdivision);
|
this.changeTaskType(this.form.taskType, this.form.taskSubdivision);
|
||||||
}
|
}
|
||||||
|
loading.close();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
loading.close();
|
|
||||||
this.lists.push({
|
this.lists.push({
|
||||||
routeNodeName: "",
|
routeNodeName: "",
|
||||||
routeNodeDay: "",
|
routeNodeDay: "",
|
||||||
@ -453,7 +456,7 @@ export default {
|
|||||||
],
|
],
|
||||||
});
|
});
|
||||||
this.form = this.lists[0].list[0];
|
this.form = this.lists[0].list[0];
|
||||||
console.log(this.form, "6555555555555555");
|
loading.close();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleData(list, key, keytwo) {
|
handleData(list, key, keytwo) {
|
||||||
|
|||||||
@ -354,10 +354,18 @@ export default {
|
|||||||
}, 3000);
|
}, 3000);
|
||||||
this.itemlist.specialDiseaseRouteId = this.$route.query.id;
|
this.itemlist.specialDiseaseRouteId = this.$route.query.id;
|
||||||
selectSpecialDisease(this.$route.query.id).then((res) => {
|
selectSpecialDisease(this.$route.query.id).then((res) => {
|
||||||
loading.close();
|
|
||||||
this.agreeNumber = res.data.agreeNumber;
|
this.agreeNumber = res.data.agreeNumber;
|
||||||
this.totalNumber = res.data.totalNumber;
|
this.totalNumber = res.data.totalNumber;
|
||||||
res.data.specialDiseaseNodeList.forEach((e) => {
|
res.data.specialDiseaseNodeList.forEach((e) => {
|
||||||
|
if (e.taskNodeType == 'PHONE_OUTBOUND') {
|
||||||
|
e.taskSubdivisionName = e.taskSubdivisionName + '(电话外呼)'
|
||||||
|
} else if (e.taskNodeType == 'QUESTIONNAIRE_SCALE') {
|
||||||
|
e.taskSubdivisionName = e.taskSubdivisionName + '(问卷量表)'
|
||||||
|
} else if (e.taskNodeType == 'PROPAGANDA_ARTICLE') {
|
||||||
|
e.taskSubdivisionName = e.taskSubdivisionName + '(宣教文案)'
|
||||||
|
} else if (e.taskNodeType == 'TEXT_REMIND') {
|
||||||
|
e.taskSubdivisionName = e.taskSubdivisionName + '(文字提醒)'
|
||||||
|
}
|
||||||
if (e.taskNodeType == 'PHONE_OUTBOUND' && e.flowScheme) {
|
if (e.taskNodeType == 'PHONE_OUTBOUND' && e.flowScheme) {
|
||||||
this.phoneNodeContent = e.flowScheme
|
this.phoneNodeContent = e.flowScheme
|
||||||
}
|
}
|
||||||
@ -396,9 +404,9 @@ export default {
|
|||||||
if (this.form.taskType) {
|
if (this.form.taskType) {
|
||||||
this.changeTaskType(this.form.taskType, this.form.taskSubdivision);
|
this.changeTaskType(this.form.taskType, this.form.taskSubdivision);
|
||||||
}
|
}
|
||||||
|
loading.close();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
loading.close();
|
|
||||||
this.lists.push({
|
this.lists.push({
|
||||||
routeNodeName: "",
|
routeNodeName: "",
|
||||||
routeNodeDay: "",
|
routeNodeDay: "",
|
||||||
@ -425,6 +433,7 @@ export default {
|
|||||||
],
|
],
|
||||||
});
|
});
|
||||||
this.form = this.lists[0].list[0];
|
this.form = this.lists[0].list[0];
|
||||||
|
loading.close();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleData(list, key, keytwo) {
|
handleData(list, key, keytwo) {
|
||||||
|
|||||||
@ -567,6 +567,15 @@ export default {
|
|||||||
this.agreeNumber = res.data.agreeNumber;
|
this.agreeNumber = res.data.agreeNumber;
|
||||||
this.totalNumber = res.data.totalNumber;
|
this.totalNumber = res.data.totalNumber;
|
||||||
res.data.specialDiseaseNodeList.forEach((e) => {
|
res.data.specialDiseaseNodeList.forEach((e) => {
|
||||||
|
if (e.taskNodeType == 'PHONE_OUTBOUND') {
|
||||||
|
e.taskSubdivisionName = e.taskSubdivisionName + '(电话外呼)'
|
||||||
|
} else if (e.taskNodeType == 'QUESTIONNAIRE_SCALE') {
|
||||||
|
e.taskSubdivisionName = e.taskSubdivisionName + '(问卷量表)'
|
||||||
|
} else if (e.taskNodeType == 'PROPAGANDA_ARTICLE') {
|
||||||
|
e.taskSubdivisionName = e.taskSubdivisionName + '(宣教文案)'
|
||||||
|
} else if (e.taskNodeType == 'TEXT_REMIND') {
|
||||||
|
e.taskSubdivisionName = e.taskSubdivisionName + '(文字提醒)'
|
||||||
|
}
|
||||||
if (e.taskNodeType == "PHONE_OUTBOUND" && e.flowScheme) {
|
if (e.taskNodeType == "PHONE_OUTBOUND" && e.flowScheme) {
|
||||||
this.phoneNodeContent = e.flowScheme;
|
this.phoneNodeContent = e.flowScheme;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user