import type { Route } from '@/global' const Layout = () => import('@/layouts/index.vue') const routes: Route.recordRaw[] = [ { path: '/person', component: Layout, redirect: '/person/registerList', name: 'Person', meta: { title: '人员管理', icon: 'ep:key', auth: '/resource/person' }, children: [ { path: 'registerList', name: 'RegisterList', component: () => import('@/views/resource/person/register/list.vue'), meta: { title: '人员登记列表', auth: '/resource/person/register', icon: 'ep:key' } }, { path: 'register/:type/:id?', name: 'RegisterDetail', component: () => import('@/views/resource/person/register/detail.vue'), meta: { title: '人员登记', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/person/registerList' } }, { path: 'orderList', name: 'OrderList', component: () => import('@/views/resource/person/order/list.vue'), meta: { title: '授权(代理)委托书列表', auth: '/resource/person/order', icon: 'ep:key' } }, { path: 'order/:type/:id?', name: 'OrderDetail', component: () => import('@/views/resource/person/order/detail.vue'), meta: { title: '授权(代理)委托书', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/person/orderList' } }, { path: 'order/approved/:id', name: 'OrderDetailApproved', component: () => import('@/views/resource/person/order/approvedDetail.vue'), meta: { title: '授权(代理)委托书', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/person/orderList' } }, /* { path: 'trainList', name: 'TrainList', component: () => import('@/views/resource/person/train/list.vue'), meta: { title: '人员训练登记列表', auth: '/resource/person/train', icon: 'ep:key', }, }, { path: 'train/:type/:id?', name: 'TrainDetail', component: () => import('@/views/resource/person/train/detail.vue'), meta: { title: '人员训练登记', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/person/trainList', }, }, */ { path: 'trainSignList', name: 'TrainSignList', component: () => import('@/views/resource/person/trainSign/list.vue'), meta: { title: '培训签到表', auth: '/resource/person/trainning', icon: 'ep:key' } }, { path: 'trainSign/:type/:id?', name: 'TrainSignDetail', component: () => import('@/views/resource/person/trainSign/detail.vue'), meta: { title: '培训签到表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/person/trainSignList' } }, /* { path: 'remindList', name: 'RemindList', component: () => import('@/views/resource/person/remind/list.vue'), meta: { title: '证书逾期提醒列表', auth: '/resource/person/remind', icon: 'ep:key', }, }, { path: 'remind/:type/:id?', name: 'RemindDetail', component: () => import('@/views/resource/person/remind/detail.vue'), meta: { title: '证书逾期提醒', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/person/remindList', }, }, */ { path: 'certList', name: 'CertList', component: () => import('@/views/resource/person/cert/list.vue'), meta: { title: '证书管理列表', auth: '/resource/person/cert', icon: 'ep:key' } }, { path: 'cert/:type/:id?', name: 'CertDetail', component: () => import('@/views/resource/person/cert/detail.vue'), meta: { title: '证书管理', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/person/certList' } } ] }, { path: '/system', component: Layout, redirect: '/system/sysDocList', name: 'System', meta: { title: '体系文件', icon: 'ep:key', auth: '/resource/system' }, children: [ { path: 'sysDocList', name: 'SysDocList', component: () => import('@/views/resource/system/sysDoc/list.vue'), meta: { title: '体系文件列表', auth: '/resource/system/sysDoc', icon: 'ep:key' } }, { path: 'sysDoc/:type/:id?', name: 'SysDocDetail', component: () => import('@/views/resource/system/sysDoc/detail.vue'), meta: { title: '体系文件', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/system/sysDocList' } }, { path: 'sysDoc/stream/:filename?/:title?', name: 'SysDocStream', component: () => import('@/views/resource/common/fileStream.vue'), meta: { title: '体系文件', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/system/sysDocList' } }, // { // path: 'historyDoc/stream/:filename?/:title?', // name: 'HistoryDocStream', // component: () => import('@/views/resource/common/fileStream.vue'), // meta: { // title: '体系文件', // icon: 'ep:key', // sidebar: false, // breadcrumb: true, // activeMenu: '/system/historyDocList', // }, // }, { path: 'dataList', name: 'DataList', component: () => import('@/views/resource/technology/data/list.vue'), meta: { title: '计量资料列表', auth: '/resource/technology/data', icon: 'ep:key' } }, { path: 'data/:type/:id?', name: 'DataDetail', component: () => import('@/views/resource/technology/data/detail.vue'), meta: { title: '计量资料', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/system/dataList' } }, { path: 'data/stream/:filename?/:title?', name: 'DataStream', component: () => import('@/views/resource/common/fileStream.vue'), meta: { title: '计量资料', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/system/dataList' } } ] }, { path: '/technology', component: Layout, redirect: '/technology/methodList', name: 'Technology', meta: { title: '测试校准检定方法', icon: 'ep:key', auth: '/resource/technology' }, children: [ { path: 'methodList', name: 'MethodList', component: () => import('@/views/resource/technology/method/list.vue'), meta: { title: '现行测试校准检定方法列表', auth: '/resource/technology/method', icon: 'ep:key' } }, { path: 'method/:type/:id?', name: 'MethodDetail', component: () => import('@/views/resource/technology/method/detail.vue'), meta: { title: '现行测试校准检定方法', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/technology/methodList' } }, { path: 'method/stream/:filename?/:title?', name: 'MethodStream', component: () => import('@/views/resource/common/fileStream.vue'), meta: { title: '现行测试校准检定方法', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/technology/methodList' } }, { path: 'methodConfirmList', name: 'FileMethodConfirmList', component: () => import('@/views/resource/file/methodConfirm/list.vue'), meta: { title: '方法确认登记表', auth: '/resource/file/methodConfirm', icon: 'ep:key' } }, { path: 'methodConfirm/:type/:id?', name: 'FileMethodConfirmDetail', component: () => import('@/views/resource/file/methodConfirm/detail.vue'), meta: { title: '方法确认登记表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/technology/methodConfirmList' } }, { path: 'methodConfirm/approved/:id', name: 'FileMethodConfirmDetailApproved', component: () => import('@/views/resource/file/methodConfirm/approvedDetail.vue'), meta: { title: '方法确认登记表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/technology/methodConfirmList' } }, { path: 'noveltySearchList', name: 'FileNoveltySearchList', component: () => import('@/views/resource/file/noveltySearch/list.vue'), meta: { title: '测试校准检定方法查新记录表', auth: '/resource/file/noveltySearch', icon: 'ep:key' } }, { path: 'noveltySearch/:type/:id?', name: 'FileNoveltySearchDetail', component: () => import('@/views/resource/file/noveltySearch/detail.vue'), meta: { title: '测试校准检定方法查新记录表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/technology/noveltySearchList' } }, { path: 'noveltySearch/approved/:id', name: 'FileNoveltySearchDetailApproved', component: () => import('@/views/resource/file/noveltySearch/approvedDetail.vue'), meta: { title: '测试校准检定方法查新记录表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/technology/noveltySearchList' } } ] }, { path: '/file', component: Layout, redirect: '/file/changeList', name: 'Change', meta: { title: '文件管理', icon: 'ep:key', auth: '/resource/file' }, children: [ { path: 'approvalList', name: 'FileApprovalList', component: () => import('@/views/resource/file/approval/list.vue'), meta: { title: '文件审批', auth: '/resource/file/approval', icon: 'ep:key' } }, { path: 'approval/:type/:id?', name: 'FileApprovalFormDetail', component: () => import('@/views/resource/file/approval/detail.vue'), meta: { title: '文件审批', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/file/approvalList' } }, { path: 'approval/approved/:id', name: 'FileApprovalFormDetailApproved', component: () => import('@/views/resource/file/approval/approvedDetail.vue'), meta: { title: '文件审批', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/file/approvalList' } }, { path: 'grantNoticeList', name: 'FileGrantNoticeList', component: () => import('@/views/resource/file/grantNotice/list.vue'), meta: { title: '文件发放通知单', auth: '/resource/file/grantNotice', icon: 'ep:key' } }, { path: 'grantNotice/:type/:id?', name: 'FileGrantNoticeDetail', component: () => import('@/views/resource/file/grantNotice/detail.vue'), meta: { title: '文件发放通知单', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/file/grantNoticeList' } }, { path: 'grantNotice/approved/:id', name: 'FileGrantNoticeDetailApproved', component: () => import('@/views/resource/file/grantNotice/approvedDetail.vue'), meta: { title: '文件发放通知单', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/file/grantNoticeList' } }, { path: 'changeList', name: 'FileChangeList', component: () => import('@/views/resource/file/change/list.vue'), meta: { title: '文件更改申请单', auth: '/resource/file/change', icon: 'ep:key' } }, { path: 'change/:type/:id?', name: 'FileChangeFormDetail', component: () => import('@/views/resource/file/change/detail.vue'), meta: { title: '文件更改申请单', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/file/changeList' } }, { path: 'change/approved/:id', name: 'FileChangeFormDetailApproved', component: () => import('@/views/resource/file/change/approvedDetail.vue'), meta: { title: '文件更改申请单', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/file/changeList' } }, { path: 'recallArchiveList', name: 'FileRecallArchiveList', component: () => import('@/views/resource/file/recallArchive/list.vue'), meta: { title: '文件作废登记表', auth: '/resource/file/recallArchive', icon: 'ep:key' } }, { path: 'recallArchive/:type/:id?', name: 'FileRecallArchiveDetail', component: () => import('@/views/resource/file/recallArchive/detail.vue'), meta: { title: '文件作废登记表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/file/recallArchiveList' } }, { path: 'recallArchive/approved/:id', name: 'FileRecallArchiveDetailApproved', component: () => import('@/views/resource/file/recallArchive/approvedDetail.vue'), meta: { title: '文件作废登记表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/file/recallArchiveList' } } ] }, { path: '/history', component: Layout, redirect: '/history/historyDocList', name: 'History', meta: { title: '历史文件', icon: 'ep:key', auth: '/resource/system/historyDoc' }, children: [ { path: 'historyDocList', name: 'HistoryDocList', component: () => import('@/views/resource/system/historyDoc/list.vue'), meta: { title: '历史文件列表', auth: '/resource/system/historyDoc', icon: 'ep:key', sidebar: false, activeMenu: '/history' } }, { path: 'historyDoc/:type/:id?', name: 'HistoryDocDetail', component: () => import('@/views/resource/system/historyDoc/detail.vue'), meta: { title: '历史文件', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/history/historyDocList' } } ] }, { path: '/software', component: Layout, redirect: '/software/infoList', name: 'Software', meta: { title: '在用软件管理', icon: 'ep:key', auth: '/resource/software' }, children: [ { path: 'infoList', name: 'SoftwareInfoList', component: () => import('@/views/resource/software/info/list.vue'), meta: { title: '软件一览表', auth: '/resource/software/info', icon: 'ep:key' } }, { path: 'software/:type/:id?', name: 'SoftwareInfoDetail', component: () => import('@/views/resource/software/info/detail.vue'), meta: { title: '软件一览表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/software/infoList' } }, { path: 'revisionApplyList', name: 'RevisionApplyList', component: () => import('@/views/resource/software/revision/list.vue'), meta: { title: '软件修订申请', auth: '/resource/software/revision', icon: 'ep:key' } }, { path: 'revision/:type/:id?/:status?', name: 'RevisionApplyDetail', component: () => import('@/views/resource/software/revision/detail.vue'), meta: { title: '软件修订申请', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/software/revisionApplyList' } }, { path: 'revision/approved/:id?', name: 'RevisionApplyDetailApproved', component: () => import('@/views/resource/software/revision/approvedDetail.vue'), meta: { title: '软件修订申请', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/software/revisionApplyList' } }, { path: 'reviewReportList', name: 'ReviewReportList', component: () => import('@/views/resource/software/review/list.vue'), meta: { title: '软件评审报告', auth: '/resource/software/review', icon: 'ep:key' } }, { path: 'review/:type/:id?/:status?', name: 'ReviewReportDetail', component: () => import('@/views/resource/software/review/detail.vue'), meta: { title: '软件评审报告', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/software/reviewReportList' } }, { path: 'review/approved/:id?', name: 'ReviewReportDetailApproved', component: () => import('@/views/resource/software/review/approvedDetail.vue'), meta: { title: '软件评审报告', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/software/reviewReportList' } } ] }, { path: '/environment', component: Layout, redirect: '/environment/recordList', name: 'Environment', meta: { title: '环境数据管理', icon: 'ep:key', auth: '/resource/environment' }, children: [ { path: 'requireList', name: 'EnvironmentRequireList', component: () => import('@/views/resource/environment/require/list.vue'), meta: { title: '工作间环境条件要求一览表', auth: '/resource/environment/require', icon: 'ep:key' } }, { path: 'requireDetail', name: 'EnvironmentRequireDetail', component: () => import('@/views/resource/environment/require/detail.vue'), meta: { title: '工作间环境条件要求一览表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/environment/requireList' } }, { path: 'resistanceList', name: 'EnvironmentResistanceList', component: () => import('@/views/resource/environment/resistance/list.vue'), meta: { title: '实验室接地电阻记录', auth: '/resource/environment/resistance', icon: 'ep:key' } }, { path: 'resistance/detail', name: 'EnvironmentResistanceDetail', component: () => import('@/views/resource/environment/resistance/edit.vue'), meta: { title: '实验室接地电阻记录', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/environment/resistanceList' } }, { path: 'resistance/approved/:type?/:id?', name: 'EnvironmentResistanceDetailApproved', component: () => import('@/views/resource/environment/resistance/detail.vue'), meta: { title: '实验室接地电阻记录', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/environment/resistanceList' } }, { path: 'voltageList', name: 'EnvironmentVoltageList', component: () => import('@/views/resource/environment/voltage/list.vue'), meta: { title: '工作间供电电压记录', auth: '/resource/environment/voltage', icon: 'ep:key' } }, { path: 'voltage/detail', name: 'EnvironmentVoltageDetail', component: () => import('@/views/resource/environment/voltage/edit.vue'), meta: { title: '工作间供电电压记录', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/environment/voltageList' } }, { path: 'voltage/approved/:type?/:id?', name: 'EnvironmentVoltageDetailApproved', component: () => import('@/views/resource/environment/voltage/detail.vue'), meta: { title: '工作间供电电压记录', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/environment/voltageList' } }, { path: 'upsResistanceList', name: 'EnvironmentUpsResistanceList', component: () => import('@/views/resource/environment/ups/list.vue'), meta: { title: 'UPS蓄电池内阻测试记录', auth: '/resource/environment/ups', icon: 'ep:key' } }, { path: 'ups/detail', name: 'EnvironmentUpsResistanceDetail', component: () => import('@/views/resource/environment/ups/edit.vue'), meta: { title: 'UPS蓄电池内阻测试记录', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/environment/upsResistanceList' } }, { path: 'ups/approved/:type?/:id?', name: 'EnvironmentUpsDetailApproved', component: () => import('@/views/resource/environment/ups/detail.vue'), meta: { title: 'UPS蓄电池内阻测试记录', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/environment/upsResistanceList' } }, // { // path: 'recordList', // name: 'EnvironmentRecordList', // component: () => import('@/views/resource/environment/record/list.vue'), // meta: { // title: '环境记录单', // auth: '/resource/environment/record', // icon: 'ep:key', // }, // }, { path: 'setting', name: 'EnvironmentSetting', component: () => import('@/views/resource/environment/record/setting.vue'), meta: { title: '环境记录单设置', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/environment/recordList' } } // { // path: 'bench', // name: 'EnvironmentBench', // component: () => import('@/views/dataManagement/index.vue'), // meta: { // title: '环境数据看板', // auth: '/resource/environment/bench', // icon: 'ep:key', // breadcrumb: false, // sidebar: true, // }, // }, // { // path: '/dataManagement/index', // name: 'DataManagementIndex', // component: () => import('@/views/dataManagement/index.vue'), // meta: { // title: '环境数据看板', // auth: '/resource/environment/bench', // icon: 'ep:key', // breadcrumb: false, // sidebar: true, // }, // }, ] }, { path: '/outsideService', component: Layout, redirect: '/outsideService/supplierList', name: 'OutsideService', meta: { title: '外部服务管理', icon: 'ep:key', auth: '/resource/outsideService' }, children: [ { path: 'supplierList', name: 'SupplierList', component: () => import('@/views/resource/outsideService/supplier/list.vue'), meta: { title: '合格供方名录', auth: '/resource/outsideService/supplier', icon: 'ep:key' } }, { path: ':type/:id?/:status?', name: 'SupplierDetail', component: () => import('@/views/resource/outsideService/supplier/detail.vue'), meta: { title: '合格供方名录', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/supplierList' } }, { path: 'serviceEvaluateList', name: 'ServiceEvaluateList', component: () => import('@/views/resource/outsideService/service/evaluateList.vue'), meta: { title: '外部服务评价表', auth: '/resource/outsideService/serviceEvaluate', icon: 'ep:key' } }, { path: 'service/:type/:id?/:status?', name: 'ServiceEvaluateDetail', component: () => import('@/views/resource/outsideService/service/evaluateDetail.vue'), meta: { title: '外部服务评价表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/serviceEvaluateList' } }, { path: 'service/approved/:id?', name: 'ServiceEvaluateDetailApproved', component: () => import( '@/views/resource/outsideService/approvedDetail/serviceEvaluate.vue' ), meta: { title: '外部服务评价表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/serviceEvaluateList' } }, { path: 'equipmentEvaluateList', name: 'EquipmentEvaluateList', component: () => import('@/views/resource/outsideService/equipment/evaluateList.vue'), meta: { title: '智能模型供方评价表', auth: '/resource/outsideService/equipmentEvaluate', icon: 'ep:key' } }, { path: 'equipment/:type/:id?/:status?', name: 'EquipmentEvaluateDetail', component: () => import( '@/views/resource/outsideService/equipment/evaluateDetail.vue' ), meta: { title: '智能模型供方评价表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/equipmentEvaluateList' } }, { path: 'equipment/approved/:id?', name: 'EquipmentEvaluateDetailApproved', component: () => import( '@/views/resource/outsideService/approvedDetail/equipmentEvaluate.vue' ), meta: { title: '智能模型供方评价表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/equipmentEvaluateList' } }, { path: 'consumableApplyList', name: 'ConsumableApplyList', component: () => import('@/views/resource/outsideService/consumable/applyList.vue'), meta: { title: '易耗物资申请单', auth: '/resource/outsideService/consumableApply', icon: 'ep:key' } }, { path: 'consumableApply/:type/:id?/:status?', name: 'ConsumableApplyDetail', component: () => import('@/views/resource/outsideService/consumable/applyDetail.vue'), meta: { title: '易耗物资申请单', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/consumableApplyList' } }, { path: 'consumableApply/approved/:type?/:id?', name: 'ConsumableApplyDetailApproved', component: () => import( '@/views/resource/outsideService/approvedDetail/consumableApply.vue' ), meta: { title: '易耗物资申请单', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/consumableApplyList' } }, { path: 'consumableCheckList', name: 'ConsumableCheckList', component: () => import('@/views/resource/outsideService/consumable/checkList.vue'), meta: { title: '物资验收记录', auth: '/resource/outsideService/consumableCheck', icon: 'ep:key' } }, { path: 'consumableCheck/:type/:id?/:status?', name: 'ConsumableCheckDetail', component: () => import('@/views/resource/outsideService/consumable/checkDetail.vue'), meta: { title: '物资验收记录', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/consumableCheckList' } }, { path: 'consumableCheck/approved/:id?', name: 'ConsumableCheckDetailApproved', component: () => import( '@/views/resource/outsideService/approvedDetail/consumableCheck.vue' ), meta: { title: '物资验收记录', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/consumableCheckList' } }, { path: 'consumableStoreList', name: 'ConsumableStoreList', component: () => import('@/views/resource/outsideService/consumable/storeList.vue'), meta: { title: '物资入库单', auth: '/resource/outsideService/consumableStore', icon: 'ep:key' } }, { path: 'consumableStore/:type/:id?/:status?', name: 'ConsumableStoreDetail', component: () => import('@/views/resource/outsideService/consumable/storeDetail.vue'), meta: { title: '物资入库单', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/consumableStoreList' } }, { path: 'consumableStore/approved/:type?/:id?', name: 'ConsumableStoreDetailApproved', component: () => import( '@/views/resource/outsideService/approvedDetail/consumableStore.vue' ), meta: { title: '物资入库单', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/consumableStoreList' } }, { path: 'consumableUseList', name: 'ConsumableUseList', component: () => import('@/views/resource/outsideService/consumable/useList.vue'), meta: { title: '易耗物资使用记录', auth: '/resource/outsideService/consumableUse', icon: 'ep:key' } }, { path: 'consumable/:type/:id?/:status?', name: 'ConsumableUseDetail', component: () => import('@/views/resource/outsideService/consumable/useDetail.vue'), meta: { title: '易耗物资使用记录', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/consumableUseList' } }, { path: 'consumable/approved/:id?', name: 'ConsumableUseDetailApproved', component: () => import( '@/views/resource/outsideService/approvedDetail/consumableUse.vue' ), meta: { title: '易耗物资使用记录', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/consumableUseList' } }, { path: 'consumableHandoverList', name: 'ConsumableHandoverList', component: () => import('@/views/resource/outsideService/consumable/handoverList.vue'), meta: { title: '废弃物资处理交接记录', auth: '/resource/outsideService/consumableHandover', icon: 'ep:key' } }, { path: 'consumableHandover/:type/:id?', name: 'ConsumableHandoverDetail', component: () => import( '@/views/resource/outsideService/consumable/handoverDetail.vue' ), meta: { title: '废弃物资处理交接记录', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/consumableHandoverList' } }, { path: 'consumableEvaluateList', name: 'ConsumableEvaluateList', component: () => import('@/views/resource/outsideService/consumable/evaluateList.vue'), meta: { title: '易耗物资供方评价表', auth: '/resource/outsideService/consumableEvaluate', icon: 'ep:key' } }, { path: 'consumable/supplier/:type/:id?/:status?', name: 'ConsumableEvaluateDetail', component: () => import( '@/views/resource/outsideService/consumable/evaluateDetail.vue' ), meta: { title: '易耗物资供方评价表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/consumableEvaluateList' } }, { path: 'consumable/supplier/approved/:id?', name: 'ConsumableEvaluateDetailApproved', component: () => import( '@/views/resource/outsideService/approvedDetail/consumableEvaluate.vue' ), meta: { title: '易耗物资供方评价表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/outsideService/consumableEvaluateList' } } ] }, { path: '/customer', component: Layout, redirect: '/customer/infoList', name: 'InfoList', meta: { title: '委托方管理', icon: 'ep:key', auth: '/resource/customer' }, children: [ { path: 'infoList', name: 'CustomerInfoList', component: () => import('@/views/resource/customer/info/list.vue'), meta: { title: '委托方名录', auth: '/resource/customer/infoList', icon: 'ep:key' } }, { path: 'info/:type/:id?/:status?', name: 'CustomerInfoDetail', component: () => import('@/views/resource/customer/info/detail.vue'), meta: { title: '委托方名录', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/customer/infoList' } }, { path: 'reviewNoticeList', name: 'ReviewNoticeList', component: () => import('@/views/resource/customer/reviewNotice/list.vue'), meta: { title: '检测结果复查通知列表', auth: '/resource/customer/reviewNotice', icon: 'ep:key' } }, { path: 'reviewNotice/:type/:id?', name: 'ReviewNoticeDetail', component: () => import('@/views/resource/customer/reviewNotice/detail.vue'), meta: { title: '检测结果复查通知', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/customer/reviewNoticeList' } }, { path: 'reviewNotice/approved/:id?', name: 'NoticeDetailApproved', component: () => import('@/views/resource/customer/reviewNotice/approvedDetail.vue'), meta: { title: '检测结果复查通知', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/customer/reviewNoticeList' } }, { path: 'situationReportList', name: 'SituationReportList', component: () => import('@/views/resource/customer/situationReport/list.vue'), meta: { title: '委托方情况报告列表', auth: '/resource/customer/situationReport', icon: 'ep:key' } }, { path: 'situationReport/:type/:id?', name: 'SituationReportDetail', component: () => import('@/views/resource/customer/situationReport/detail.vue'), meta: { title: '委托方情况报告', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/customer/situationReportList' } }, { path: 'questionnaireList', name: 'QuestionnaireList', component: () => import('@/views/resource/customer/questionnaire/list.vue'), meta: { title: '委托方满意度调查表列表', auth: '/resource/customer/questionnaire', icon: 'ep:key' } }, { path: 'questionnaire/:type/:id?', name: 'QuestionnaireDetail', component: () => import('@/views/resource/customer/questionnaire/detail.vue'), meta: { title: '委托方满意度调查表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/customer/questionnaireList' } }, { path: 'suggestFormList', name: 'SuggestFormList', component: () => import('@/views/resource/customer/suggestForm/list.vue'), meta: { title: '委托方意见登记表列表', auth: '/resource/customer/suggestForm', icon: 'ep:key' } }, { path: 'suggestForm/:type/:id?', name: 'SuggestFormDetail', component: () => import('@/views/resource/customer/suggestForm/detail.vue'), meta: { title: '委托方意见登记表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/customer/suggestFormList' } }, { path: 'suggestForm/approved/:id', name: 'SuggestFormDetailApproved', component: () => import('@/views/resource/customer/suggestForm/approvedDetail.vue'), meta: { title: '委托方意见登记表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/customer/suggestFormList' } }, { path: 'examineList', name: 'ExamineList', component: () => import('@/views/resource/customer/examine/list.vue'), meta: { title: '要求、委托书及合同评审表列表', auth: '/resource/customer/examine', icon: 'ep:key' } }, { path: 'examine/:type/:id?', name: 'ExamineDetail', component: () => import('@/views/resource/customer/examine/detail.vue'), meta: { title: '要求、委托书及合同评审表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/customer/examineList' } }, { path: 'examine/approved/:id?', name: 'ExamineDetailApproved', component: () => import('@/views/resource/customer/examine/approvedDetail.vue'), meta: { title: '要求、委托书及合同评审表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/customer/examineList' } }, { path: 'contractList', name: 'ResourceCustomerContractList', component: () => import('@/views/resource/customer/contract/list.vue'), meta: { title: '合同执行变更登记表', auth: '/resource/customer/contract', icon: 'ep:key' } }, { path: 'contract/:type/:id?', name: 'ResourceCustomerContractDetail', component: () => import('@/views/resource/customer/contract/edit.vue'), meta: { title: '合同执行变更登记表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/customer/contractList' } }, { path: 'contractDoc/:type/:id?', name: 'ResourceCustomerContractDocDetail', component: () => import('@/views/resource/customer/contract/detail.vue'), meta: { title: '合同执行变更登记表', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/customer/contractList' } } ] }, { path: '/seal', component: Layout, redirect: '/seal/infoList', name: 'Seal', meta: { title: '印章管理', icon: 'ep:key', auth: '/resource/seal' }, children: [ { path: 'infoList', name: 'SealInfoList', component: () => import('@/views/resource/seal/list/list.vue'), meta: { title: '印章管理登记', auth: '/resource/seal/list', icon: 'ep:key' } }, { path: 'list/:type/:id?', name: 'SealInfoDetail', component: () => import('@/views/resource/seal/list/detail.vue'), meta: { title: '印章管理登记', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/seal/infoList' } }, { path: 'noteList', name: 'SealNoteList', component: () => import('@/views/resource/seal/note/list.vue'), meta: { title: '印章使用登记', auth: '/resource/seal/note', icon: 'ep:key' } }, { path: 'note/:type/:id?/:status?', name: 'SealNoteDetail', component: () => import('@/views/resource/seal/note/detail.vue'), meta: { title: '印章使用登记', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/seal/noteList' } }, { path: 'seal/logList', name: 'SealLogList', component: () => import('@/views/resource/seal/note/log.vue'), meta: { title: '印章使用日志', auth: '/resource/seal/log', icon: 'ep:key' } } ] } ] export default routes