优化
This commit is contained in:
@@ -5,19 +5,18 @@ export const notificationRoutes = [
|
||||
path: 'notifications/messages',
|
||||
name: 'notification-messages',
|
||||
component: () => import('@/modules/notifications/pages/MessageManagementView.vue'),
|
||||
meta: { title: '消息管理', description: '创建并管理平台站内消息' },
|
||||
meta: { title: '消息管理', description: '创建并管理平台站内消息', permission: 'platform:notification:task:list' },
|
||||
},
|
||||
{
|
||||
path: 'notifications/templates',
|
||||
name: 'notification-templates',
|
||||
component: () => import('@/modules/notifications/pages/MessageTemplatesView.vue'),
|
||||
meta: { title: '模板管理', description: '维护平台站内消息模板' },
|
||||
meta: { title: '模板管理', description: '维护平台站内消息模板', permission: 'platform:notification:template:list' },
|
||||
},
|
||||
{
|
||||
path: 'notifications/mine',
|
||||
name: 'my-notifications',
|
||||
component: () => import('@/modules/notifications/pages/MyMessagesView.vue'),
|
||||
meta: { title: '我的消息', description: '查看当前平台员工收到的站内消息' },
|
||||
meta: { title: '我的消息', description: '查看当前平台员工收到的站内消息', permission: 'platform:notification:view' },
|
||||
},
|
||||
] satisfies RouteRecordRaw[]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user