feat:【system 系统功能】邮箱增加抄送、密送,支持多个

This commit is contained in:
YunaiV
2025-08-05 21:45:23 +08:00
parent 6d99bf3a46
commit 55061b73de
6 changed files with 103 additions and 28 deletions

View File

@@ -6,6 +6,8 @@ import { DocAlert, Page, useVbenModal } from '@vben/common-ui';
import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
import { getMailLogPage } from '#/api/system/mail/log';
import { DictTag } from '#/components/dict-tag';
import { DICT_TYPE } from '#/utils';
import { useGridColumns, useGridFormSchema } from './data';
import Detail from './modules/detail.vue';
@@ -62,6 +64,13 @@ const [Grid, gridApi] = useVbenVxeGrid({
<DetailModal @success="onRefresh" />
<Grid table-title="邮件日志列表">
<template #userInfo="{ row }">
<div v-if="row.userType && row.userId" class="flex items-center gap-1">
<DictTag :type="DICT_TYPE.USER_TYPE" :value="row.userType" />
<span>({{ row.userId }})</span>
</div>
<div v-else>-</div>
</template>
<template #actions="{ row }">
<TableAction
:actions="[