This commit is contained in:
2024-04-08 11:12:05 +08:00
parent 327758740b
commit c1ecd8f4d9

View File

@ -166,8 +166,8 @@
<div class="pushMethod">
模板
<span>
<miniProgram @on-template="miniProgramtemplate"
:templateId="form.appletTemplateId" :templateName="form.appletTemplateName">
<miniProgram @on-template="miniProgramtemplate" :templateId="form.appletTemplateId"
:templateName="form.appletTemplateName">
</miniProgram>
</span>
</div>
@ -457,17 +457,21 @@ export default {
}
})
if (taskSubdivision) {
this.changetaskSubdivision(taskSubdivision)
this.changetaskSubdivision(taskSubdivision, 1)
}
})
},
changetaskSubdivision(e) {
changetaskSubdivision(e, type) {
this.form.taskSubdivision = e
this.taskPartitionList.forEach(el => {
if (e == el.id) {
this.form.executionTime = el.executionTime
this.form.taskSubdivisionName = el.taskTypeName
this.form.taskSubdivisiontemplateType = el.templateType
if (!type) {
this.form.templateId = ''
this.form.templateName = ''
}
}
})
},