|
@@ -89,6 +89,26 @@ export const constantRoutes = [
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ path: '/noticeList',
|
|
|
|
+ component: Layout,
|
|
|
|
+ // redirect: '公告管理',
|
|
|
|
+ meta: { title: '公告管理', icon : "dashboard" },
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: 'noticeList',
|
|
|
|
+ component: () => import('@/views/notice/noticeList'),
|
|
|
|
+ name: 'noticeList',
|
|
|
|
+ meta: { title: '公告列表', icon: 'user' }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'addnotice',
|
|
|
|
+ component: () => import('@/views/notice/addNotice'),
|
|
|
|
+ name: 'addNotice',
|
|
|
|
+ meta: { title: '创建公告', icon: 'user' }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
{
|
|
{
|
|
path: '/messageList',
|
|
path: '/messageList',
|
|
component: Layout,
|
|
component: Layout,
|
|
@@ -105,7 +125,7 @@ export const constantRoutes = [
|
|
path: 'addMessage',
|
|
path: 'addMessage',
|
|
component: () => import('@/views/message/addMessage'),
|
|
component: () => import('@/views/message/addMessage'),
|
|
name: 'addMessage',
|
|
name: 'addMessage',
|
|
- meta: { title: '添加消息', icon: 'user' }
|
|
|
|
|
|
+ meta: { title: '创建消息', icon: 'user' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|