From 06e1e27652ba2f50d7417576ab6d4308feaf0d9d Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 5 Apr 2023 20:45:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=AE=E7=AE=B1=E8=B4=A6=E5=8F=B7=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AF=A6=E6=83=85=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/mail/account/MailAccountDetail.vue | 26 +++++++++++++++++++ src/views/system/mail/account/account.data.ts | 8 ++++-- src/views/system/mail/account/index.vue | 17 ++++++++++++ 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 src/views/system/mail/account/MailAccountDetail.vue diff --git a/src/views/system/mail/account/MailAccountDetail.vue b/src/views/system/mail/account/MailAccountDetail.vue new file mode 100644 index 00000000..b64c8d16 --- /dev/null +++ b/src/views/system/mail/account/MailAccountDetail.vue @@ -0,0 +1,26 @@ + + diff --git a/src/views/system/mail/account/account.data.ts b/src/views/system/mail/account/account.data.ts index d1683bf2..eaa0673a 100644 --- a/src/views/system/mail/account/account.data.ts +++ b/src/views/system/mail/account/account.data.ts @@ -61,12 +61,16 @@ const crudSchemas = reactive([ label: '创建时间', field: 'createTime', isForm: false, - formatter: dateFormatter + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + } }, { label: '操作', field: 'action', - isForm: false + isForm: false, + isDetail: false } ]) export const { allSchemas } = useCrudSchemas(crudSchemas) diff --git a/src/views/system/mail/account/index.vue b/src/views/system/mail/account/index.vue index c9e40765..878d7d9e 100644 --- a/src/views/system/mail/account/index.vue +++ b/src/views/system/mail/account/index.vue @@ -39,6 +39,14 @@ > 编辑 + + 详情 + + +