routes.ts 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. import type { RouteRecordRaw } from 'vue-router'
  2. /**
  3. * 业务路由表(与 menus.ts、config.rolePermissions 的 path 保持一致)
  4. * 增删页面:1) 加本路由 2) menus.ts 3) config.rolePermissions
  5. */
  6. export const businessRoutes: RouteRecordRaw[] = [
  7. {
  8. path: 'dashboard',
  9. name: 'Dashboard',
  10. component: () => import('@/views/dashboard/DashboardView.vue'),
  11. meta: { title: '数据展板' },
  12. },
  13. {
  14. path: 'base',
  15. name: 'BaseInfo',
  16. component: () => import('@/views/base/BaseInfoView.vue'),
  17. meta: { title: '人员新增录入' },
  18. },
  19. {
  20. path: 'insurance',
  21. name: 'InsuranceMatch',
  22. component: () => import('@/views/insurance/InsuranceMatchView.vue'),
  23. meta: { title: '居保状态匹配' },
  24. },
  25. {
  26. path: 'approvals',
  27. name: 'Approvals',
  28. component: () => import('@/views/approvals/ApprovalsView.vue'),
  29. meta: { title: '审批管理' },
  30. },
  31. {
  32. path: 'status',
  33. name: 'StatusMaintenance',
  34. component: () => import('@/views/status/StatusMaintenanceView.vue'),
  35. meta: { title: '补助标准管理' },
  36. },
  37. {
  38. path: 'special',
  39. name: 'SpecialBusiness',
  40. component: () => import('@/views/special/SpecialBusinessView.vue'),
  41. meta: { title: '特殊业务处理' },
  42. },
  43. {
  44. path: 'monthly',
  45. name: 'MonthlyPayment',
  46. component: () => import('@/views/monthly/MonthlyPaymentView.vue'),
  47. meta: { title: '月补贴清单' },
  48. },
  49. {
  50. path: 'disk',
  51. name: 'DiskReturn',
  52. component: () => import('@/views/disk/DiskReturnView.vue'),
  53. meta: { title: '回盘信息确认' },
  54. },
  55. {
  56. path: 'alerts',
  57. name: 'Alerts',
  58. component: () => import('@/views/alerts/AlertsView.vue'),
  59. meta: { title: '监控告警' },
  60. },
  61. {
  62. path: 'reports',
  63. name: 'Reports',
  64. component: () => import('@/views/reports/ReportsView.vue'),
  65. meta: { title: '数据查询统计' },
  66. },
  67. {
  68. path: 'regions',
  69. name: 'RegionsAdmin',
  70. component: () => import('@/views/admin/RegionsAdminView.vue'),
  71. meta: { title: '行政区划管理' },
  72. },
  73. {
  74. path: 'personnel-admin',
  75. name: 'PersonnelAdmin',
  76. component: () => import('@/views/admin/PersonnelAdminView.vue'),
  77. meta: { title: '人员底数管理' },
  78. },
  79. {
  80. path: 'admin-batches',
  81. name: 'AdminBatches',
  82. component: () => import('@/views/admin/AdminBatchesView.vue'),
  83. meta: { title: '批次管理' },
  84. },
  85. {
  86. path: 'system',
  87. name: 'SystemAdmin',
  88. component: () => import('@/views/system/SystemAdminView.vue'),
  89. meta: { title: '系统管理' },
  90. },
  91. ]