From ec1e775033882b6ae8463812c56bc5ff28af4edd Mon Sep 17 00:00:00 2001
From: chenfang <1057876684@qq.com>
Date: Wed, 23 Jul 2025 10:39:02 +0800
Subject: [PATCH] =?UTF-8?q?FWHL-551=20=E9=82=AE=E7=AE=B1=E8=AE=B0=E5=BD=95?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AF=BC=E5=87=BA=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/mail/log/index.ts | 5 +++
src/views/system/mail/log/index.vue | 49 +++++++++++++++++++++++++--
src/views/system/mail/log/log.data.ts | 1 +
3 files changed, 53 insertions(+), 2 deletions(-)
diff --git a/src/api/system/mail/log/index.ts b/src/api/system/mail/log/index.ts
index 13172a72d..22ebd6a67 100644
--- a/src/api/system/mail/log/index.ts
+++ b/src/api/system/mail/log/index.ts
@@ -28,3 +28,8 @@ export const getMailLogPage = async (params: PageParam) => {
export const getMailLog = async (id: number) => {
return await request.get({ url: '/system/mail-log/get?id=' + id })
}
+
+// 查询邮件日志详情
+export const exportMailLog = async (params) => {
+ return await request.download({ url: `/system/mail-log/export-excel`, params })
+}
diff --git a/src/views/system/mail/log/index.vue b/src/views/system/mail/log/index.vue
index ed9ac64f3..2b27d46bb 100644
--- a/src/views/system/mail/log/index.vue
+++ b/src/views/system/mail/log/index.vue
@@ -4,6 +4,14 @@
+
+
+
diff --git a/src/views/system/mail/log/log.data.ts b/src/views/system/mail/log/log.data.ts
index 62cbf516a..82b4818b2 100644
--- a/src/views/system/mail/log/log.data.ts
+++ b/src/views/system/mail/log/log.data.ts
@@ -30,6 +30,7 @@ const crudSchemas = reactive([
},
{
label: '接收邮箱',
+ isSearch: true,
field: 'toMail'
},
{