From c263fa3a0156ad0c4e07cc63cf29534c958b0ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=B0=B8=E6=98=A5?= Date: Thu, 4 Dec 2025 20:21:21 +0800 Subject: [PATCH] =?UTF-8?q?feat-wip(components):=20=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=AD=97=E5=85=B8=E7=9B=B8=E5=85=B3=E9=A1=B5=E9=9D=A2=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sys/core/dictionary/index.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/sys/core/dictionary/index.vue b/src/views/sys/core/dictionary/index.vue index 455d9874..f0726cd5 100644 --- a/src/views/sys/core/dictionary/index.vue +++ b/src/views/sys/core/dictionary/index.vue @@ -31,13 +31,12 @@ const { columns, columnChecks, data, loading, getData, getDataByPage, mobilePagi columns: () => [ { type: 'selection', - align: 'center', - width: 48 + align: 'center' }, { key: 'index', title: $t('common.index'), - width: 64, + width: 50, align: 'center', render: (_, index) => index + 1 }, @@ -45,18 +44,19 @@ const { columns, columnChecks, data, loading, getData, getDataByPage, mobilePagi key: 'name', title: $t('page.sys.core.dictionary.fields.name'), align: 'center', - minWidth: 120 + resizable: true }, { key: 'code', title: $t('page.sys.core.dictionary.fields.code'), align: 'center', - minWidth: 120 + resizable: true }, { key: 'type', title: $t('page.sys.core.dictionary.fields.type'), - width: 100, + width: 80, + resizable: true, render: row => { if (row.type === null) { return null; @@ -68,19 +68,18 @@ const { columns, columnChecks, data, loading, getData, getDataByPage, mobilePagi key: 'createTime', title: $t('page.sys.core.dictionary.fields.createTime'), align: 'center', - width: 120 + resizable: true }, { key: 'updateTime', title: $t('page.sys.core.dictionary.fields.updateTime'), align: 'center', - minWidth: 120 + resizable: true }, { key: 'operate', title: $t('common.operate'), align: 'center', - minWidth: 130, render: row => (
edit(row.id)}> @@ -148,6 +147,7 @@ function edit(id: string) { size="small" :flex-height="!appStore.isMobile" :scroll-x="702" + :bordered="true" :loading="loading" remote :row-key="row => row.id"