Files
admin-web/src/modules/notifications/routes.ts
T
2026-08-27 21:48:15 +08:00

23 lines
1016 B
TypeScript

import type { RouteRecordRaw } from 'vue-router'
export const notificationRoutes = [
{
path: 'notifications',
name: 'notification-inbox',
component: () => import('@/modules/notifications/pages/PlatformNotificationsView.vue'),
meta: { title: '我的消息', description: '查看当前平台账号的站内消息', permission: 'platform:notification:view' },
},
{
path: 'notifications/messages',
name: 'notification-messages',
component: () => import('@/modules/notifications/pages/MessageManagementView.vue'),
meta: { title: '消息管理', description: '创建并管理平台站内消息', permission: 'platform:notification:task:list' },
},
{
path: 'notifications/templates',
name: 'notification-templates',
component: () => import('@/modules/notifications/pages/MessageTemplatesView.vue'),
meta: { title: '模板管理', description: '维护平台站内消息模板', permission: 'platform:notification:template:list' },
},
] satisfies RouteRecordRaw[]