24 lines
875 B
TypeScript
24 lines
875 B
TypeScript
import type { RouteRecordRaw } from 'vue-router'
|
|||
|
|
|
||
|
|
export const notificationRoutes = [
|
||
|
|
{
|
||
|
|
path: 'notifications/messages',
|
||
|
|
name: 'notification-messages',
|
||
|
|
component: () => import('@/modules/notifications/pages/MessageManagementView.vue'),
|
||
|
|
meta: { title: '消息管理', description: '创建并管理平台站内消息' },
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'notifications/templates',
|
||
|
|
name: 'notification-templates',
|
||
|
|
component: () => import('@/modules/notifications/pages/MessageTemplatesView.vue'),
|
||
|
|
meta: { title: '模板管理', description: '维护平台站内消息模板' },
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'notifications/mine',
|
||
|
|
name: 'my-notifications',
|
||
|
|
component: () => import('@/modules/notifications/pages/MyMessagesView.vue'),
|
||
|
|
meta: { title: '我的消息', description: '查看当前平台员工收到的站内消息' },
|
||
|
|
},
|
||
|
|
] satisfies RouteRecordRaw[]
|
||
|
|
|