Merge branch 'zth' into dev

dev
张同海 2 days ago
commit 61d95ca877

@ -270,18 +270,20 @@
sortConditions: [],
},
})
arrRes.data.forEach((item) => {
values.attachments.forEach((e) => {
if (item.id == e) {
attachments.push({
taskMailId: values.id,
templateId: item.id,
fileName: values[item.id] ? values[item.id] : item.templateName,
fileType: values[`${item.id}-fileType`],
})
}
if (values.attachments) {
arrRes.data.forEach((item) => {
values.attachments.forEach((e) => {
if (item.id == e) {
attachments.push({
taskMailId: values.id,
templateId: item.id,
fileName: values[item.id] ? values[item.id] : item.templateName,
fileType: values[`${item.id}-fileType`],
})
}
})
})
})
}
values.attachments = attachments
values.receivers = []

Loading…
Cancel
Save