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

158 lines
5.0 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: '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,
},
},
{
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',
2024-01-23 17:52:02 +08:00
title: '操作日志',
2024-01-23 09:11:49 +08:00
breadcrumb: true,
}
}
]
2024-01-23 17:52:02 +08:00
},
{
path: 'setting',
name: 'setting',
redirect: '/system/setting/info',
meta: {
icon: 'point',
title: '系统设置',
breadcrumb: true,
},
children: [
{
path: 'info',
name: 'info',
component: () => import('@/views/system/setting/info.vue'),
meta: {
icon: 'point',
title: '基础设置',
breadcrumb: true,
}
},
{
path: 'safe',
name: 'safe',
component: () => import('@/views/system/setting/safe.vue'),
meta: {
icon: 'point',
title: '安全设置',
breadcrumb: true,
}
},
{
path: 'protocol',
name: 'protocol',
component: () => import('@/views/system/setting/protocol.vue'),
meta: {
icon: 'point',
title: '协议管理',
breadcrumb: true,
}
},
{
path: 'file',
name: 'file',
component: () => import('@/views/system/setting/file.vue'),
meta: {
icon: 'point',
title: '文件上传设置',
breadcrumb: true,
}
},
]
2024-02-06 10:46:11 +08:00
},
{
path: 'messageindex',
name: 'messageindex',
meta: {
icon: 'point',
title: '消息管理',
breadcrumb: true,
},
component: () => import('@/views/system/message/index.vue'),
},
2024-01-23 09:11:49 +08:00
]
}