Files
admin-web/src/modules/notifications/routes.ts
T

17 lines
721 B
TypeScript
Raw Normal View History

2026-08-12 18:24:05 +08:00
import type { RouteRecordRaw } from 'vue-router'
export const notificationRoutes = [
{
path: 'notifications/messages',
name: 'notification-messages',
component: () => import('@/modules/notifications/pages/MessageManagementView.vue'),
2026-08-12 18:50:03 +08:00
meta: { title: '消息管理', description: '创建并管理平台站内消息', permission: 'platform:notification:task:list' },
2026-08-12 18:24:05 +08:00
},
{
path: 'notifications/templates',
name: 'notification-templates',
component: () => import('@/modules/notifications/pages/MessageTemplatesView.vue'),
2026-08-12 18:50:03 +08:00
meta: { title: '模板管理', description: '维护平台站内消息模板', permission: 'platform:notification:template:list' },
2026-08-12 18:24:05 +08:00
},
] satisfies RouteRecordRaw[]