fix: 优化后台列表与弹窗排版

This commit is contained in:
Nixevol
2026-07-04 22:45:36 +08:00
parent f493dc061d
commit a4bce741ea
4 changed files with 30 additions and 4 deletions
+3 -3
View File
@@ -27,7 +27,7 @@
class="table-fill"
flex-height
remote
:scroll-x="1360"
:scroll-x="1400"
:row-key="(r) => r.id"
/>
<div class="table-pagination">
@@ -82,7 +82,7 @@ const columns: DataTableColumns<any> = [
})
: h(NAvatar, { size: 44, style: 'border-radius:8px' }, { default: () => '—' }),
},
{ title: () => t('pages.artwork.archiveNo'), key: 'archiveNo', width: 140, align: 'center', render: (r) => r.archiveNo || '-' },
{ title: () => t('pages.artwork.archiveNo'), key: 'archiveNo', width: 170, align: 'center', ellipsis: { tooltip: true }, render: (r) => r.archiveNo || '-' },
{ title: () => t('pages.artwork.title'), key: 'title', minWidth: 220, ellipsis: { tooltip: true } },
{ title: () => t('pages.artwork.artist'), key: 'artist', minWidth: 130, ellipsis: { tooltip: true }, render: (r) => r.artist || '-' },
{ title: () => t('pages.artwork.template'), key: 'template', minWidth: 150, ellipsis: { tooltip: true }, render: (r) => r.template?.name || '-' },
@@ -107,7 +107,7 @@ const columns: DataTableColumns<any> = [
{ default: () => t(`common.auditStatus.${r.auditStatus || 'PENDING'}`) },
),
},
{ title: () => t('common.label.createdAt'), key: 'createdAt', width: 150, align: 'center', render: (r) => fmt(r.createdAt) },
{ title: () => t('common.label.createdAt'), key: 'createdAt', width: 150, align: 'center', ellipsis: { tooltip: true }, render: (r) => fmt(r.createdAt) },
{
title: () => t('common.label.operation'),
key: 'ops',