diff --git a/src/api/system/mail/template/index.ts b/src/api/system/mail/template/index.ts index fb7ce5ea7..20f21e31b 100644 --- a/src/api/system/mail/template/index.ts +++ b/src/api/system/mail/template/index.ts @@ -14,7 +14,9 @@ export interface MailTemplateVO { } export interface MailSendReqVO { - mail: string + toMails: string[] + ccMails: string[] + bccMails: string[] templateCode: string templateParams: Map } diff --git a/src/views/system/mail/log/log.data.ts b/src/views/system/mail/log/log.data.ts index 594a5d5fa..96c21e99a 100644 --- a/src/views/system/mail/log/log.data.ts +++ b/src/views/system/mail/log/log.data.ts @@ -35,6 +35,14 @@ const crudSchemas = reactive([ label: '接收邮箱', field: 'toMail' }, + { + label: '抄送邮箱', + field: 'ccMail' + }, + { + label: '密送邮箱', + field: 'bccMail' + }, { label: '用户编号', field: 'userId', diff --git a/src/views/system/mail/template/MailTemplateSendForm.vue b/src/views/system/mail/template/MailTemplateSendForm.vue index ebf945dff..c35c477d8 100644 --- a/src/views/system/mail/template/MailTemplateSendForm.vue +++ b/src/views/system/mail/template/MailTemplateSendForm.vue @@ -10,8 +10,29 @@ - - + + + + + + + + { formData.value = { content: '', params: {}, - mail: '', + toMails: [], + ccMails: [], + bccMails: [], templateCode: '', templateParams: new Map() }