create-iking-admin
Version:
金合技术中台脚手架
91 lines (88 loc) • 2.26 kB
text/typescript
/*
* @Author: wfl
* @LastEditors: wfl
* @description:
* @updateInfo:
* @Date: 2022-07-29 11:45:14
* @LastEditTime: 2022-09-09 18:35:51
*/
import { LAYOUT } from '@/mainApp/router/constant';
import type { AppRouteModule } from '@/mainApp/router/types';
const system: AppRouteModule = {
path: '/system',
name: 'system',
component: LAYOUT,
redirect: '/system/userManage',
meta: {
title: 'system',
},
children: [
{
path: 'userManage',
name: 'userManage',
component: () => import('@/mainApp/views/system/user-manage/userManage.vue'),
meta: {
title: '用户管理',
},
},
{
path: 'menuManage',
name: 'menuManage',
component: () => import('@/mainApp/views/system/menu-manage/menuManage'),
meta: {
title: '菜单管理',
},
},
{
path: 'roleManage',
name: 'roleManage',
component: () => import('@/mainApp/views/system/role-manage/roleManage'),
meta: {
title: '角色管理',
},
},
{
path: 'postManage',
name: 'postManage',
component: () => import('@/mainApp/views/system/post-manage/postManage'),
meta: {
title: '岗位管理',
},
},
{
path: 'dictionaryManage',
name: 'dictionaryManage',
component: () => import('@/mainApp/views/system/dict-manage/dictManage.vue'),
meta: {
title: '字典管理',
},
},
{
path: 'depManage',
name: 'depManage',
component: () => import('@/mainApp/views/system/dep-manage/depManage'),
meta: {
title: '部门管理',
},
},
{
path: 'paramsManage',
name: 'paramsManage',
component: () => import('@/mainApp/views/system/params-manage/paramsManage.vue'),
meta: {
title: '参数管理',
icon: 'simple-icons:about-dot-me',
},
},
{
path: 'ikingForm',
name: 'ikingForm',
component: () => import('@/mainApp/views/system/iking-form/index.vue'),
meta: {
title: '自定义表单11',
icon: 'simple-icons:about-dot-me',
},
},
],
};
export default system;