daofu-gov-pc/src/router/modules/system.js
2024-03-21 17:30:55 +08:00

226 lines
7.7 KiB
JavaScript

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: 'jobtype',
name: 'jobtype',
component: () => import('@/views/system/base/job-type/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,
}
}
]
},
{
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,
}
},
]
},
{
path: 'message',
name: 'message',
redirect: '/system/message/notice',
meta: {
icon: 'point',
title: '消息管理',
breadcrumb: true,
},
children: [
{
path: 'notice',
name: 'notice',
component: () => import('@/views/system/message/notice/index.vue'),
meta: {
icon: 'point',
title: '公告管理',
breadcrumb: true,
},
},
{
path: 'study',
name: 'study',
component: () => import('@/views/system/message/study-content/index.vue'),
meta: {
icon: 'point',
title: '党员学习内容',
breadcrumb: true, //是否显示面包屑
},
children: [
{
path: 'study-detail',
name: 'study-detail',
component: () => import('@/views/system/message/study-content/detail.vue'),
meta: {
icon: 'point',
title: '党员学习内容详情',
breadcrumb: true,
sidebar: false
},
},
]
},
{
path: 'public',
name: 'public',
component: () => import('@/views/system/message/public-content/index.vue'),
meta: {
icon: 'point',
title: '公开内容',
breadcrumb: true, //是否显示面包屑
},
children: [
{
path: 'public-detail',
name: 'public-detail',
component: () => import('@/views/system/message/public-content/detail.vue'),
meta: {
icon: 'point',
title: '公开内容详情',
breadcrumb: true,
sidebar: false
},
},
]
},
]
},
]
}