This commit is contained in:
2026-08-12 18:50:03 +08:00
parent 41a131a33b
commit 2c5f53ec00
29 changed files with 513 additions and 283 deletions
+3 -4
View File
@@ -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[]