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) {