后台管理增加字典管理功能

This commit is contained in:
2025-12-24 15:58:17 +08:00
parent 31cc78038b
commit 9b9678b0b6
6 changed files with 565 additions and 0 deletions
+27
View File
@@ -63,6 +63,33 @@ const routes: RouteRecordRaw[] = [
}
]
},
{
path: '/dictionary',
component: Layout,
redirect: '/dictionary/list',
meta: { title: '字典管理', icon: 'Document' },
children: [
{
path: 'list',
name: 'DictionaryList',
component: () => import('@/views/dictionary/DictionaryList.vue'),
meta: { title: '字典列表' }
},
{
path: 'create',
name: 'DictionaryCreate',
component: () => import('@/views/dictionary/DictionaryForm.vue'),
meta: { title: '创建字典', hidden: true }
},
{
path: 'edit/:id',
name: 'DictionaryEdit',
component: () => import('@/views/dictionary/DictionaryForm.vue'),
meta: { title: '编辑字典', hidden: true },
props: true
}
]
},
{
path: '/tools',
component: Layout,