修改专病路径
This commit is contained in:
parent
634f320f13
commit
7b75ee9ce3
@ -183,7 +183,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="bottomform">
|
<div class="bottomform">
|
||||||
<wangeditor
|
<wangeditor
|
||||||
style="width: 100%;background-color: red;"
|
style="width: 100%; background-color: red"
|
||||||
:nodeContent="form.nodeContent"
|
:nodeContent="form.nodeContent"
|
||||||
@on-nodeContent="onNodeContent"
|
@on-nodeContent="onNodeContent"
|
||||||
v-show="
|
v-show="
|
||||||
@ -558,7 +558,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
deep: true,
|
deep: true,
|
||||||
|
|
||||||
},
|
},
|
||||||
"form.phoneTemplateId": {
|
"form.phoneTemplateId": {
|
||||||
handler(newValue, oldValue) {
|
handler(newValue, oldValue) {
|
||||||
@ -631,18 +630,15 @@ export default {
|
|||||||
console.log(e, "eeeeeeeeeeeeeeeee");
|
console.log(e, "eeeeeeeeeeeeeeeee");
|
||||||
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(
|
||||||
@ -729,6 +725,12 @@ export default {
|
|||||||
onNodeContent(item) {
|
onNodeContent(item) {
|
||||||
console.log(item, "itemfu");
|
console.log(item, "itemfu");
|
||||||
this.form.nodeContent = item.nodeContent;
|
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) {
|
miniProgramtemplate(item) {
|
||||||
@ -793,15 +795,19 @@ export default {
|
|||||||
})
|
})
|
||||||
: "";
|
: "";
|
||||||
});
|
});
|
||||||
this.updata.specialDiseaseNodeList =
|
console.log(
|
||||||
this.updata.specialDiseaseNodeList.filter(
|
this.updata.specialDiseaseNodeList,
|
||||||
(e) =>
|
" this.updata.specialDiseaseNodeList"
|
||||||
e.routeNodeDay &&
|
|
||||||
e.routeNodeName &&
|
|
||||||
e.taskType &&
|
|
||||||
e.taskSubdivision &&
|
|
||||||
e.taskStatus
|
|
||||||
);
|
);
|
||||||
|
// this.updata.specialDiseaseNodeList =
|
||||||
|
// this.updata.specialDiseaseNodeList.filter(
|
||||||
|
// (e) =>
|
||||||
|
// !e.routeNodeDay &&
|
||||||
|
// !e.routeNodeName &&
|
||||||
|
// !e.taskType &&
|
||||||
|
// !e.taskSubdivision &&
|
||||||
|
// !e.taskStatus
|
||||||
|
// );
|
||||||
specialDiseaseNode(this.updata).then((res) => {
|
specialDiseaseNode(this.updata).then((res) => {
|
||||||
this.info();
|
this.info();
|
||||||
loading.close();
|
loading.close();
|
||||||
@ -870,6 +876,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//点击任务细分
|
//点击任务细分
|
||||||
changetaskSubdivision(code, type) {
|
changetaskSubdivision(code, type) {
|
||||||
|
console.log(code, type, "code, type");
|
||||||
this.form.taskSubdivisionName = this.taskPartitionList?.find(
|
this.form.taskSubdivisionName = this.taskPartitionList?.find(
|
||||||
(e) => e.taskPartitionCode == code
|
(e) => e.taskPartitionCode == code
|
||||||
)?.taskPartitionName;
|
)?.taskPartitionName;
|
||||||
@ -889,6 +896,17 @@ export default {
|
|||||||
if (code == el.taskPartitionCode) {
|
if (code == el.taskPartitionCode) {
|
||||||
this.form.executionTime = el.executionTime;
|
this.form.executionTime = el.executionTime;
|
||||||
this.form.taskSubdivisiontemplateType = el.templateType;
|
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) {
|
if (!type) {
|
||||||
this.form.templateId = "";
|
this.form.templateId = "";
|
||||||
this.form.templateName = "";
|
this.form.templateName = "";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user