notice.ts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import { RouteRecordRaw } from 'vue-router';
  2. import { Layout } from '@/router/constant';
  3. import { BellOutlined } from '@vicons/antd';
  4. import { renderIcon } from '@/utils/index';
  5. const routes: Array<RouteRecordRaw> = [
  6. // {
  7. // path: '/instation',
  8. // name: 'Notice',
  9. // redirect: '/instation/myalerts',
  10. // component: Layout,
  11. // meta: {
  12. // title: '站内通知',
  13. // icon: renderIcon(BellOutlined),
  14. // sort: 10,
  15. // },
  16. // children: [
  17. // {
  18. // path: 'myalerts',
  19. // name: 'instation_myalerts',
  20. // meta: {
  21. // title: '我的通知',
  22. // },
  23. // component: () => import('@/views/instation/myalerts/myalerts.vue'),
  24. // },
  25. // {
  26. // path: 'notice',
  27. // name: 'instation_notice',
  28. // meta: {
  29. // title: '通知管理',
  30. // },
  31. // component: () => import('@/views/instation/notice/notice.vue'),
  32. // },
  33. // {
  34. // path: 'notice/info/:id',
  35. // name: 'instation_notice_info',
  36. // meta: {
  37. // title: '查看通知',
  38. // hidden: true,
  39. // },
  40. // component: () => import('@/views/instation/notice/info.vue'),
  41. // },
  42. // ],
  43. // },
  44. ];
  45. export default routes;