mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
67 lines
2.0 KiB
TypeScript
67 lines
2.0 KiB
TypeScript
const noticeRouter = {
|
|
path: '/notice',
|
|
name: 'noticeHome',
|
|
meta: {
|
|
title: '公告',
|
|
icon: shallowRef(IconPinnacleNotice),
|
|
requiresMenu: true,
|
|
requiresScrollbar: false,
|
|
requiresPadding: true
|
|
},
|
|
children: [
|
|
{
|
|
path: 'noticeManage',
|
|
component: async () => await import('@/pages/notice/NoticeManage.vue'),
|
|
name: 'noticeManage',
|
|
meta: {
|
|
title: '公告管理',
|
|
requiresMenu: true,
|
|
requiresScrollbar: false,
|
|
requiresPadding: true
|
|
}
|
|
},
|
|
{
|
|
path: 'noticeView',
|
|
component: async () => await import('@/pages/notice/NoticeView.vue'),
|
|
name: 'noticeView',
|
|
redirect: '/notice/noticeView/all',
|
|
meta: {
|
|
title: '公告查看',
|
|
requiresMenu: true,
|
|
requiresScrollbar: false,
|
|
requiresPadding: true
|
|
},
|
|
children: [
|
|
{
|
|
path: 'all',
|
|
component: async () => await import('@/pages/notice/AllReceiveNoticeView.vue'),
|
|
name: 'all'
|
|
},
|
|
{
|
|
path: 'alRead',
|
|
component: async () => await import('@/pages/notice/AlReadView.vue'),
|
|
name: 'alRead'
|
|
},
|
|
{
|
|
path: 'toRead',
|
|
component: async () => await import('@/pages/notice/ToReadView.vue'),
|
|
name: 'toRead'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
path: 'noticeTypeManage',
|
|
component: async () => await import('@/pages/notice/NoticeTypeManage.vue'),
|
|
name: 'noticeTypeManage',
|
|
meta: {
|
|
title: '公告类型管理',
|
|
requiresMenu: true,
|
|
requiresScrollbar: false,
|
|
requiresPadding: true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|
|
export default noticeRouter
|