daofu-gov-pc/src/router/modules/system.js

118 lines
3.8 KiB
JavaScript
Raw Normal View History

2024-01-23 09:11:49 +08:00
const Layout = () => import('@/layout/index.vue')
export default {
path: '/system',
component: Layout,
redirect: '/system/base/org',
name: 'system',
meta: {
title: '系统管理',
icon: 'system'
},
children: [
{
path: 'notify',
name: 'notifyindex',
component: () => import('@/views/system/notify/index.vue'),
meta: {
icon: 'point',
title: '消息通知',
breadcrumb: true,
}
},
{
path: 'base',
name: 'systemroleindex',
redirect: '/system/base/org',
meta: {
icon: 'point',
title: '数据管理',
breadcrumb: true,
},
children: [
{
path: 'org',
name: 'org',
component: () => import('@/views/system/base/org/index.vue'),
meta: {
icon: 'point',
title: '组织管理',
breadcrumb: true,
}
},
{
path: 'postmanage',
name: 'post-manage',
component: () => import('@/views/system/base/post-management/index.vue'),
meta: {
icon: 'point',
title: '职务管理',
breadcrumb: true,
},
children: [
{
path: 'postdetail',
name: 'post-detail',
component: () => import('@/views/system/post-management/detail-post.vue'),
meta: {
title: '职务详情',
sidebar: false,
breadcrumb: true,
}
},
]
},
{
path: 'role',
component: () => import('@/views/system/base/role/index.vue'),
meta: {
icon: 'point',
title: '角色管理',
breadcrumb: true,
}
},
{
path: 'user',
name: 'user',
component: () => import('@/views/system/base/govuser/index.vue'),
meta: {
icon: 'point',
title: '用户管理',
breadcrumb: true,
}
},
]
},
{
path: 'log',
name: 'log',
redirect: '/system/log/auth-logo',
meta: {
icon: 'point',
title: '日志管理',
breadcrumb: true,
},
children: [
{
path: 'auth-logo',
name: 'auth-logo',
component: () => import('@/views/system/log/auth/index.vue'),
meta: {
icon: 'point',
title: '登录日志',
breadcrumb: true,
}
},
{
path: 'option',
name: 'option',
component: () => import('@/views/system/log/option/index.vue'),
meta: {
icon: 'point',
title: '操作 日志',
breadcrumb: true,
}
}
]
}
]
}