import type { Route } from '@/global'

const Layout = () => import('@/layouts/index.vue')

const routes: Route.recordRaw[] = [
  {
    path: '/equipmentInfo',
    component: Layout,
    redirect: '/equipmentInfo/bookList',
    name: 'EquipmentInfo',
    meta: {
      title: '设备信息管理',
      icon: 'ep:key',
      auth: '/equipment/info',
    },
    children: [
      {
        path: 'bookList',
        name: 'EquipmentInfoBookList',
        component: () => import('@/views/equipement/info/book/list.vue'),
        meta: {
          title: '设备台账管理',
          auth: '/equipment/info/book',
          icon: 'ep:key',
        },
      },
      {
        path: ':type/:id?',
        name: 'EquipmentInfoBookDetail',
        component: () => import('@/views/equipement/info/book/detail.vue'),
        meta: {
          title: '设备台账管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/equipmentInfo/bookList',
        },
      },
      {
        path: 'tableList',
        name: 'EquipmentInfoTableList',
        component: () => import('@/views/equipement/info/table/list.vue'),
        meta: {
          title: '参照标准、工作标准和关键测量设备表列表',
          auth: '/equipment/info/table',
          icon: 'ep:key',
        },
      },
      {
        path: ':type/:id?',
        name: 'EquipmentInfoTableDetail',
        component: () => import('@/views/equipement/info/table/detail.vue'),
        meta: {
          title: '参照标准、工作标准和关键测量设备表',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/equipmentInfo/tableList',
        },
      },
      {
        path: 'remindList',
        name: 'EquipmentInfoRemindList',
        component: () => import('@/views/equipement/info/remind/list.vue'),
        meta: {
          title: '到期提醒列表',
          auth: '/equipment/info/remind',
          icon: 'ep:key',
        },
      },
      // {
      //   path: ':type/:id?',
      //   name: 'EquipmentInfoRemindDetail',
      //   component: () => import('@/views/equipement/info/remind/detail.vue'),
      //   meta: {
      //     title: '到期提醒',
      //     icon: 'ep:key',
      //     sidebar: false,
      //     breadcrumb: true,
      //     activeMenu: '/equipmentInfo/remindList',
      //   },
      // },
    ],
  },
  {
    path: '/stateMaintenance',
    component: Layout,
    redirect: '/stateMaintenance/unseal',
    name: 'StateMaintenance',
    meta: {
      title: '设备状态维护',
      icon: 'ep:key',
      auth: '/equipment/stateMaintenance',
    },
    children: [
      {
        path: 'unsealList',
        name: 'UnsealList',
        component: () => import('@/views/equipement/stateMaintenance/unseal/list.vue'),
        meta: {
          title: '设备启封申请',
          auth: '/equipment/stateMaintenance/unseal',
          icon: 'ep:key',
        },
      },
      {
        path: 'unseal/:type/:id?',
        name: 'UnsealDetail',
        component: () => import('@/views/equipement/stateMaintenance/unseal/edit.vue'),
        meta: {
          title: '设备启封申请',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/stateMaintenance/unsealList',
        },
      },
      {
        path: 'unsealDoc/:type/:id?',
        name: 'UnsealDocDetail',
        component: () => import('@/views/equipement/stateMaintenance/unseal/detail.vue'),
        meta: {
          title: '设备启封申请',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/stateMaintenance/unsealList',
        },
      },
      {
        path: 'sealList',
        name: 'SealList',
        component: () => import('@/views/equipement/stateMaintenance/seal/list.vue'),
        meta: {
          title: '设备封存申请',
          auth: '/equipment/stateMaintenance/seal',
          icon: 'ep:key',
        },
      },
      {
        path: 'seal/:type/:id?',
        name: 'SealDetail',
        component: () => import('@/views/equipement/stateMaintenance/seal/edit.vue'),
        meta: {
          title: '设备封存申请',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/stateMaintenance/sealList',
        },
      },
      {
        path: 'sealDoc/:type/:id?',
        name: 'SealDocDetail',
        component: () => import('@/views/equipement/stateMaintenance/seal/detail.vue'),
        meta: {
          title: '设备封存申请',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/stateMaintenance/sealList',
        },
      },
      {
        path: 'banList',
        name: 'BanList',
        component: () => import('@/views/equipement/stateMaintenance/ban/list.vue'),
        meta: {
          title: '设备禁用申请',
          auth: '/equipment/stateMaintenance/ban',
          icon: 'ep:key',
        },
      },
      {
        path: 'ban/:type/:id?',
        name: 'BanDetail',
        component: () => import('@/views/equipement/stateMaintenance/ban/edit.vue'),
        meta: {
          title: '设备禁用申请',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/stateMaintenance/banList',
        },
      },
      {
        path: 'banDoc/:type/:id?',
        name: 'BanDocDetail',
        component: () => import('@/views/equipement/stateMaintenance/ban/detail.vue'),
        meta: {
          title: '设备禁用申请',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/stateMaintenance/banList',
        },
      },
      {
        path: 'scrapList',
        name: 'ScrapList',
        component: () => import('@/views/equipement/stateMaintenance/scrap/list.vue'),
        meta: {
          title: '设备报废申请',
          auth: '/equipment/stateMaintenance/scrap',
          icon: 'ep:key',
        },
      },
      {
        path: 'scrap/:type/:id?',
        name: 'ScrapDetail',
        component: () => import('@/views/equipement/stateMaintenance/scrap/edit.vue'),
        meta: {
          title: '设备报废申请',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/stateMaintenance/scrapList',
        },
      },
      {
        path: 'scrapDoc/:type/:id?',
        name: 'ScrapDocDetail',
        component: () => import('@/views/equipement/stateMaintenance/scrap/detail.vue'),
        meta: {
          title: '设备报废申请',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/stateMaintenance/scrapList',
        },
      },
    ],
  },
  {
    path: '/standard',
    component: Layout,
    redirect: '/standard/bookInfoList',
    name: 'Standard',
    meta: {
      title: '标准装置管理',
      icon: 'ep:key',
      auth: '/standard',
    },
    children: [
      {
        path: 'bookInfoList',
        name: 'BookInfoList',
        component: () => import('@/views/equipement/standard/book/list.vue'),
        meta: {
          title: '标准装置台账信息列表',
          auth: '/standard/bookInfo',
          icon: 'ep:key',
        },
      },
      {
        path: ':type/:id?',
        name: 'StandardBookInfoList',
        component: () => import('@/views/equipement/standard/book/detail.vue'),
        meta: {
          title: '标准装置台账信息',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/standard/bookInfoList',
        },
      },
      {
        path: 'standardRemindList',
        name: 'StandardRemindList',
        component: () => import('@/views/equipement/standard/remind/list.vue'),
        meta: {
          title: '到期提醒',
          auth: '/standard/remind',
          icon: 'ep:key',
        },
      },
      {
        path: 'checkRecordList',
        name: 'CheckRecordList',
        component: () => import('@/views/equipement/standard/checkRecord/list.vue'),
        meta: {
          title: '核查记录管理',
          auth: '/standard/checkRecord',
          icon: 'ep:key',
        },
      },
      {
        path: '/checkRecord/:type/:id?',
        name: 'CheckRecordDetail',
        component: () => import('@/views/equipement/standard/checkRecord/edit.vue'),
        meta: {
          title: '核查记录管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/standard/checkRecordList',
        },
      },
      {
        path: 'standardBuildList',
        name: 'StandardBuildList',
        component: () => import('@/views/equipement/standard/build/list.vue'),
        meta: {
          title: '建标管理',
          auth: '/standard/build',
          icon: 'ep:key',
        },
      },
      {
        path: '/build/:type/:id?',
        name: 'StandardBuildEdit',
        component: () => import('@/views/equipement/standard/build/edit.vue'),
        meta: {
          title: '建标管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/standard/standardBuildList',
        },
      },
      {
        path: '/buildDoc/:type/:id?',
        name: 'StandardBuildDetail',
        component: () => import('@/views/equipement/standard/build/detail.vue'),
        meta: {
          title: '建标管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/standard/standardBuildList',
        },
      },
    ],
  },
  {
    path: '/standardStateMaintenance',
    component: Layout,
    redirect: '/standardStateMaintenance/changeList',
    name: 'StandardStateMaintenance',
    meta: {
      title: '标准装置状态维护',
      icon: 'ep:key',
      auth: '/standard/stateMaintenance',
    },
    children: [
      {
        path: 'changeList',
        name: 'ChangeList',
        component: () => import('@/views/equipement/StandardStateMaintenance/change/list.vue'),
        meta: {
          title: '更换申请',
          auth: '/standard/change',
          icon: 'ep:key',
        },
      },
      {
        path: 'change/:type/:id?',
        name: 'ChangeDetail',
        component: () => import('@/views/equipement/StandardStateMaintenance/change/detail.vue'),
        meta: {
          title: '更换申请',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/StandardStateMaintenance/changeList',
        },
      },
      {
        path: 'reviewList',
        name: 'ReviewList',
        component: () => import('@/views/equipement/StandardStateMaintenance/review/list.vue'),
        meta: {
          title: '复查申请',
          auth: '/standard/review',
          icon: 'ep:key',
        },
      },
      {
        path: 'review/:type/:id?',
        name: 'ReviewDetail',
        component: () => import('@/views/equipement/standardStateMaintenance/review/detail.vue'),
        meta: {
          title: '复查申请',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/StandardStateMaintenance/reviewList',
        },
      },
      {
        path: 'revocationList',
        name: 'RevocationList',
        component: () => import('@/views/equipement/StandardStateMaintenance/revocation/list.vue'),
        meta: {
          title: '撤销申请',
          auth: '/standard/revocation',
          icon: 'ep:key',
        },
      },
      {
        path: 'revocation/:type/:id?',
        name: 'RevocationDetail',
        component: () => import('@/views/equipement/StandardStateMaintenance/revocation/detail.vue'),
        meta: {
          title: '撤销申请',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/StandardStateMaintenance/revocationList',
        },
      },
    ],
  },
  {
    path: '/source',
    component: Layout,
    redirect: '/source/planList',
    name: 'Source',
    meta: {
      title: '溯源管理',
      icon: 'ep:key',
      auth: '/equipment/source',
    },
    children: [
      {
        path: 'planList',
        name: 'EquipmentSourcePlanList',
        component: () => import('@/views/equipement/source/plan/list.vue'),
        meta: {
          title: '溯源计划管理',
          auth: '/equipment/source/plan',
          icon: 'ep:key',
        },
      },
      {
        path: 'plan/:type/:id?',
        name: 'EquipmentSourcePlanDetail',
        component: () => import('@/views/equipement/source/plan/detail.vue'),
        meta: {
          title: '溯源计划管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/source/planList',
        },
      },
      {
        path: 'resultConfirmList',
        name: 'EquipmentSourceResultConfirmList',
        component: () => import('@/views/equipement/source/resultConfirm/list.vue'),
        meta: {
          title: '溯源结果确认',
          auth: '/equipment/source/resultConfirm',
          icon: 'ep:key',
        },
      },
      {
        path: 'resultConfirm/:type/:id?',
        name: 'EquipmentSourceResultConfirmEdit',
        component: () => import('@/views/equipement/source/resultConfirm/edit.vue'),
        meta: {
          title: '溯源结果确认',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/source/resultConfirmList',
        },
      },
      {
        path: 'resultConfirmDoc/:type/:id?',
        name: 'EquipmentSourceResultConfirmDetail',
        component: () => import('@/views/equipement/source/resultConfirm/detail.vue'),
        meta: {
          title: '溯源结果确认',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/source/resultConfirmList',
        },
      },
      {
        path: 'resultCompleteList',
        name: 'EquipmentSourceResultCompleteList',
        component: () => import('@/views/equipement/source/resultComplete/list.vue'),
        meta: {
          title: '溯源结果完成情况',
          auth: '/equipment/source/resultComplete',
          icon: 'ep:key',
        },
      },
      {
        path: 'resultComplete/:type/:id?',
        name: 'EquipmentSourceResultCompleteEdit',
        component: () => import('@/views/equipement/source/resultComplete/edit.vue'),
        meta: {
          title: '溯源结果完成情况',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/source/resultCompleteList',
        },
      },
      {
        path: 'resultCompleteDoc/:type/:id?',
        name: 'EquipmentSourceResultCompleteDetail',
        component: () => import('@/views/equipement/source/resultComplete/detail.vue'),
        meta: {
          title: '溯源结果完成情况',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/source/resultCompleteList',
        },
      },
      {
        path: 'certList',
        name: 'EquipmentSourceCertList',
        component: () => import('@/views/equipement/source/cert/list.vue'),
        meta: {
          title: '溯源证书管理',
          auth: '/equipment/source/cert',
          icon: 'ep:key',
        },
      },
      {
        path: 'cert/:type/:id?',
        name: 'EquipmentSourceCertDetail',
        component: () => import('@/views/equipement/source/cert/detail.vue'),
        meta: {
          title: '溯源证书管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/source/certList',
        },
      },
      {
        path: 'changeList',
        name: 'EquipmentSourceChangeList',
        component: () => import('@/views/equipement/source/change/list.vue'),
        meta: {
          title: '溯源链变更管理',
          auth: '/equipment/source/change',
          icon: 'ep:key',
        },
      },
      {
        path: 'sourceChange/:type/:id?',
        name: 'EquipmentSourceChangeDetail',
        component: () => import('@/views/equipement/source/change/edit.vue'),
        meta: {
          title: '溯源链变更管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/source/changeList',
        },
      },
    ],
  },
  {
    path: '/resume',
    component: Layout,
    redirect: '/resume/planList',
    name: 'Resume',
    meta: {
      title: '开箱验收管理',
      icon: 'ep:key',
      auth: '/equipment/resume',
    },
    children: [
      {
        path: 'unpackList',
        name: 'EquipmentResumeUnpackList',
        component: () => import('@/views/equipement/resume/unpack/list.vue'),
        meta: {
          title: '开箱验收管理',
          auth: '/equipment/resume/unpack',
          icon: 'ep:key',
        },
      },
      {
        path: 'unpack/:type/:id?',
        name: 'EquipmentResumeUnpackEdit',
        component: () => import('@/views/equipement/resume/unpack/edit.vue'),
        meta: {
          title: '开箱验收管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/resume/unpackList',
        },
      },
      {
        path: '/unpackDoc/:type/:id?',
        name: 'EquipmentResumeUnpackDetail',
        component: () => import('@/views/equipement/resume/unpack/detail.vue'),
        meta: {
          title: '开箱验收管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/resume/unpackList',
        },
      },
      {
        path: 'lendList',
        name: 'EquipmentResumeLendList',
        component: () => import('@/views/equipement/resume/lend/list.vue'),
        meta: {
          title: '设备借出管理',
          auth: '/equipment/resume/lend',
          icon: 'ep:key',
        },
      },
      {
        path: 'lend/:type/:id?',
        name: 'EquipmentResumeLendEdit',
        component: () => import('@/views/equipement/resume/lend/edit.vue'),
        meta: {
          title: '设备借出管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/resume/lendList',
        },
      },
      {
        path: 'lendDoc/:type/:id?',
        name: 'EquipmentResumeLendDetail',
        component: () => import('@/views/equipement/resume/lend/detail.vue'),
        meta: {
          title: '设备借出管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/resume/lendList',
        },
      },
      {
        path: 'borrowList',
        name: 'EquipmentResumeBorrowList',
        component: () => import('@/views/equipement/resume/borrow/list.vue'),
        meta: {
          title: '设备借用管理',
          auth: '/equipment/resume/borrow',
          icon: 'ep:key',
        },
      },
      {
        path: 'borrow/:type/:id?',
        name: 'EquipmentResumeBorrowEdit',
        component: () => import('@/views/equipement/resume/borrow/edit.vue'),
        meta: {
          title: '设备借用管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/resume/borrowList',
        },
      },
      {
        path: 'borrowDoc/:type/:id?',
        name: 'EquipmentResumeBorrowDetail',
        component: () => import('@/views/equipement/resume/borrow/detail.vue'),
        meta: {
          title: '设备借用管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/resume/borrowList',
        },
      },
      {
        path: 'encasementList',
        name: 'EquipmentResumeEncasementList',
        component: () => import('@/views/equipement/resume/encasement/list.vue'),
        meta: {
          title: '设备运输装箱管理',
          auth: '/equipment/resume/encasement',
          icon: 'ep:key',
        },
      },
      {
        path: 'encasement/:type/:id?',
        name: 'EquipmentResumeEncasementDetail',
        component: () => import('@/views/equipement/resume/encasement/detail.vue'),
        meta: {
          title: '设备运输装箱管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/resume/encasementList',
        },
      },
      {
        path: 'courseList',
        name: 'EquipmentResumeCourseList',
        component: () => import('@/views/equipement/resume/course/list.vue'),
        meta: {
          title: '设备运输过程管理',
          auth: '/equipment/resume/course',
          icon: 'ep:key',
        },
      },
      {
        path: 'course/:type/:id?',
        name: 'EquipmentResumeCourseDetail',
        component: () => import('@/views/equipement/resume/course/detail.vue'),
        meta: {
          title: '设备运输过程管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/resume/courseList',
        },
      },
      {
        path: 'errorList',
        name: 'EquipmentResumeErrorList',
        component: () => import('@/views/equipement/resume/error/list.vue'),
        meta: {
          title: '异常情况处置管理',
          auth: '/equipment/resume/error',
          icon: 'ep:key',
        },
      },
      {
        path: 'error/:type/:id?',
        name: 'EquipmentResumeErrorDetail',
        component: () => import('@/views/equipement/resume/error/detail.vue'),
        meta: {
          title: '异常情况处置管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/resume/errorList',
        },
      },
      // {
      //   path: 'weekList',
      //   name: 'EquipmentResumeWeekList',
      //   component: () => import('@/views/equipement/resume/week/list.vue'),
      //   meta: {
      //     title: '周维护',
      //     auth: '/equipment/resume/week',
      //     icon: 'ep:key',
      //   },
      // },
      // {
      //   path: 'week/:type/:id?',
      //   name: 'EquipmentResumeWeekDetail',
      //   component: () => import('@/views/equipement/resume/week/detail.vue'),
      //   meta: {
      //     title: '周维护',
      //     icon: 'ep:key',
      //     sidebar: false,
      //     breadcrumb: true,
      //     activeMenu: '/resume/weekList',
      //   },
      // },
      // {
      //   path: 'monthList',
      //   name: 'EquipmentResumeMonthList',
      //   component: () => import('@/views/equipement/resume/month/list.vue'),
      //   meta: {
      //     title: '月保养',
      //     auth: '/equipment/resume/month',
      //     icon: 'ep:key',
      //   },
      // },
      // {
      //   path: 'month/:type/:id?',
      //   name: 'EquipmentResumeMonthDetail',
      //   component: () => import('@/views/equipement/resume/month/detail.vue'),
      //   meta: {
      //     title: '月保养',
      //     icon: 'ep:key',
      //     sidebar: false,
      //     breadcrumb: true,
      //     activeMenu: '/resume/monthList',
      //   },
      // },
    ],
  },
  // {
  //   path: '/monitor',
  //   component: Layout,
  //   redirect: '/monitor/deviceList',
  //   name: 'Monitor',
  //   meta: {
  //     title: '监测测试管理',
  //     icon: 'ep:key',
  //     auth: '/equipment/monitor',
  //   },
  //   children: [
  //     {
  //       path: 'deviceList',
  //       name: 'EquipmentResumeDeviceList',
  //       component: () => import('@/views/equipement/resume/device/list.vue'),
  //       meta: {
  //         title: '监测设备',
  //         auth: '/equipment/monitor/device',
  //         icon: 'ep:key',
  //       },
  //     },
  //     {
  //       path: 'device/:type/:id?',
  //       name: 'EquipmentResumeDeviceDetail',
  //       component: () => import('@/views/equipement/monitor/device/detail.vue'),
  //       meta: {
  //         title: '监测设备',
  //         icon: 'ep:key',
  //         sidebar: false,
  //         breadcrumb: true,
  //         activeMenu: '/monitor/deviceList',
  //       },
  //     },
  //     {
  //       path: 'radioList',
  //       name: 'EquipmentResumeRadioList',
  //       component: () => import('@/views/equipement/monitor/radio/list.vue'),
  //       meta: {
  //         title: '无线电库',
  //         auth: '/equipment/monitor/radio',
  //         icon: 'ep:key',
  //       },
  //     },
  //     {
  //       path: 'radio/:type/:id?',
  //       name: 'EquipmentResumeRadioDetail',
  //       component: () => import('@/views/equipement/monitor/radio/detail.vue'),
  //       meta: {
  //         title: '无线电库',
  //         icon: 'ep:key',
  //         sidebar: false,
  //         breadcrumb: true,
  //         activeMenu: '/monitor/radioList',
  //       },
  //     },
  //     {
  //       path: 'taskList',
  //       name: 'EquipmentResumeTaskList',
  //       component: () => import('@/views/equipement/monitor/task/list.vue'),
  //       meta: {
  //         title: '任务监测',
  //         auth: '/equipment/monitor/task',
  //         icon: 'ep:key',
  //       },
  //     },
  //     {
  //       path: 'task/:type/:id?',
  //       name: 'EquipmentResumeTaskDetail',
  //       component: () => import('@/views/equipement/monitor/task/detail.vue'),
  //       meta: {
  //         title: '任务监测',
  //         icon: 'ep:key',
  //         sidebar: false,
  //         breadcrumb: true,
  //         activeMenu: '/monitor/taskList',
  //       },
  //     },
  //   ],
  // },
  // {
  //   path: '/examineDevice',
  //   component: Layout,
  //   redirect: '/examineDevice/infoList',
  //   name: 'ExamineDevice',
  //   meta: {
  //     title: '受检设备库',
  //     icon: 'ep:key',
  //     auth: '/equipment/examineDevice',
  //   },
  //   children: [
  //     {
  //       path: 'infoList',
  //       name: 'EquipmentExamineDeviceInfoList',
  //       component: () => import('@/views/equipement/examineDevice/info/list.vue'),
  //       meta: {
  //         title: '受检设备信息',
  //         auth: '/equipment/examineDevice/info',
  //         icon: 'ep:key',
  //       },
  //     },
  //     {
  //       path: 'info/:type/:id?',
  //       name: 'EquipmentExamineDeviceInfoDetail',
  //       component: () => import('@/views/equipement/examineDevice/info/detail.vue'),
  //       meta: {
  //         title: '受检设备信息',
  //         icon: 'ep:key',
  //         sidebar: false,
  //         breadcrumb: true,
  //         activeMenu: '/examineDevice/infoList',
  //       },
  //     },
  //   ],
  // },
]

export default routes
