rightsEnterprises.ts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. import type { AppRouteModule } from '/@/router/types';
  2. import { LAYOUT } from '/@/router/constant';
  3. import { t } from '/@/hooks/web/useI18n';
  4. const staff: AppRouteModule = {
  5. path: '/rightsEnterprises',
  6. name: 'RightsEnterprises',
  7. component: LAYOUT,
  8. redirect: '/rightsEnterprises/list',
  9. meta: {
  10. icon: 'medical-icon:care-staff-area',
  11. title: t('routes.rightsEnterprises.menuName'),
  12. orderNo: 102,
  13. },
  14. children: [
  15. {
  16. path: 'staffList',
  17. name: 'StaffList',
  18. // component: () => import('/@/views/rightsEnterprises/enterprises.vue'),
  19. component: () => import('/@/views/rightsEnterprises/staff.vue'),
  20. meta: {
  21. title: t('routes.rightsEnterprises.staffList'),
  22. icon: 'ic:outline-remember-me',
  23. },
  24. },
  25. {
  26. path: 'enterprises',
  27. name: 'EnterprisesList',
  28. component: () => import('/@/views/rightsEnterprises/enterprises.vue'),
  29. meta: {
  30. title: t('routes.rightsEnterprises.staffList'),
  31. icon: 'ic:outline-remember-me',
  32. },
  33. },
  34. ],
  35. };
  36. export default staff;