From 0357425ac7f57376e546fca7a39ed11e581b0c83 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 20 Dec 2025 20:30:15 +0800 Subject: [PATCH] =?UTF-8?q?review=EF=BC=9A=E3=80=90system=E3=80=91?= =?UTF-8?q?=E9=82=AE=E7=AE=B1=E7=AE=A1=E7=90=86=E7=9A=84=E5=BC=80=E5=8F=91?= =?UTF-8?q?=EF=BC=9A70%=20=E8=AF=84=E5=AE=A1=E5=85=B7=E4=BD=93=E7=9A=84?= =?UTF-8?q?=E5=AE=9E=E7=8E=B0=20review=EF=BC=9A=E3=80=90system=E3=80=91?= =?UTF-8?q?=E7=9F=AD=E4=BF=A1=E7=AE=A1=E7=90=86=E7=9A=84=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/mail/account/index.ts | 2 +- src/api/system/mail/log/index.ts | 1 + src/api/system/mail/template/index.ts | 2 + .../mail/account/detail/index.vue | 15 ++++++-- src/pages-system/mail/account/form/index.vue | 38 +++++++++---------- .../mail/components/account-list.vue | 22 +++++++---- .../mail/components/account-search-form.vue | 33 +++++++++++++--- src/pages-system/mail/components/log-list.vue | 17 +++++++-- .../mail/components/log-search-form.vue | 28 ++++++++++++-- .../mail/components/template-list.vue | 18 +++++++-- .../mail/components/template-search-form.vue | 28 ++++++++++++-- src/pages-system/mail/index.vue | 6 ++- src/pages-system/mail/log/detail/index.vue | 12 +++++- .../template/detail/components/send-form.vue | 12 ++++-- .../mail/template/detail/index.vue | 28 +++++++++++--- src/pages-system/mail/template/form/index.vue | 35 ++++++++++++----- src/pages-system/sms/channel/form/index.vue | 1 + src/pages-system/sms/log/detail/index.vue | 1 + .../template/detail/components/send-form.vue | 3 ++ 19 files changed, 230 insertions(+), 72 deletions(-) diff --git a/src/api/system/mail/account/index.ts b/src/api/system/mail/account/index.ts index 10bcfe8..52bb8d6 100644 --- a/src/api/system/mail/account/index.ts +++ b/src/api/system/mail/account/index.ts @@ -1,6 +1,7 @@ import type { PageParam, PageResult } from '@/http/types' import { http } from '@/http/http' +/** 邮箱账号信息 */ export interface MailAccount { id?: number mail: string @@ -10,7 +11,6 @@ export interface MailAccount { port: number sslEnable: boolean starttlsEnable: boolean - remark?: string createTime?: string } diff --git a/src/api/system/mail/log/index.ts b/src/api/system/mail/log/index.ts index 5d848c5..421d19a 100644 --- a/src/api/system/mail/log/index.ts +++ b/src/api/system/mail/log/index.ts @@ -1,6 +1,7 @@ import type { PageParam, PageResult } from '@/http/types' import { http } from '@/http/http' +/** 邮件日志信息 */ export interface MailLog { id?: number userId?: number diff --git a/src/api/system/mail/template/index.ts b/src/api/system/mail/template/index.ts index 43d601e..31141e3 100644 --- a/src/api/system/mail/template/index.ts +++ b/src/api/system/mail/template/index.ts @@ -1,6 +1,7 @@ import type { PageParam, PageResult } from '@/http/types' import { http } from '@/http/http' +/** 邮件模板信息 */ export interface MailTemplate { id?: number name: string @@ -15,6 +16,7 @@ export interface MailTemplate { createTime?: string } +/** 发送邮件请求 */ export interface MailSendReqVO { templateCode: string templateParams: Record diff --git a/src/pages-system/mail/account/detail/index.vue b/src/pages-system/mail/account/detail/index.vue index b692910..8b9b2da 100644 --- a/src/pages-system/mail/account/detail/index.vue +++ b/src/pages-system/mail/account/detail/index.vue @@ -1,11 +1,13 @@