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'
},
{