From 7f805412d9e61e84f8b39b9a6132ad71bc167c45 Mon Sep 17 00:00:00 2001 From: Cain <2365469460@qq.com> Date: Wed, 12 Mar 2025 22:50:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E8=B0=83=E6=95=B4=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/category/modules/category-operate-drawer.vue | 2 -- src/views/dictionary/data/index.vue | 8 ++++---- src/views/dictionary/type/index.vue | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/views/category/modules/category-operate-drawer.vue b/src/views/category/modules/category-operate-drawer.vue index 535e99c..2203a9d 100644 --- a/src/views/category/modules/category-operate-drawer.vue +++ b/src/views/category/modules/category-operate-drawer.vue @@ -4,9 +4,7 @@ import { useClipboard } from '@vueuse/core'; import { useFormRules, useNaiveForm } from '@/hooks/common/form'; import OperateDrawer from '@/components/common/operate-drawer.vue'; import { $t } from '@/locales'; -import { fetchAddNamespace, fetchEditNamespace } from '@/service/api'; import { useAuthStore } from '@/store/modules/auth'; -import { translateOptions } from '@/utils/common'; import { fetchAddCategory, fetchEditCategory } from '@/service/api' // import { categoryTypeOptions } from '@/constants/business'; import dict from '@/utils/dict'; diff --git a/src/views/dictionary/data/index.vue b/src/views/dictionary/data/index.vue index 6455722..fa91eef 100644 --- a/src/views/dictionary/data/index.vue +++ b/src/views/dictionary/data/index.vue @@ -40,12 +40,12 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP key: 'dictCode', title: $t('page.dictionaryData.dictionaryCode'), align: 'center', - width: 64 + width: 200 }, { key: 'dictLabel', title: $t('page.dictionaryData.dictionaryLabel' as App.I18n.I18nKey), - align: 'left', + align: 'center', width: 200, render: row => { function showDetailDrawer() { @@ -63,7 +63,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP { key: 'dictValue', title: $t('page.dictionaryData.dictionaryValue'), - align: 'left', + align: 'center', width: 200, render: row => { if (row.dictType === null) { @@ -75,7 +75,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP { key: 'dictType', title: $t('page.dictionaryData.dictionaryType'), - align: 'left', + align: 'center', width: 200, render: row => { if (row.dictType === null) { diff --git a/src/views/dictionary/type/index.vue b/src/views/dictionary/type/index.vue index fb4b1fa..253168a 100644 --- a/src/views/dictionary/type/index.vue +++ b/src/views/dictionary/type/index.vue @@ -50,7 +50,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP { key: 'dictName', title: $t('page.dictionaryType.dictionaryName' as App.I18n.I18nKey), - align: 'left', + align: 'center', width: 200, render: row => { function showDetailDrawer() { @@ -67,7 +67,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP { key: 'dictType', title: $t('page.dictionaryType.dictionaryType'), - align: 'left', + align: 'center', width: 200, render: row => { if (row.dictType === null) {