123456789101112131415161718192021222324252627282930313233343536373839 |
- import type { AppRouteModule } from '/@/router/types';
- import { LAYOUT } from '/@/router/constant';
- import { t } from '/@/hooks/web/useI18n';
- const staff: AppRouteModule = {
- path: '/rightsEnterprises',
- name: 'RightsEnterprises',
- component: LAYOUT,
- redirect: '/rightsEnterprises/list',
- meta: {
- icon: 'medical-icon:care-staff-area',
- title: t('routes.rightsEnterprises.menuName'),
- orderNo: 102,
- },
- children: [
- {
- path: 'staffList',
- name: 'StaffList',
- // component: () => import('/@/views/rightsEnterprises/enterprises.vue'),
- component: () => import('/@/views/rightsEnterprises/staff.vue'),
- meta: {
- title: t('routes.rightsEnterprises.staffList'),
- icon: 'ic:outline-remember-me',
- },
- },
- {
- path: 'enterprises',
- name: 'EnterprisesList',
- component: () => import('/@/views/rightsEnterprises/enterprises.vue'),
- meta: {
- title: t('routes.rightsEnterprises.staffList'),
- icon: 'ic:outline-remember-me',
- },
- },
- ],
- };
- export default staff;
|