diff --git a/src/api/system/mail/template/index.ts b/src/api/system/mail/template/index.ts index fb7ce5ea7341d4735036c85281cdd2c027a70b3b..0f88e4d777a20ba04bf2390ece3f6b37f68d27c5 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 + tos: string[] + ccs: string[] + bccs: 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 594a5d5fa6ab2f361271facf0f0ee3f9d863295c..96c21e99aa519cebc8a4183b0e5f90a105ed2729 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 ebf945dff058fda7449238f4efe21c45a3be0d92..3a31026ff14d7685181b498ecfe5ce94092d29e0 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: '', + tos: [], + ccs: [], + bccs: [], templateCode: '', templateParams: new Map() }