staff.ts 877 B

1234567891011121314151617181920212223242526272829303132333435363738
  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: '/staff',
  6. name: 'Staff',
  7. component: LAYOUT,
  8. redirect: '/staff/list',
  9. meta: {
  10. icon: 'medical-icon:care-staff-area',
  11. title: t('routes.dashboard.staff'),
  12. orderNo: 102,
  13. },
  14. children: [
  15. {
  16. path: 'list',
  17. name: 'StaffList',
  18. component: () => import('/@/views/staff/list.vue'),
  19. meta: {
  20. title: t('routes.dashboard.staffList'),
  21. icon: 'ic:outline-remember-me',
  22. },
  23. },
  24. {
  25. path: 'clean',
  26. name: 'StaffClean',
  27. component: () => import('/@/views/staff/clean.vue'),
  28. meta: {
  29. title: t('routes.dashboard.staffClean'),
  30. icon: 'ic:outline-remember-me',
  31. },
  32. },
  33. ],
  34. };
  35. export default staff;