合并调整完成

This commit is contained in:
Cain 2025-03-12 22:50:53 +08:00
parent 8b0b7d608c
commit 7f805412d9
3 changed files with 6 additions and 8 deletions

View File

@ -4,9 +4,7 @@ import { useClipboard } from '@vueuse/core';
import { useFormRules, useNaiveForm } from '@/hooks/common/form'; import { useFormRules, useNaiveForm } from '@/hooks/common/form';
import OperateDrawer from '@/components/common/operate-drawer.vue'; import OperateDrawer from '@/components/common/operate-drawer.vue';
import { $t } from '@/locales'; import { $t } from '@/locales';
import { fetchAddNamespace, fetchEditNamespace } from '@/service/api';
import { useAuthStore } from '@/store/modules/auth'; import { useAuthStore } from '@/store/modules/auth';
import { translateOptions } from '@/utils/common';
import { fetchAddCategory, fetchEditCategory } from '@/service/api' import { fetchAddCategory, fetchEditCategory } from '@/service/api'
// import { categoryTypeOptions } from '@/constants/business'; // import { categoryTypeOptions } from '@/constants/business';
import dict from '@/utils/dict'; import dict from '@/utils/dict';

View File

@ -40,12 +40,12 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
key: 'dictCode', key: 'dictCode',
title: $t('page.dictionaryData.dictionaryCode'), title: $t('page.dictionaryData.dictionaryCode'),
align: 'center', align: 'center',
width: 64 width: 200
}, },
{ {
key: 'dictLabel', key: 'dictLabel',
title: $t('page.dictionaryData.dictionaryLabel' as App.I18n.I18nKey), title: $t('page.dictionaryData.dictionaryLabel' as App.I18n.I18nKey),
align: 'left', align: 'center',
width: 200, width: 200,
render: row => { render: row => {
function showDetailDrawer() { function showDetailDrawer() {
@ -63,7 +63,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
{ {
key: 'dictValue', key: 'dictValue',
title: $t('page.dictionaryData.dictionaryValue'), title: $t('page.dictionaryData.dictionaryValue'),
align: 'left', align: 'center',
width: 200, width: 200,
render: row => { render: row => {
if (row.dictType === null) { if (row.dictType === null) {
@ -75,7 +75,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
{ {
key: 'dictType', key: 'dictType',
title: $t('page.dictionaryData.dictionaryType'), title: $t('page.dictionaryData.dictionaryType'),
align: 'left', align: 'center',
width: 200, width: 200,
render: row => { render: row => {
if (row.dictType === null) { if (row.dictType === null) {

View File

@ -50,7 +50,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
{ {
key: 'dictName', key: 'dictName',
title: $t('page.dictionaryType.dictionaryName' as App.I18n.I18nKey), title: $t('page.dictionaryType.dictionaryName' as App.I18n.I18nKey),
align: 'left', align: 'center',
width: 200, width: 200,
render: row => { render: row => {
function showDetailDrawer() { function showDetailDrawer() {
@ -67,7 +67,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
{ {
key: 'dictType', key: 'dictType',
title: $t('page.dictionaryType.dictionaryType'), title: $t('page.dictionaryType.dictionaryType'),
align: 'left', align: 'center',
width: 200, width: 200,
render: row => { render: row => {
if (row.dictType === null) { if (row.dictType === null) {