iot-gateway_fontend/src/router/routes/modules/notification.ts

39 lines
938 B
TypeScript
Raw Normal View History

2024-11-12 15:44:05 +08:00
import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';
const NOTIFICATION: AppRouteRecordRaw = {
path: '/notification',
name: 'notification',
component: DEFAULT_LAYOUT,
meta: {
locale: '通知管理',
requiresAuth: true,
icon: 'icon-message', // 设置图标
order: 0, // 排序路由菜单项。如果设置该值,值越高,越靠前
},
children: [
{
path: 'notice',
name: 'notice',
component: () => import('@/views/notification/notice/index.vue'),
meta: {
locale: '公告通知',
requiresAuth: true,
permissions: ['*'],
},
},
{
path:'noticeSet',
name:'noticeSet',
component: () => import('@/views/notification/noticeSet/index.vue'),
meta:{
locale: '公告管理',
requiresAuth: true,
permissions: ['*'],
}
}
],
};
export default NOTIFICATION;