From 76b6571e6c23ef3366bf1ea4a1e86ba97f19c053 Mon Sep 17 00:00:00 2001 From: jinmh716 Date: Thu, 23 Jan 2025 17:16:08 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91=E9=82=AE=E4=BB=B6=E5=8F=91=E9=80=81=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E6=8A=84=E9=80=81=E5=92=8C=E5=AF=86=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/mail/template/index.ts | 4 ++- src/views/system/mail/log/log.data.ts | 8 +++++ .../mail/template/MailTemplateSendForm.vue | 35 ++++++++++++++++--- 3 files changed, 41 insertions(+), 6 deletions(-) diff --git a/src/api/system/mail/template/index.ts b/src/api/system/mail/template/index.ts index fb7ce5ea7..0f88e4d77 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 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..3a31026ff 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() } -- Gitee