修改
This commit is contained in:
parent
327758740b
commit
c1ecd8f4d9
@ -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 = ''
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user