import type { RouteRecordRaw } from 'vue-router';

import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:file-text',
      order: 100,
      title: '信息录入',
    },
    name: 'SystemInfoEntry',
    path: '/system/info-entry',
    children: [
      {
        name: 'EmergencyInfo',
        path: '/system/info-entry/emergency-info',
        component: () => import('#/views/system/infoEntry/emergencyInfo/index.vue'),
        meta: {
          icon: 'lucide:shield-alert',
          title: '应急防护用品',
        },
      },
      {
        name: 'AidKitInfo',
        path: '/system/info-entry/aid-kit-info',
        component: () => import('#/views/system/infoEntry/aidKitInfo/index.vue'),
        meta: {
          icon: 'lucide:first-aid',
          title: '急救箱用品',
        },
      },
    ],
  },
];

export default routes;