修改专病路径
This commit is contained in:
parent
634f320f13
commit
7b75ee9ce3
@ -183,7 +183,7 @@
|
||||
</div>
|
||||
<div class="bottomform">
|
||||
<wangeditor
|
||||
style="width: 100%;background-color: red;"
|
||||
style="width: 100%; background-color: red"
|
||||
:nodeContent="form.nodeContent"
|
||||
@on-nodeContent="onNodeContent"
|
||||
v-show="
|
||||
@ -558,14 +558,13 @@ export default {
|
||||
}
|
||||
},
|
||||
deep: true,
|
||||
|
||||
},
|
||||
"form.phoneTemplateId": {
|
||||
handler(newValue, oldValue) {
|
||||
console.log(newValue, "phoneTemplateId");
|
||||
// if (newValue == "NOT_SEND_MESSAGE") {
|
||||
this.form.phoneTemplateId = newValue;
|
||||
// this.form.phoneMessageTemplateName = "";
|
||||
this.form.phoneTemplateId = newValue;
|
||||
// this.form.phoneMessageTemplateName = "";
|
||||
// }
|
||||
},
|
||||
deep: true,
|
||||
@ -629,20 +628,17 @@ export default {
|
||||
this.totalNumber = res.data.totalNumber;
|
||||
res.data.specialDiseaseNodeList.forEach((e) => {
|
||||
console.log(e, "eeeeeeeeeeeeeeeee");
|
||||
if(e.messagePushSign){
|
||||
if (e.messagePushSign) {
|
||||
e.messagePushSign = "" + e.messagePushSign;
|
||||
|
||||
}if( e.officialPushSign ){
|
||||
}
|
||||
if (e.officialPushSign) {
|
||||
e.officialPushSign = "" + e.officialPushSign;
|
||||
|
||||
}
|
||||
if(e.appletPushSign){
|
||||
e.appletPushSign = "" + e.appletPushSign;
|
||||
|
||||
if (e.appletPushSign) {
|
||||
e.appletPushSign = "" + e.appletPushSign;
|
||||
}
|
||||
if(e.phonePushSign){
|
||||
e.phonePushSign = ""+e.phonePushSign
|
||||
|
||||
if (e.phonePushSign) {
|
||||
e.phonePushSign = "" + e.phonePushSign;
|
||||
}
|
||||
});
|
||||
this.lists = this.handleData(
|
||||
@ -729,6 +725,12 @@ export default {
|
||||
onNodeContent(item) {
|
||||
console.log(item, "itemfu");
|
||||
this.form.nodeContent = item.nodeContent;
|
||||
// this.html += `<div>${this.add}</div>`;
|
||||
var abc = new RegExp("<br>", "g");
|
||||
var bbb = this.form.nodeContent.replace(abc, "");
|
||||
// console.log(bbb, "bbb");
|
||||
this.form.nodeContent = bbb;
|
||||
// console.log(this.form.nodeContent, " this.form.nodeContent");
|
||||
},
|
||||
//小程序传值
|
||||
miniProgramtemplate(item) {
|
||||
@ -793,15 +795,19 @@ export default {
|
||||
})
|
||||
: "";
|
||||
});
|
||||
this.updata.specialDiseaseNodeList =
|
||||
this.updata.specialDiseaseNodeList.filter(
|
||||
(e) =>
|
||||
e.routeNodeDay &&
|
||||
e.routeNodeName &&
|
||||
e.taskType &&
|
||||
e.taskSubdivision &&
|
||||
e.taskStatus
|
||||
);
|
||||
console.log(
|
||||
this.updata.specialDiseaseNodeList,
|
||||
" this.updata.specialDiseaseNodeList"
|
||||
);
|
||||
// this.updata.specialDiseaseNodeList =
|
||||
// this.updata.specialDiseaseNodeList.filter(
|
||||
// (e) =>
|
||||
// !e.routeNodeDay &&
|
||||
// !e.routeNodeName &&
|
||||
// !e.taskType &&
|
||||
// !e.taskSubdivision &&
|
||||
// !e.taskStatus
|
||||
// );
|
||||
specialDiseaseNode(this.updata).then((res) => {
|
||||
this.info();
|
||||
loading.close();
|
||||
@ -870,6 +876,7 @@ export default {
|
||||
},
|
||||
//点击任务细分
|
||||
changetaskSubdivision(code, type) {
|
||||
console.log(code, type, "code, type");
|
||||
this.form.taskSubdivisionName = this.taskPartitionList?.find(
|
||||
(e) => e.taskPartitionCode == code
|
||||
)?.taskPartitionName;
|
||||
@ -889,6 +896,17 @@ export default {
|
||||
if (code == el.taskPartitionCode) {
|
||||
this.form.executionTime = el.executionTime;
|
||||
this.form.taskSubdivisiontemplateType = el.templateType;
|
||||
if (
|
||||
this.form.taskSubdivisiontemplateType == "SCRIPT" ||
|
||||
this.form.taskSubdivisiontemplateType == "PROPAGANDA" ||
|
||||
this.form.taskSubdivisiontemplateType == "QUESTIONNAIRE"
|
||||
) {
|
||||
this.form.nodeContent = `<p></p>`;
|
||||
}
|
||||
console.log(
|
||||
this.form.taskSubdivisiontemplateType,
|
||||
"this.form.taskSubdivisiontemplateType"
|
||||
);
|
||||
if (!type) {
|
||||
this.form.templateId = "";
|
||||
this.form.templateName = "";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user