import type { Route } from '@/global' const Layout = () => import('@/layouts/index.vue') const routes: Route.recordRaw[] = [ // 首页看板 { path: '/testeddashboard', component: Layout, redirect: '/tdashboard', name: 'TDashboard', meta: { title: '首页看板', icon: 'ep:key', auth: '/tested/dashboard', }, children: [ { path: '/tdashboard', component: () => import('@/views/tested/dashboard/index.vue'), // component: () => import('@/views/home/index.vue'), name: 'TDashboardPage', meta: { title: '首页看板', icon: 'ep:key', auth: '/tested/dashboard', sidebar: false, breadcrumb: false, activeMenu: '/testeddashboard', }, }, ], }, // 计量计划 { path: '/meteringplan', component: Layout, redirect: '/planlist', name: 'MeteringPlan', meta: { title: '计量计划', icon: 'ep:key', auth: '/tested/plan', }, children: [ { path: '/planlist', component: Layout, redirect: '/plan', name: 'PlanList', meta: { title: '计量计划', icon: 'ep:key', auth: '/tested/metering/plan', }, children: [ { path: '/plan', name: 'PlanPage', component: () => import('@/views/tested/MeasurementPlan/plan/index.vue'), meta: { title: '计量计划', auth: '/tested/metering/plan', sidebar: false, breadcrumb: false, activeMenu: '/planlist', }, }, { path: '/plan/:type', name: 'PlanEdit', component: () => import('@/views/tested/MeasurementPlan/plan/components/edit.vue'), meta: { title: '计量计划编辑', auth: '/tested/metering/plan', sidebar: false, breadcrumb: false, activeMenu: '/planlist', }, }, { path: '/plan/detail', name: 'PlanDetail', component: () => import('@/views/tested/MeasurementPlan/plan/components/detail.vue'), meta: { title: '计量计划详情', auth: '/tested/metering/plan', sidebar: false, breadcrumb: false, activeMenu: '/planlist', }, }, ], }, { path: '/meteringboard', component: Layout, redirect: '/boardpage', name: 'MeteringBoard', meta: { title: '业务看板', icon: 'ep:key', auth: '/tested/metering/board', }, children: [ { path: '/boardpage', name: 'BoardPage', component: () => import('@/views/tested/MeasurementPlan/board/index.vue'), meta: { title: '业务看板', auth: '/tested/metering/board', sidebar: false, breadcrumb: false, activeMenu: '/meteringboard', }, }, ], }, { path: '/meteringealy', component: Layout, redirect: '/ealypage', name: 'MeteringEaly', meta: { title: '提前送检申请', icon: 'ep:key', auth: '/tested/metering/ealy', }, children: [ { path: '/ealypage', name: 'EalyPage', component: () => import('@/views/tested/MeasurementPlan/early/index.vue'), meta: { title: '提前送检申请', auth: '/tested/metering/ealy', sidebar: false, breadcrumb: false, activeMenu: '/meteringealy', }, }, { path: '/ealy/:type', name: 'EalyEdit', component: () => import('@/views/tested/MeasurementPlan/early/components/edit.vue'), meta: { title: '提前送检编辑', auth: '/tested/metering/ealy', sidebar: false, breadcrumb: false, activeMenu: '/meteringealy', }, }, { path: '/ealy/detail', name: 'EalyDetail', component: () => import('@/views/tested/MeasurementPlan/early/components/detail.vue'), meta: { title: '提前送检编辑', auth: '/tested/metering/ealy', sidebar: false, breadcrumb: false, activeMenu: '/meteringealy', }, }, ], }, { path: '/meteringdelay', component: Layout, redirect: '/delaypage', name: 'MeteringDelay', meta: { title: '延迟送检申请', icon: 'ep:key', auth: '/tested/metering/delay', }, children: [ { path: '/delaypage', name: 'DelayPage', component: () => import('@/views/tested/MeasurementPlan/delay/index.vue'), meta: { title: '延迟送检申请', auth: '/tested/metering/delay', sidebar: false, breadcrumb: false, activeMenu: '/meteringdelay', }, }, { path: '/delay/:type', name: 'DealyEdit', component: () => import('@/views/tested/MeasurementPlan/early/components/edit.vue'), meta: { title: '延迟送检编辑', auth: '/tested/metering/delay', sidebar: false, breadcrumb: false, activeMenu: '/meteringdelay', }, }, { path: '/delay/detail', name: 'DealyDetail', component: () => import('@/views/tested/MeasurementPlan/early/components/detail.vue'), meta: { title: '延迟送检详情', auth: '/tested/metering/delay', sidebar: false, breadcrumb: false, activeMenu: '/meteringdelay', }, }, ], }, { path: '/meteringcurator', component: Layout, redirect: '/curatorpage', name: 'MeteringCurator', meta: { title: '负责人送检通知', icon: 'ep:key', auth: '/tested/metering/curator', }, children: [ { path: '/curatorpage', name: 'CuratorPage', component: () => import('@/views/tested/MeasurementPlan/curator/index.vue'), meta: { title: '负责人送检通知', auth: '/tested/metering/curator', sidebar: false, breadcrumb: false, activeMenu: '/meteringcurator', }, }, ], }, { path: '/meteringdept', component: Layout, redirect: '/deptpage', name: 'MeteringDept', meta: { title: '部门送检通知', icon: 'ep:key', auth: '/tested/metering/dept', }, children: [ { path: '/deptpage', name: 'DeptPage', component: () => import('@/views/tested/MeasurementPlan/dept/index.vue'), meta: { title: '部门送检通知', auth: '/tested/metering/dept', sidebar: false, breadcrumb: false, activeMenu: '/meteringdept', }, }, { path: '/meteringdept/:type', name: 'MeteringdetEdit', component: () => import('@/views/tested/MeasurementPlan/dept/components/edit.vue'), meta: { title: '部门送检通知编辑', auth: '/tested/metering/dept', sidebar: false, breadcrumb: false, activeMenu: '/meteringdept', }, }, ], }, { path: '/meteringtask', component: Layout, redirect: '/taskpage', name: 'MeteringTask', meta: { title: '任务单管理', icon: 'ep:key', auth: '/tested/metering/task', }, children: [ { path: '/taskpage', name: 'TaskPage', component: () => import('@/views/tested/MeasurementPlan/task/index.vue'), meta: { title: '任务单管理', auth: '/tested/metering/task', sidebar: false, breadcrumb: false, activeMenu: '/meteringtask', }, }, { path: '/meteringtask/:type', name: 'MeteringtaskEdit', component: () => import('@/views/tested/MeasurementPlan/task/components/edit.vue'), meta: { title: '任务单管理编辑', auth: '/tested/metering/task', sidebar: false, breadcrumb: false, activeMenu: '/meteringtask', }, }, ], }, ], }, // 设备台账 { path: '/meteringdevice', component: Layout, redirect: '/devicelist', name: 'MeteringDevice', meta: { title: '设备台账', icon: 'ep:key', auth: '/tested/device', }, children: [ { path: '/devicelist', component: Layout, redirect: '/dinfo', name: 'DeviceList', meta: { title: '设备信息管理', icon: 'ep:key', auth: '/tested/device/info', }, children: [ { path: '/dinfo', name: 'DeviceInfo', component: () => import('@/views/tested/device/info/index.vue'), meta: { title: '设备信息管理', auth: '/tested/device/info', sidebar: false, breadcrumb: false, activeMenu: '/devicelist', }, }, { path: '/dinfo/:type', name: 'DeviceEdit', component: () => import('@/views/tested/device/info/components/edit.vue'), meta: { title: '设备信息编辑', auth: '/tested/device/info', sidebar: false, breadcrumb: false, activeMenu: '/devicelist', }, }, { path: '/info/detail', name: 'DeviceDetail', component: () => import('@/views/tested/device/info/components/detail.vue'), meta: { title: '设备信息详情', auth: '/tested/device/info', sidebar: false, breadcrumb: false, activeMenu: '/devicelist', }, }, ], }, { path: '/speciallist', component: Layout, redirect: '/specialpage', name: 'SpecialList', meta: { title: '特种设备管理', icon: 'ep:key', auth: '/tested/device/special', }, children: [ { path: '/specialpage', name: 'SpecialPage', component: () => import('@/views/tested/device/special/index.vue'), meta: { title: '特种设备管理', auth: '/tested/device/special', sidebar: false, breadcrumb: false, activeMenu: '/speciallist', }, }, { path: '/speciallist/:type', name: 'SpeciaEdit', component: () => import('@/views/tested/device/info/components/edit.vue'), meta: { title: '设备信息编辑', auth: '/tested/device/special', sidebar: false, breadcrumb: false, activeMenu: '/speciallist', }, }, { path: '/speciallist/detail', name: 'SpeciaDetail', component: () => import('@/views/tested/device/info/components/detail.vue'), meta: { title: '设备信息编辑', auth: '/tested/device/special', sidebar: false, breadcrumb: false, activeMenu: '/speciallist', }, }, ], }, { path: '/grouplist', component: Layout, redirect: '/grouppage', name: 'GroupList', meta: { title: '设备分组管理', icon: 'ep:key', auth: '/tested/device/group', }, children: [ { path: '/grouppage', name: 'GroupPage', component: () => import('@/views/tested/device/group/index.vue'), meta: { title: '设备分组管理', auth: '/tested/device/group', sidebar: false, breadcrumb: false, activeMenu: '/grouplist', }, }, { path: '/group/:type', name: 'GroupEdit', component: () => import('@/views/tested/device/group/components/edit.vue'), meta: { title: '分组信息编辑', auth: '/tested/device/group', sidebar: false, breadcrumb: false, activeMenu: '/grouplist', }, }, ], }, { path: '/dcertificatelist', component: Layout, redirect: '/dcertificatepage', name: 'DCertificateList', meta: { title: '证书管理', icon: 'ep:key', auth: '/tested/device/certificate', }, children: [ { path: '/dcertificatepage', name: 'DCertificatePage', component: () => import('@/views/tested/device/certificate/index.vue'), meta: { title: '证书管理', auth: '/tested/device/certificate', sidebar: false, breadcrumb: false, activeMenu: '/dcertificatelist', }, }, { path: '/certificate/:type', name: 'CertificateEdit', component: () => import('@/views/tested/device/certificate/components/edit.vue'), meta: { title: '证书管理编辑', auth: '/tested/device/certificate', sidebar: false, breadcrumb: false, activeMenu: '/dcertificatelist', }, }, ], }, { path: '/dremindlist', component: Layout, redirect: '/dremindpage', name: 'DremindList', meta: { title: '到期提醒', icon: 'ep:key', auth: '/tested/device/remind', }, children: [ { path: '/dremindpage', name: 'DRemindPage', component: () => import('@/views/tested/device/remind/index.vue'), meta: { title: '到期提醒', auth: '/tested/device/remind', sidebar: false, breadcrumb: false, activeMenu: '/dremindlist', }, }, { path: '/dremindlist/:type', name: 'DremindlistEdit', component: () => import('@/views/tested/device/remind/components/edit.vue'), meta: { title: '到期提醒编辑', auth: '/tested/device/remind', sidebar: false, breadcrumb: false, activeMenu: '/dremindlist', }, }, { path: '/dremindlist/detail', name: 'dremindlistDetail', component: () => import('@/views/tested/device/info/components/detail.vue'), meta: { title: '到期提醒详情', auth: '/tested/device/remind', sidebar: false, breadcrumb: false, activeMenu: '/dremindlist', }, }, ], }, ], }, // 状态维护 { path: '/meteringstatus', component: Layout, redirect: '/seallist', name: 'MeteringStatus', meta: { title: '状态维护', icon: 'ep:key', auth: '/tested/status', }, children: [ { path: '/seallist', component: Layout, redirect: '/sealpage', name: 'SealList', meta: { title: '封存申请', icon: 'ep:key', auth: '/tested/status/seal', }, children: [ { path: '/sealpage', name: 'SealPage', component: () => import('@/views/tested/status/seal/index.vue'), meta: { title: '封存申请', auth: '/tested/status/seal', sidebar: false, breadcrumb: false, activeMenu: '/seallist', }, }, { path: '/sealpage/:type', name: 'SealEdit', component: () => import('@/views/tested/status/delay/components/edit.vue'), meta: { title: '封存申请', auth: '/tested/status/seal', sidebar: false, breadcrumb: false, activeMenu: '/seallist', }, }, ], }, { path: '/unseallist', component: Layout, redirect: '/unsealpage', name: 'UnSealList', meta: { title: '启封申请', icon: 'ep:key', auth: '/tested/status/unseal', }, children: [ { path: '/unsealpage', name: 'UnSealPage', component: () => import('@/views/tested/status/unseal/index.vue'), meta: { title: '启封申请', auth: '/tested/status/unseal', sidebar: false, breadcrumb: false, activeMenu: '/unseallist', }, }, { path: '/unsealpage/:type', name: 'UnSealPageEdit', component: () => import('@/views/tested/status/delay/components/edit.vue'), meta: { title: '启封申请', auth: '/tested/status/unseal', sidebar: false, breadcrumb: false, activeMenu: '/unseallist', }, }, ], }, { path: '/disablelist', component: Layout, redirect: '/disablepage', name: 'DisableList', meta: { title: '禁用申请', icon: 'ep:key', auth: '/tested/status/disable', }, children: [ { path: '/disablepage', name: 'DisablePage', component: () => import('@/views/tested/status/disable/index.vue'), meta: { title: '禁用申请', auth: '/tested/status/disable', sidebar: false, breadcrumb: false, activeMenu: '/disablelist', }, }, { path: '/disablepage/:type', name: 'SDiaableEdit', component: () => import('@/views/tested/status/delay/components/edit.vue'), meta: { title: '禁用申请', auth: '/tested/status/disable', sidebar: false, breadcrumb: false, activeMenu: '/disablelist', }, }, ], }, { path: '/scraplist', component: Layout, redirect: '/scrappage', name: 'ScrapList', meta: { title: '报废申请', icon: 'ep:key', auth: '/tested/status/scrap', }, children: [ { path: '/scrappage', name: 'ScrapPage', component: () => import('@/views/tested/status/scrap/index.vue'), meta: { title: '报废申请', auth: '/tested/status/scrap', sidebar: false, breadcrumb: false, activeMenu: '/scraplist', }, }, { path: '/scrappage/:type', name: 'SCrapEdit', component: () => import('@/views/tested/status/delay/components/edit.vue'), meta: { title: '报废申请', auth: '/tested/status/scrap', sidebar: false, breadcrumb: false, activeMenu: '/scraplist', }, }, ], }, { path: '/sdelaylist', component: Layout, redirect: '/sdelaypage', name: 'SDelayList', meta: { title: '延用申请', icon: 'ep:key', auth: '/tested/status/delay', }, children: [ { path: '/sdelaypage', name: 'SDealyPage', component: () => import('@/views/tested/status/delay/index.vue'), meta: { title: '延用申请', auth: '/tested/status/delay', sidebar: false, breadcrumb: false, activeMenu: '/sdelaylist', }, }, { path: '/sdelaypage/:type', name: 'SDealyEdit', component: () => import('@/views/tested/status/delay/components/edit.vue'), meta: { title: '延用申请', auth: '/tested/status/delay', sidebar: false, breadcrumb: false, activeMenu: '/sdelaylist', }, }, ], }, ], }, // 文档管理 { path: '/testeddocument', component: Layout, redirect: '/documentlist', name: 'TestedDocument', meta: { title: '文档管理', icon: 'ep:key', auth: '/tested/document', }, children: [ { path: '/documentlist', component: () => import('@/views/tested/document/list/index.vue'), name: 'DocumentList', meta: { title: '文档管理', icon: 'ep:key', auth: '/tested/document', sidebar: false, breadcrumb: false, activeMenu: '/documentlist', }, }, { path: '/documentlist/:type', component: () => import('@/views/tested/document/list/edit.vue'), name: 'docuemntEdit', meta: { title: '文档管理', icon: 'ep:key', auth: '/tested/document', sidebar: false, breadcrumb: false, activeMenu: '/documentlist', }, }, ], }, // 计量业务管理 { path: '/meteringbusiness', component: Layout, redirect: '/satisfactionlist', name: 'MeteringBusiness', meta: { title: '计量业务', icon: 'ep:key', auth: '/tested/business', }, children: [ { path: '/satisfactionlist', component: Layout, redirect: '/satisfaction', name: 'SatisfactionList', meta: { title: '委托方满意度调查表', icon: 'ep:key', auth: '/tested/business/satisfaction', }, children: [ { path: '/satisfaction', name: 'SatisfactionPage', component: () => import('@/views/tested/MeasurementBusiness/satisfaction/index.vue'), meta: { title: '委托方满意度调查表', auth: '/tested/business/satisfaction', sidebar: false, breadcrumb: false, activeMenu: '/satisfactionlist', }, }, ], }, { path: '/opinionlist', component: Layout, redirect: '/opinion', name: 'OpinionList', meta: { title: '委托方意见反馈表', icon: 'ep:key', auth: '/tested/business/opinion', }, children: [ { path: '/opinion', name: 'opinionPage', component: () => import('@/views/tested/MeasurementBusiness/opinion/index.vue'), meta: { title: '委托方意见反馈表', auth: '/tested/business/opinion', sidebar: false, breadcrumb: false, activeMenu: '/opinionlist', }, }, ], }, { path: '/detectionlist', component: Layout, redirect: '/detection', name: 'detectionList', meta: { title: '检测结果复查通知单', icon: 'ep:key', auth: '/tested/business/detection', }, children: [ { path: '/detection', name: 'detectionPage', component: () => import('@/views/tested/MeasurementBusiness/detection/index.vue'), meta: { title: '检测结果复查通知单', auth: '/tested/business/detection', sidebar: false, breadcrumb: false, activeMenu: '/detectionlist', }, }, ], }, { path: '/breviewlist', component: Layout, redirect: '/breviewpage', name: 'BreviewList', meta: { title: '要求、委托书及合同评审表', icon: 'ep:key', auth: '/tested/business/review', }, children: [ { path: '/breviewpage', name: 'BreviewPage', component: () => import('@/views/tested/MeasurementBusiness/review/index.vue'), meta: { title: '要求、委托书及合同评审表', auth: '/tested/business/review', sidebar: false, breadcrumb: false, activeMenu: '/breviewlist', }, }, ], }, { path: '/bnoticelist', component: Layout, redirect: '/bnoticepage', name: 'BnoticeList', meta: { title: '测试、校准或检定工作分包通知书', icon: 'ep:key', auth: '/tested/business/notice', }, children: [ { path: '/bnoticepage', name: 'BnoticePage', component: () => import('@/views/tested/MeasurementBusiness/notice/index.vue'), meta: { title: '测试、校准或检定工作分包通知书', auth: '/tested/business/notice', sidebar: false, breadcrumb: false, activeMenu: '/bnoticelist', }, }, ], }, ], }, // 分包管理 { path: '/meteringsubpackage', component: Layout, redirect: '/directorylist', name: 'MeteringSubpackage', meta: { title: '分包管理', icon: 'ep:key', auth: '/tested/subpackage', }, children: [ { path: '/directorylist', component: Layout, redirect: '/directorypage', name: 'DirectoryList', meta: { title: '测试、校准或检定合格分包方名录', icon: 'ep:key', auth: '/tested/subpackage/directory', }, children: [ { path: '/directorypage', name: 'DirectoryPage', component: () => import('@/views/tested/subpackage/directory/index.vue'), meta: { title: '测试、校准或检定合格分包方名录', auth: '/tested/subpackage/directory', sidebar: false, breadcrumb: false, activeMenu: '/directorylist', }, }, { path: '/directorypage/:type', name: 'DirectoryEdit', component: () => import('@/views/tested/subpackage/directory/components/edit.vue'), meta: { title: '测试、校准或检定合格分包方名录', auth: '/tested/subpackage/directory', sidebar: false, breadcrumb: false, activeMenu: '/directorylist', }, }, ], }, { path: '/reviewlist', component: Layout, redirect: '/reviewpage', name: 'ReviewList', meta: { title: '测试、校准或检定工作分包评审表', icon: 'ep:key', auth: '/tested/subpackage/review', }, children: [ { path: '/reviewpage', name: 'ReviewPage', component: () => import('@/views/tested/subpackage/review/index.vue'), meta: { title: '测试、校准或检定工作分包评审表', auth: '/tested/subpackage/review', sidebar: false, breadcrumb: false, activeMenu: '/reviewpage', }, }, ], }, { path: '/pcertificatelist', component: Layout, redirect: '/pcertificatepage', name: 'PcertificateList', meta: { title: '分包证书管理', icon: 'ep:key', auth: '/tested/subpackage/certificate', }, children: [ { path: '/pcertificatepage', name: 'PcertificatePage', component: () => import('@/views/tested/subpackage/certificate/index.vue'), meta: { title: '分包证书管理', auth: '/tested/subpackage/certificate', sidebar: false, breadcrumb: false, activeMenu: '/pcertificatelist', }, }, ], }, ], }, // 系统设置 { path: '/system', component: Layout, redirect: '/system/label', name: 'System', meta: { title: '系统设置', icon: 'ep:key', auth: '/tested/system', }, children: [ { path: '/label', component: Layout, redirect: '/label/labellist', name: 'LabelManage', meta: { title: '标签管理', icon: 'ep:key', auth: '/sys/label', }, children: [ { path: 'labellist', name: 'LabelList', component: () => import('@/views/system/label/list.vue'), meta: { title: '标签管理', auth: '/sys/label', sidebar: false, breadcrumb: false, activeMenu: '/label', }, }, ], }, { path: '/expire', component: Layout, redirect: '/expire/expirelist', name: 'ExpireMange', meta: { title: '到期提醒管理', icon: 'ep:key', auth: '/sys/expire', }, children: [ { path: 'expirelist', name: 'ExpireList', component: () => import('@/views/system/expire/list.vue'), meta: { title: '到期提醒管理', auth: '/sys/expire', sidebar: false, breadcrumb: false, activeMenu: '/expire', }, }, ], }, { path: '/area', component: Layout, redirect: '/area/list', name: 'AreaManage', meta: { title: '区域管理', icon: 'ep:key', auth: '/sys/area', }, children: [ { path: 'list', name: 'AreaList', component: () => import('@/views/system/area/listArea.vue'), meta: { title: '区域管理', auth: '/sys/area', sidebar: false, breadcrumb: false, activeMenu: '/area', }, }, ], }, { path: '/resource', component: Layout, redirect: '/resource/list', name: 'ResourceManage', meta: { title: '资源管理', icon: 'ep:key', auth: '/sys/resource', }, children: [ { path: 'list', name: 'ResourceList', component: () => import('@/views/system/resource/listResource.vue'), meta: { title: '资源管理', auth: '/sys/resource', sidebar: false, breadcrumb: false, activeMenu: '/resource', }, }, ], }, { path: '/dept', component: Layout, redirect: '/dept/list', name: 'DeptManage', meta: { title: '组织管理', icon: 'ep:key', auth: '/sys/dept', }, children: [ { path: 'list', name: 'DeptList', component: () => import('@/views/system/dept/listDept.vue'), meta: { title: '组织管理', auth: '/sys/dept', sidebar: false, breadcrumb: false, activeMenu: '/dept', }, }, ], }, { path: '/role', component: Layout, redirect: '/role/list', name: 'RoleManage', meta: { title: '角色管理', icon: 'ep:key', auth: '/sys/role', }, children: [ { path: 'list', name: 'RoleList', component: () => import('@/views/system/role/listRole.vue'), meta: { title: '角色管理', auth: '/sys/role', sidebar: false, breadcrumb: false, activeMenu: '/role', }, }, ], }, { path: '/user', component: Layout, redirect: '/user/list', name: 'UserManage', meta: { title: '用户管理', icon: 'ep:key', auth: '/sys/mgr', }, children: [ { path: 'list', name: 'UserList', component: () => import('@/views/system/user/listUser.vue'), meta: { title: '用户管理', auth: '/sys/mgr', sidebar: false, breadcrumb: false, activeMenu: '/user', }, }, ], }, { path: '/dict', component: Layout, redirect: '/dict/list', name: 'DictManage', meta: { title: '字典管理', icon: 'ep:key', auth: '/sys/dict', }, children: [ { path: 'list', name: 'DictList', component: () => import('@/views/system/dict/listDict.vue'), meta: { title: '字典管理', auth: '/sys/dict', sidebar: false, breadcrumb: false, activeMenu: '/dict', }, }, ], }, { path: '/process', component: Layout, redirect: '/process/list', name: 'Process', meta: { title: '流程管理', icon: 'ep:key', auth: '/sys/process', }, children: [ { path: 'list', name: 'ProcessList', component: () => import('@/views/system/process/process.vue'), meta: { title: '流程管理', icon: 'ep:key', auth: '/sys/process', sidebar: false, breadcrumb: false, activeMenu: '/process', }, }, { path: 'edit', name: 'ProcessListEdit', component: () => import('@/views/system/process/editProcess.vue'), meta: { title: '流程管理', icon: 'ep:key', auth: '/sys/process', sidebar: false, breadcrumb: false, activeMenu: '/process/list', }, }, { path: 'detail', name: 'ProcessListDetail', component: () => import('@/views/system/process/detailProcess.vue'), meta: { title: '流程管理', icon: 'ep:key', sidebar: false, breadcrumb: false, activeMenu: '/process/list', }, }, { path: 'add', name: 'ProcessListAdd', component: () => import('@/views/system/process/addProcess.vue'), meta: { title: '流程管理', icon: 'ep:key', sidebar: false, breadcrumb: false, activeMenu: '/process/list', }, }, ], }, { path: '/tenant', component: Layout, redirect: '/tenant/list', name: 'TenantManage', meta: { title: '项目管理', icon: 'ep:key', auth: '/sys/tenantSys/list', }, children: [ { path: 'list', name: 'TenantList', component: () => import('@/views/system/tenant/list.tenant.vue'), meta: { title: '项目管理', auth: '/sys/tenantSys/list', sidebar: false, breadcrumb: false, activeMenu: '/tenant', }, }, ], }, { path: '/businessLog', component: Layout, redirect: '/businessLog/list', name: 'BusinessLog', meta: { title: '业务日志', icon: 'ep:key', auth: '/sys/log/biz/list', }, children: [ { path: 'list', name: 'BusinessList', component: () => import('@/views/system/log/listLog.vue'), meta: { title: '业务日志', auth: '/sys/log/biz/list', sidebar: false, breadcrumb: false, activeMenu: '/businessLog', }, }, ], }, { path: '/error', component: Layout, redirect: '/error/list', name: 'ErrorLog', meta: { title: '异常日志', icon: 'ep:key', auth: '/sys/log/error/list', }, children: [ { path: 'list', name: 'ErrorList', component: () => import('@/views/system/log/listErrorLog.vue'), meta: { title: '异常日志', auth: '/sys/log/error/list', sidebar: false, breadcrumb: false, activeMenu: '/error', }, }, ], }, { path: '/loginDiary', component: Layout, redirect: '/loginDiary/list', name: 'loginDiaryLog', meta: { title: '登录日志', icon: 'ep:key', auth: '/sys/loginLog', }, children: [ { path: 'list', name: 'loginDiaryList', component: () => import('@/views/system/log/LoginLog.vue'), meta: { title: '登录日志', auth: '/sys/loginLog', sidebar: false, breadcrumb: false, activeMenu: '/loginDiary', }, }, ], }, { path: '/autographlist', component: Layout, redirect: '/autographlist/list', name: 'AutographTList', meta: { title: '签名管理', icon: 'ep:key', auth: '/sys/tool/autograph', }, children: [ { path: 'list', name: 'AutographTPage', component: () => import('@/views/system/signature/autograph.vue'), meta: { title: '签名管理', auth: '/sys/tool/autograph', sidebar: false, breadcrumb: false, activeMenu: '/autographlist', }, }, ], }, { path: '/configlist', component: Layout, redirect: '/configlist/list', name: 'ConfigList', meta: { title: '文件配置管理', icon: 'ep:key', auth: '/sys/tool/configuration', }, children: [ { path: 'list', name: 'ConfigFilePage', component: () => import('@/views/system/fileConfiguration/configuration.vue'), meta: { title: '文件配置管理', auth: '/sys/tool/configuration', sidebar: false, breadcrumb: false, activeMenu: '/configlist', }, }, ], }, { path: '/noticelist', component: Layout, redirect: '/noticelist/list', name: 'NoticeList', meta: { title: '通知公告', icon: 'ep:key', auth: '/sys/notice/list', }, children: [ { path: 'list', name: 'NpticePage', component: () => import('@/views/system/notice/noteList.vue'), meta: { title: '通知公告', auth: '/sys/notice/list', sidebar: false, breadcrumb: false, activeMenu: '/noticelist', }, }, ], }, ], }, ] export default routes