diff --git a/src/assets/js/asyncRouter.js b/src/assets/js/asyncRouter.js index fc119dd..3aa61b8 100644 --- a/src/assets/js/asyncRouter.js +++ b/src/assets/js/asyncRouter.js @@ -1,3256 +1,3 @@ -import { MODEL } from "@/assets/js/constant"; - -export default [ - { - path: "/enterprise_management", - redirect: "/enterprise_management/information", - meta: { title: "企业管理", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/enterprise_management/information", - redirect: "/enterprise_management/information/info", - meta: { title: "企业信息" }, - component: "children", - children: [ - { - path: "/enterprise_management/information/info", - meta: { title: "企业信息", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "enterprise_management/information/info", - }, - { - path: "/enterprise_management/information/info/edit", - meta: { - title: "编辑", - activeMenu: "/enterprise_management/information/info", - }, - component: "enterprise_management/information/edit", - }, - ], - }, - { - path: "/enterprise_management/information/industry_qualifications", - meta: { title: "行业资质", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: - "enterprise_management/industry_qualifications/index", - }, - { - path: "/enterprise_management/information/industry_qualifications/add", - meta: { - title: "新增", - activeMenu: - "/enterprise_management/information/industry_qualifications", - }, - component: "enterprise_management/industry_qualifications/add", - }, - { - path: "/enterprise_management/information/industry_qualifications/update", - meta: { - title: "修改", - activeMenu: - "/enterprise_management/information/industry_qualifications", - }, - component: "enterprise_management/industry_qualifications/add", - }, - { - path: "/enterprise_management/information/industry_qualifications/view", - meta: { - title: "查看", - activeMenu: - "/enterprise_management/information/industry_qualifications", - }, - component: "enterprise_management/industry_qualifications/view", - }, - ], - }, - { - path: "/enterprise_management/information/electronic_fence", - meta: { title: "电子围栏", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "enterprise_management/electronic_fence/index", - }, - ], - }, - ], - }, - { - path: "/enterprise_management/department", - meta: { title: "组织机构", isSubMenu: false }, - component: "enterprise_management/department/index", - }, - { - path: "/enterprise_management/post", - meta: { title: "岗位管理", isSubMenu: false }, - component: "enterprise_management/post/index", - }, - { - path: "/enterprise_management/user", - meta: { title: "用户管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "enterprise_management/user/index", - }, - { - path: "/enterprise_management/user/add", - meta: { - title: "新增", - activeMenu: "/enterprise_management/user", - }, - component: "enterprise_management/user/add", - }, - { - path: "/enterprise_management/user/edit", - meta: { - title: "修改", - activeMenu: "/enterprise_management/user", - }, - component: "enterprise_management/user/add", - }, - ], - }, - { - path: "/enterprise_management/basics_info_management/freight_trailer", - meta: { title: "货运挂车", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "enterprise_management/basics_info_management/freight_trailer/index", - }, - { - path: "/enterprise_management/basics_info_management/freight_trailer/add", - meta: { - title: "新增", - activeMenu: "/enterprise_management/basics_info_management/freight_trailer", - }, - component: "enterprise_management/basics_info_management/freight_trailer/add", - }, - { - path: "/enterprise_management/basics_info_management/freight_trailer/edit", - meta: { - title: "修改", - activeMenu: "/enterprise_management/basics_info_management/freight_trailer", - }, - component: "enterprise_management/basics_info_management/freight_trailer/edit", - }, - { - path: "/enterprise_management/basics_info_management/freight_trailer/view", - meta: { - title: "查看", - activeMenu: "/enterprise_management/basics_info_management/freight_trailer", - }, - component: "enterprise_management/basics_info_management/freight_trailer/view", - }, - ], - }, - ], - }, - { - path: "/mechanical_files", - redirect: "/mechanical_files/inspect_annually", - meta: { title: "机务档案", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/mechanical_files/inspect_annually", - meta: { title: "年检管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "mechanical_files/inspect_annually/index", - }, - { - path: "/mechanical_files/inspect_annually/add", - meta: { - title: "新增", - activeMenu: "/mechanical_files/inspect_annually", - }, - component: "mechanical_files/inspect_annually/add", - }, - { - path: "/mechanical_files/inspect_annually/edit", - meta: { - title: "修改", - activeMenu: "/mechanical_files/inspect_annually", - }, - component: "mechanical_files/inspect_annually/edit", - }, - { - path: "/mechanical_files/inspect_annually/view", - meta: { - title: "查看", - activeMenu: "/mechanical_files/inspect_annually", - }, - component: "mechanical_files/inspect_annually/view", - }, - ], - }, - { - path: "/mechanical_files/insure", - meta: { title: "保险管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "mechanical_files/insure/index", - }, - { - path: "/mechanical_files/insure/add", - meta: { - title: "新增", - activeMenu: "/mechanical_files/insure", - }, - component: "mechanical_files/insure/add", - }, - { - path: "/mechanical_files/insure/edit", - meta: { - title: "修改", - activeMenu: "/mechanical_files/insure", - }, - component: "mechanical_files/insure/edit", - }, - { - path: "/mechanical_files/insure/view", - meta: { - title: "查看", - activeMenu: "/mechanical_files/insure", - }, - component: "mechanical_files/insure/view", - }, - ], - }, - { - path: "/mechanical_files/operations", - meta: { title: "运营管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "mechanical_files/operations/index", - }, - { - path: "/mechanical_files/operations/add", - meta: { - title: "新增", - activeMenu: "/mechanical_files/operations", - }, - component: "mechanical_files/operations/add", - }, - { - path: "/mechanical_files/operations/edit", - meta: { - title: "修改", - activeMenu: "/mechanical_files/operations", - }, - component: "mechanical_files/operations/edit", - }, - { - path: "/mechanical_files/operations/view", - meta: { - title: "查看", - activeMenu: "/mechanical_files/operations", - }, - component: "mechanical_files/operations/view", - }, - ], - }, - { - path: "/mechanical_files/maintenance", - meta: { title: "维保管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "mechanical_files/maintenance/index", - }, - { - path: "/mechanical_files/maintenance/add", - meta: { - title: "新增", - activeMenu: "/mechanical_files/maintenance", - }, - component: "mechanical_files/maintenance/add", - }, - { - path: "/mechanical_files/maintenance/edit", - meta: { - title: "修改", - activeMenu: "/mechanical_files/maintenance", - }, - component: "mechanical_files/maintenance/edit", - }, - { - path: "/mechanical_files/maintenance/view", - meta: { - title: "查看", - activeMenu: "/mechanical_files/maintenance", - }, - component: "mechanical_files/maintenance/view", - }, - ], - }, - { - path: "/mechanical_files/beidou", - meta: { title: "北斗管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "mechanical_files/beidou/index", - }, - { - path: "/mechanical_files/beidou/add", - meta: { - title: "新增", - activeMenu: "/mechanical_files/beidou", - }, - component: "mechanical_files/beidou/add", - }, - { - path: "/mechanical_files/beidou/edit", - meta: { - title: "修改", - activeMenu: "/mechanical_files/beidou", - }, - component: "mechanical_files/beidou/edit", - }, - { - path: "/mechanical_files/beidou/view", - meta: { - title: "查看", - activeMenu: "/mechanical_files/beidou", - }, - component: "mechanical_files/beidou/view", - }, - ], - }, - ], - }, - { - path: "/troubleshooting_statistics", - redirect: "/troubleshooting_statistics/day_inspection", - meta: { title: "排查统计", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/troubleshooting_statistics/day_inspection", - meta: { title: "清单检查记录(日检)", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "troubleshooting_statistics/day_inspection/index", - }, - { - path: "/troubleshooting_statistics/day_inspection/inspection_records", - meta: { - title: "检查记录", - activeMenu: "/troubleshooting_statistics/day_inspection", - }, - component: - "troubleshooting_statistics/day_inspection/inspection_records", - }, - ], - }, - { - path: "/troubleshooting_statistics/week_inspection", - meta: { title: "清单检查记录(周检)", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "troubleshooting_statistics/week_inspection/index", - }, - { - path: "/troubleshooting_statistics/week_inspection/inspection_records", - meta: { - title: "检查记录", - activeMenu: "/troubleshooting_statistics/week_inspection", - }, - component: - "troubleshooting_statistics/week_inspection/inspection_records", - }, - ], - }, - { - path: "/troubleshooting_statistics/ten_day_inspection", - meta: { title: "清单检查记录(旬检)", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "troubleshooting_statistics/ten_day_inspection/index", - }, - { - path: "/troubleshooting_statistics/ten_day_inspection/inspection_records", - meta: { - title: "检查记录", - activeMenu: "/troubleshooting_statistics/ten_day_inspection", - }, - component: - "troubleshooting_statistics/ten_day_inspection/inspection_records", - }, - ], - }, - ], - }, - { - path: "/system_operation", - redirect: "/system_operation/system_documents", - meta: { title: "体系运行", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/system_operation/system_documents", - meta: { title: "体系文件", isSubMenu: false }, - component: "system_operation/system_documents/index", - }, - ], - }, - { - path: "/risk_control", - redirect: "/risk_control/risk_point", - meta: { title: "风险管控", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/risk_control/risk_point", - meta: { title: "风险点(单元)", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "risk_control/risk_point/index", - }, - { - path: "/risk_control/risk_point/view", - meta: { title: "查看", activeMenu: "/risk_control/risk_point" }, - component: "risk_control/risk_point/view", - }, - ], - }, - { - path: "/risk_control/identifying_parts", - meta: { title: "辨识部位", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "risk_control/identifying_parts/index", - }, - { - path: "/risk_control/identifying_parts/resources_risk", - meta: { - title: "匹配资源存在风险", - activeMenu: "/risk_control/identifying_parts", - }, - component: "risk_control/identifying_parts/resources_risk", - }, - ], - }, - { - path: "/risk_control/ledger", - meta: { title: "风险管控台账", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "risk_control/ledger/index", - }, - { - path: "/risk_control/ledger/allocation", - meta: { - title: "配置", - activeMenu: "/risk_control/ledger", - }, - component: "risk_control/ledger/allocation", - }, - ], - }, - ], - }, - { - path: "/hazard_investigation", - redirect: "/hazard_investigation/inventory_management", - meta: { title: "隐患排查", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/hazard_investigation/inventory_management", - meta: { title: "清单管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "hazard_investigation/inventory_management/index", - }, - { - path: "/hazard_investigation/inventory_management/print", - meta: { - title: "打印", - activeMenu: "/hazard_investigation/inventory_management", - }, - component: "hazard_investigation/inventory_management/print", - }, - { - path: "/hazard_investigation/inventory_management/print_custom", - meta: { - title: "打印", - activeMenu: "/hazard_investigation/inventory_management", - }, - component: "hazard_investigation/inventory_management/print_custom", - }, - { - path: "/hazard_investigation/inventory_management/part_qr_code", - meta: { - title: "部位二维码", - activeMenu: "/hazard_investigation/inventory_management", - }, - component: "children", - children: [ - { - path: "", - component: - "hazard_investigation/inventory_management/part_qr_code", - }, - { - path: "/hazard_investigation/inventory_management/part_qr_code/batch_printing", - meta: { - title: "批量打印", - activeMenu: "/hazard_investigation/inventory_management", - }, - component: - "hazard_investigation/inventory_management/batch_printing", - }, - ], - }, - { - path: "/hazard_investigation/inventory_management/insurance_coverage", - meta: { - title: "设置包保责任类型", - activeMenu: "/hazard_investigation/inventory_management", - }, - component: - "hazard_investigation/inventory_management/insurance_coverage", - }, - { - path: "/hazard_investigation/inventory_management/insurance_coverage_custom", - meta: { - title: "设置包保责任类型", - activeMenu: "/hazard_investigation/inventory_management", - }, - component: - "hazard_investigation/inventory_management/insurance_coverage_custom", - }, - { - path: "/hazard_investigation/inventory_management/add", - meta: { - title: "新增", - activeMenu: "/hazard_investigation/inventory_management", - }, - component: "hazard_investigation/inventory_management/add", - }, - { - path: "/hazard_investigation/inventory_management/add_custom", - meta: { - title: "新增", - activeMenu: "/hazard_investigation/inventory_management", - }, - component: "hazard_investigation/inventory_management/add_custom", - }, - { - path: "/hazard_investigation/inventory_management/edit", - meta: { - title: "修改", - activeMenu: "/hazard_investigation/inventory_management", - }, - component: "hazard_investigation/inventory_management/add", - }, - { - path: "/hazard_investigation/inventory_management/edit_custom", - meta: { - title: "修改", - activeMenu: "/hazard_investigation/inventory_management", - }, - component: "hazard_investigation/inventory_management/add_custom", - }, - { - path: "/hazard_investigation/inventory_management/inheritance_list", - meta: { - title: "继承清单", - activeMenu: "/hazard_investigation/inventory_management", - }, - component: "hazard_investigation/inventory_management/add", - }, - ], - }, - { - path: "/hazard_investigation/delete_inventory_management", - meta: { title: "删除清单管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "hazard_investigation/delete_inventory_management/index", - }, - { - path: "/hazard_investigation/delete_inventory_management/view", - meta: { - title: "查看", - activeMenu: "/hazard_investigation/delete_inventory_management", - }, - component: "hazard_investigation/delete_inventory_management/view", - }, - { - path: "/hazard_investigation/delete_inventory_management/view_custom", - meta: { - title: "查看", - activeMenu: "/hazard_investigation/delete_inventory_management", - }, - component: - "hazard_investigation/delete_inventory_management/view_custom", - }, - ], - }, - { - path: "/hazard_investigation/inventory_troubleshooting", - meta: { title: "清单排查", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "hazard_investigation/inventory_troubleshooting/index", - }, - { - path: "/hazard_investigation/inventory_troubleshooting/inspect", - meta: { - title: "开始检查", - activeMenu: "/hazard_investigation/inventory_troubleshooting", - }, - component: "hazard_investigation/inventory_troubleshooting/inspect", - }, - { - path: "/hazard_investigation/inventory_troubleshooting/inspect_custom", - meta: { - title: "开始检查", - activeMenu: "/hazard_investigation/inventory_troubleshooting", - }, - component: - "hazard_investigation/inventory_troubleshooting/inspect_custom", - }, - ], - }, - { - path: "/hazard_investigation/checklist_inspection_status", - meta: { title: "清单检查情况", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "hazard_investigation/checklist_inspection_status/index", - }, - { - path: "/hazard_investigation/checklist_inspection_status/inspection_record", - meta: { - title: "检查记录", - activeMenu: "/hazard_investigation/checklist_inspection_status", - }, - component: "children", - children: [ - { - path: "", - component: - "hazard_investigation/checklist_inspection_status/inspection_record", - }, - { - path: "/hazard_investigation/checklist_inspection_status/inspection_record/supplementary_recording", - meta: { - title: "补录", - activeMenu: - "/hazard_investigation/checklist_inspection_status", - }, - component: - "hazard_investigation/checklist_inspection_status/supplementary_recording", - }, - { - path: "/hazard_investigation/checklist_inspection_status/inspection_record/view", - meta: { - title: "详情", - activeMenu: - "/hazard_investigation/checklist_inspection_status", - }, - component: "children", - children: [ - { - path: "", - component: - "hazard_investigation/checklist_inspection_status/inspection_record_view", - }, - { - path: "/hazard_investigation/checklist_inspection_status/inspection_record/view/hidden_danger", - meta: { - title: "隐患信息", - activeMenu: - "/hazard_investigation/checklist_inspection_status", - }, - component: - "hazard_investigation/checklist_inspection_status/hidden_danger_view", - }, - ], - }, - ], - }, - ], - }, - { - path: "/hazard_investigation/inspection_record", - meta: { title: "检查记录管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "hazard_investigation/inspection_record/index", - }, - { - path: "/hazard_investigation/inspection_record/supplementary_recording", - meta: { - title: "补录", - activeMenu: "/hazard_investigation/inspection_record", - }, - component: - "hazard_investigation/inspection_record/supplementary_recording", - }, - { - path: "/hazard_investigation/inspection_record/view", - meta: { - title: "检查记录", - activeMenu: "/hazard_investigation/inspection_record", - }, - component: "children", - children: [ - { - path: "", - component: "hazard_investigation/inspection_record/view", - }, - { - path: "/hazard_investigation/inspection_record/view/hidden_danger", - meta: { - title: "隐患信息", - activeMenu: "/hazard_investigation/inspection_record", - }, - component: - "hazard_investigation/inspection_record/hidden_danger", - }, - ], - }, - { - path: "/hazard_investigation/inspection_record/batch_printing", - meta: { - title: "批量打印", - activeMenu: "/hazard_investigation/inspection_record", - }, - component: "hazard_investigation/inspection_record/batch_printing", - }, - ], - }, - { - path: "/hazard_investigation/troubleshooting_plan", - meta: { title: "排查计划", isSubMenu: false }, - component: "hazard_investigation/troubleshooting_plan/index", - }, - ], - }, - { - path: "/hidden_danger_government", - redirect: "/hidden_danger_government/rectification", - meta: { title: "隐患治理", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/hidden_danger_government/rectification", - meta: { title: "隐患整改", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "hidden_danger_government/rectification/index", - }, - { - path: "/hidden_danger_government/rectification/view", - meta: { - title: "查看", - activeMenu: "/hidden_danger_government/rectification", - }, - component: "hidden_danger_government/rectification/view", - }, - { - path: "/hidden_danger_government/rectification/rectification", - meta: { - title: "整改", - activeMenu: "/hidden_danger_government/rectification", - }, - component: "hidden_danger_government/rectification/rectification", - }, - ], - }, - { - path: "/hidden_danger_government/acceptance", - meta: { title: "隐患验收", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "hidden_danger_government/acceptance/index", - }, - { - path: "/hidden_danger_government/acceptance/view", - meta: { - title: "查看", - activeMenu: "/hidden_danger_government/acceptance", - }, - component: "hidden_danger_government/acceptance/view", - }, - { - path: "/hidden_danger_government/acceptance/acceptance", - meta: { - title: "验收", - activeMenu: "/hidden_danger_government/acceptance", - }, - component: "hidden_danger_government/acceptance/acceptance", - }, - ], - }, - { - path: "/hidden_danger_government/major", - meta: { title: "重大隐患", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "hidden_danger_government/major/index", - }, - { - path: "/hidden_danger_government/major/view", - meta: { - title: "查看", - activeMenu: "/hidden_danger_government/major", - }, - component: "hidden_danger_government/major/view", - }, - ], - }, - { - path: "/hidden_danger_government/ledger", - meta: { title: "隐患台账", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "hidden_danger_government/ledger/index", - }, - { - path: "/hidden_danger_government/ledger/add", - meta: { - title: "新增", - activeMenu: "/hidden_danger_government/ledger", - }, - component: "hidden_danger_government/ledger/add", - }, - { - path: "/hidden_danger_government/ledger/view", - meta: { - title: "查看", - activeMenu: "/hidden_danger_government/ledger", - }, - component: "hidden_danger_government/ledger/view", - }, - { - path: "/hidden_danger_government/ledger/print", - meta: { - title: "打印", - activeMenu: "/hidden_danger_government/ledger", - }, - component: "hidden_danger_government/ledger/print", - }, - ], - }, - ], - }, - { - path: "/continuous_improvement", - redirect: "/continuous_improvement/hazard_analysis", - meta: { title: "持续改进", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/continuous_improvement/hazard_analysis", - meta: { title: "隐患分析", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "continuous_improvement/hazard_analysis/index", - }, - { - path: "/continuous_improvement/hazard_analysis/view", - meta: { - title: "查看", - activeMenu: "/continuous_improvement/hazard_analysis", - }, - component: "continuous_improvement/hazard_analysis/view", - }, - ], - }, - { - path: "/continuous_improvement/risk_analysis", - meta: { title: "风险分析", isSubMenu: false }, - component: "continuous_improvement/risk_analysis/index", - }, - { - path: "/continuous_improvement/enterprise_report", - meta: { title: "企业报告", isSubMenu: false }, - component: "continuous_improvement/enterprise_report/index", - }, - { - path: "/continuous_improvement/risk_analysis_record", - meta: { title: "风险分析记录", isSubMenu: false }, - component: "continuous_improvement/risk_analysis_record/index", - }, - ], - }, - { - path: "/statistical_analysis", - redirect: "/statistical_analysis/hazard_statistics", - meta: { title: "统计分析", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/statistical_analysis/hazard_statistics", - meta: { title: "隐患统计", isSubMenu: false }, - component: "statistical_analysis/hazard_statistics/index", - }, - { - path: "/statistical_analysis/detection_situation", - meta: { title: "员工日常检测情况", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "statistical_analysis/detection_situation/index", - }, - { - path: "/statistical_analysis/detection_situation/print", - meta: { - title: "打印", - activeMenu: "/statistical_analysis/detection_situation", - }, - component: "statistical_analysis/detection_situation/print", - }, - ], - }, - { - path: "/statistical_analysis/usage_situation", - meta: { title: "员工使用情况分析", isSubMenu: false }, - component: "statistical_analysis/usage_situation/index", - }, - { - path: "/statistical_analysis/inventory_statistics_month", - meta: { title: "员工清单检查统计(月)", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "statistical_analysis/inventory_statistics_month/index", - }, - { - path: "/statistical_analysis/inventory_statistics_month/print", - meta: { - title: "打印", - activeMenu: "/statistical_analysis/inventory_statistics_month", - }, - component: "statistical_analysis/inventory_statistics_month/print", - }, - ], - }, - ], - }, - { - path: "/performance_appraisal", - redirect: "/performance_appraisal/departmental", - meta: { title: "绩效考核", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/performance_appraisal/departmental", - meta: { title: "部门绩效", isSubMenu: false }, - component: "performance_appraisal/departmental/index", - }, - { - path: "/performance_appraisal/personnel", - meta: { title: "人员绩效", isSubMenu: false }, - component: "performance_appraisal/personnel/index", - }, - ], - }, - { - path: "/workforce_management", - meta: { title: "排班管理", model: MODEL["1"], isSubMenu: false }, - component: "workforce_management/index", - }, - { - path: "/keyprojects", - redirect: "/keyprojects/units", - meta: { title: "重点工程", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/keyprojects/units", - meta: { title: "相关方管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "keyprojects/units/index", - }, - { - path: "/keyprojects/units/add", - meta: { - title: "新增", - activeMenu: "/keyprojects/units", - }, - component: "keyprojects/units/add", - }, - { - path: "/keyprojects/units/edit", - meta: { - title: "修改", - activeMenu: "/keyprojects/units", - }, - component: "keyprojects/units/add", - }, - ], - }, - { - path: "/keyprojects/personnelmanagement", - meta: { title: "相关方人员管理", isSubMenu: false }, - component: "keyprojects/personnelmanagement/index", - }, - { - path: "/keyprojects/outsourced", - meta: { title: "重点工程管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "keyprojects/outsourced/index", - }, - { - path: "/keyprojects/outsourced/add", - meta: { - title: "新增", - activeMenu: "/keyprojects/outsourced", - }, - component: "keyprojects/outsourced/add", - }, - { - path: "/keyprojects/outsourced/add", - meta: { - title: "编辑", - activeMenu: "/keyprojects/outsourced", - }, - component: "keyprojects/outsourced/add", - }, - { - path: "/keyprojects/outsourced/view", - meta: { - title: "查看", - activeMenu: "/keyprojects/outsourced", - }, - component: "keyprojects/outsourced/view", - }, - ], - }, - { - path: "/keyprojects/inspection", - meta: { title: "安全、环保检查", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "keyprojects/inspection/index", - }, - { - path: "/keyprojects/inspection/record_list", - meta: { - title: "查看列表", - activeMenu: "/keyprojects/inspection", - }, - component: "children", - children: [ - { - path: "", - component: "keyprojects/inspection/record_list", - }, - { - path: "/keyprojects/inspection/record_view", - meta: { - title: "查看详情", - activeMenu: "/keyprojects/inspection", - }, - component: "children", - children: [ - { - path: "", - component: "keyprojects/inspection/record_view", - }, - { - path: "/keyprojects/inspection/hidden_view", - meta: { - title: "隐患信息", - activeMenu: "/keyprojects/inspection", - }, - component: "keyprojects/inspection/hidden_view", - }, - ], - }, - ], - }, - ], - }, - { - path: "/keyprojects/hidden", - meta: { title: "隐患排查", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "keyprojects/hidden/index", - }, - { - path: "/keyprojects/hidden/record_list", - meta: { - title: "查看列表", - activeMenu: "/keyprojects/hidden", - }, - component: "children", - children: [ - { - path: "", - component: "keyprojects/hidden/record_list", - }, - { - path: "/keyprojects/hidden/record_view", - meta: { - title: "查看详情", - activeMenu: "/keyprojects/hidden", - }, - component: "keyprojects/hidden/record_view", - }, - ], - }, - ], - }, - { - path: "/keyprojects/punish", - meta: { title: "处罚管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "keyprojects/punish/index", - }, - { - path: "/keyprojects/punish/record_list", - meta: { - title: "查看列表", - activeMenu: "/keyprojects/punish", - }, - component: "children", - children: [ - { - path: "", - component: "keyprojects/punish/record_list", - }, - { - path: "/keyprojects/punish/record_view", - meta: { - title: "查看详情", - activeMenu: "/keyprojects/punish", - }, - component: "keyprojects/punish/record_view", - }, - ], - }, - ], - }, - ], - }, - { - path: "/safety_environmental_management", - redirect: "/safety_environmental_management/safety_environmental", - meta: { title: "安全、环保检查管理", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/safety_environmental_management/safety_environmental", - meta: { title: "安全、环保检查", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: - "safety_environmental_management/safety_environmental/index", - }, - { - path: "/safety_environmental_management/safety_environmental/add", - meta: { - title: "新增", - activeMenu: - "/safety_environmental_management/safety_environmental", - }, - component: - "safety_environmental_management/safety_environmental/add", - }, - { - path: "/safety_environmental_management/safety_environmental/edit", - meta: { - title: "编辑", - activeMenu: - "/safety_environmental_management/safety_environmental", - }, - component: - "safety_environmental_management/safety_environmental/add", - }, - { - path: "/safety_environmental_management/safety_environmental/view", - meta: { - title: "查看", - activeMenu: - "/safety_environmental_management/safety_environmental", - }, - component: - "safety_environmental_management/safety_environmental/view", - }, - ], - }, - { - path: "/safety_environmental_management/inspectors_verify_management", - meta: { title: "检查人核实管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: - "safety_environmental_management/inspectors_verify_management/index", - }, - { - path: "/safety_environmental_management/inspectors_verify_management/view", - meta: { - title: "查看", - activeMenu: - "/safety_environmental_management/inspectors_verify_management", - }, - component: - "safety_environmental_management/inspectors_verify_management/view", - }, - ], - }, - { - path: "/safety_environmental_management/inspected_person_confirm", - meta: { title: "被检查人确认", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: - "safety_environmental_management/inspected_person_confirm/index", - }, - { - path: "/safety_environmental_management/inspected_person_confirm/view", - meta: { - title: "查看", - activeMenu: - "/safety_environmental_management/inspected_person_confirm", - }, - component: - "safety_environmental_management/inspected_person_confirm/view", - }, - ], - }, - { - path: "/safety_environmental_management/hazard_assignment_acceptance", - meta: { title: "隐患指派与验收", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: - "safety_environmental_management/hazard_assignment_acceptance/index", - }, - { - path: "/safety_environmental_management/hazard_assignment_acceptance/view", - meta: { - title: "查看", - activeMenu: - "/safety_environmental_management/hazard_assignment_acceptance", - }, - component: - "safety_environmental_management/hazard_assignment_acceptance/view", - }, - { - path: "/safety_environmental_management/hazard_assignment_acceptance/assign", - meta: { - title: "指派", - activeMenu: - "/safety_environmental_management/hazard_assignment_acceptance", - }, - component: "children", - children: [ - { - path: "", - component: - "safety_environmental_management/hazard_assignment_acceptance/hidden_list", - }, - { - path: "/safety_environmental_management/hazard_assignment_acceptance/assign/assign", - meta: { - title: "指派", - activeMenu: - "/safety_environmental_management/hazard_assignment_acceptance", - }, - component: - "safety_environmental_management/hazard_assignment_acceptance/assign", - }, - { - path: "/safety_environmental_management/hazard_assignment_acceptance/assign/acceptance", - meta: { - title: "验收", - activeMenu: - "/safety_environmental_management/hazard_assignment_acceptance", - }, - component: - "safety_environmental_management/hazard_assignment_acceptance/acceptance", - }, - ], - }, - { - path: "/safety_environmental_management/hazard_assignment_acceptance/acceptance", - meta: { - title: "验收", - activeMenu: - "/safety_environmental_management/hazard_assignment_acceptance", - }, - component: "children", - children: [ - { - path: "", - component: - "safety_environmental_management/hazard_assignment_acceptance/hidden_list", - }, - { - path: "/safety_environmental_management/hazard_assignment_acceptance/acceptance/assign", - meta: { - title: "指派", - activeMenu: - "/safety_environmental_management/hazard_assignment_acceptance", - }, - component: - "safety_environmental_management/hazard_assignment_acceptance/acceptance", - }, - { - path: "/safety_environmental_management/hazard_assignment_acceptance/acceptance/acceptance", - meta: { - title: "验收", - activeMenu: - "/safety_environmental_management/hazard_assignment_acceptance", - }, - component: - "safety_environmental_management/hazard_assignment_acceptance/acceptance", - }, - ], - }, - ], - }, - { - path: "/safety_environmental_management/hazard_management", - meta: { title: "隐患管理", isSubMenu: false }, - component: "safety_environmental_management/hazard_management/index", - }, - ], - }, - { - path: "/off_duty_management", - redirect: "/off_duty_management/leave", - meta: { title: "离岗管理", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/off_duty_management/setting", - meta: { title: "离岗设置", isSubMenu: false }, - component: "off_duty_management/setting/index", - }, - { - path: "/off_duty_management/leave", - meta: { title: "离岗管理", isSubMenu: false }, - component: "off_duty_management/leave/index", - }, - { - path: "/off_duty_management/record", - meta: { title: "离岗记录", isSubMenu: false }, - component: "off_duty_management/record/index", - }, - { - path: "/off_duty_management/login_record", - meta: { title: "登录记录", isSubMenu: false }, - component: "off_duty_management/login_record/index", - }, - ], - }, - { - path: "/risk_statement", - redirect: "/risk_statement/risk_four_color_chart", - meta: { title: "风险提示", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/risk_statement/risk_four_color_chart", - meta: { title: "风险四色图", isSubMenu: false }, - component: "risk_statement/risk_four_color_chart/index", - }, - { - path: "/risk_statement/risk_notification_card", - meta: { title: "风险告知卡", isSubMenu: false }, - component: "risk_statement/risk_notification_card/index", - }, - { - path: "/risk_statement/job_notification_card", - meta: { title: "岗位告知卡", isSubMenu: false }, - component: "risk_statement/job_notification_card/index", - }, - { - path: "/risk_statement/safety_production_commitment_card", - meta: { title: "安全生产承诺卡", isSubMenu: false }, - component: "risk_statement/safety_production_commitment_card/index", - }, - { - path: "/risk_statement/emergency_response_card", - meta: { title: "应急处置卡", isSubMenu: false }, - component: "risk_statement/emergency_response_card/index", - }, - ], - }, - { - path: "/dynamic_evaluation", - redirect: "/dynamic_evaluation/risk_control_menu", - meta: { title: "动态评估", model: MODEL["1"] }, - component: "children", - children: [ - { - path: "/dynamic_evaluation/risk_control_menu", - meta: { title: "风险管控动态评估菜单", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "dynamic_evaluation/risk_control_menu/index" }, - { - path: "/dynamic_evaluation/risk_control_menu/add", - meta: { - title: "新增", - activeMenu: "/dynamic_evaluation/risk_control_menu", - }, - component: "dynamic_evaluation/risk_control_menu/add", - }, - { - path: "/dynamic_evaluation/risk_control_menu/view", - meta: { - title: "查看", - activeMenu: "/dynamic_evaluation/risk_control_menu", - }, - component: "dynamic_evaluation/risk_control_menu/add", - }, - { - path: "/dynamic_evaluation/risk_control_menu/edit", - meta: { - title: "编辑", - activeMenu: "/dynamic_evaluation/risk_control_menu", - }, - component: "dynamic_evaluation/risk_control_menu/add", - }, - ], - }, - ], - }, - { - path: "/platform_resource_library", - redirect: "/platform_resource_library/courseware", - meta: { title: "平台资源库", model: MODEL["2"] }, - component: "children", - children: [ - { - path: "/platform_resource_library/courseware", - redirect: "/platform_resource_library/courseware/video", - meta: { title: "课件资源管理" }, - component: "children", - children: [ - { - path: "/platform_resource_library/courseware/video", - meta: { title: "视频课件", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "platform_resource_library/courseware/video/index", - }, - { - path: "/platform_resource_library/courseware/video/view", - meta: { - title: "课件习题", - activeMenu: "/platform_resource_library/courseware/video", - }, - component: "platform_resource_library/courseware/video/view", - }, - ], - }, - { - path: "/platform_resource_library/courseware/data", - meta: { title: "资料课件", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "platform_resource_library/courseware/data/index", - }, - { - path: "/platform_resource_library/courseware/data/view", - meta: { - title: "课件习题", - activeMenu: "/platform_resource_library/courseware/data", - }, - component: "platform_resource_library/courseware/data/view", - }, - ], - }, - ], - }, - { - path: "/platform_resource_library/curriculum", - meta: { title: "课程管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "platform_resource_library/curriculum/index", - }, - { - path: "/platform_resource_library/curriculum/view", - meta: { - title: "查看", - activeMenu: "/platform_resource_library/curriculum", - }, - component: "platform_resource_library/curriculum/view", - }, - ], - }, - { - path: "/platform_resource_library/paper", - meta: { title: "试卷管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "platform_resource_library/paper/index", - }, - { - path: "/platform_resource_library/paper/view", - meta: { - title: "查看", - activeMenu: "/platform_resource_library/paper", - }, - component: "platform_resource_library/paper/view", - }, - ], - }, - ], - }, - { - path: "/online_learn_exam", - redirect: "/online_learn_exam/courseware", - meta: { title: "在线学习与考试", model: MODEL["2"] }, - component: "children", - children: [ - { - path: "/online_learn_exam/courseware", - redirect: "/online_learn_exam/courseware/video", - meta: { title: "课件管理" }, - component: "children", - children: [ - { - path: "/online_learn_exam/courseware/video", - meta: { title: "视频课件维护", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "online_learn_exam/courseware/video/index", - }, - { - path: "/online_learn_exam/courseware/video/add", - meta: { - title: "添加", - activeMenu: "/online_learn_exam/courseware/video", - }, - component: "online_learn_exam/courseware/video/add", - }, - { - path: "/online_learn_exam/courseware/video/edit", - meta: { - title: "修改", - activeMenu: "/online_learn_exam/courseware/video", - }, - component: "online_learn_exam/courseware/video/add", - }, - { - path: "/online_learn_exam/courseware/video/exercises", - meta: { - title: "课件习题", - activeMenu: "/online_learn_exam/courseware/video", - }, - component: "online_learn_exam/courseware/video/exercises", - }, - ], - }, - { - path: "/online_learn_exam/courseware/data", - meta: { title: "资料课件维护", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "online_learn_exam/courseware/data/index", - }, - { - path: "/online_learn_exam/courseware/data/add", - meta: { - title: "新增", - activeMenu: "/online_learn_exam/courseware/data", - }, - component: "online_learn_exam/courseware/data/add", - }, - { - path: "/online_learn_exam/courseware/data/edit", - meta: { - title: "修改", - activeMenu: "/online_learn_exam/courseware/data", - }, - component: "online_learn_exam/courseware/data/add", - }, - { - path: "/online_learn_exam/courseware/data/exercises", - meta: { - title: "课件习题", - activeMenu: "/online_learn_exam/courseware/video", - }, - component: "online_learn_exam/courseware/data/exercises", - }, - ], - }, - ], - }, - { - path: "/online_learn_exam/curriculum", - meta: { title: "课程管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "/online_learn_exam/curriculum", - component: "online_learn_exam/curriculum/index", - }, - { - path: "/online_learn_exam/curriculum/view", - meta: { - title: "查看", - activeMenu: "/online_learn_exam/curriculum", - }, - component: "online_learn_exam/curriculum/view", - }, - { - path: "/online_learn_exam/curriculum/add", - meta: { - title: "新增", - activeMenu: "/online_learn_exam/curriculum", - }, - component: "online_learn_exam/curriculum/add", - }, - { - path: "/online_learn_exam/curriculum/edit", - meta: { - title: "修改", - activeMenu: "/online_learn_exam/curriculum", - }, - component: "online_learn_exam/curriculum/add", - }, - { - path: "/online_learn_exam/curriculum/inherit", - meta: { - title: "继承", - activeMenu: "/online_learn_exam/curriculum", - }, - component: "online_learn_exam/curriculum/add", - }, - ], - }, - { - path: "/online_learn_exam/paper", - meta: { title: "试卷管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "/online_learn_exam/paper", - component: "online_learn_exam/paper/index", - }, - { - path: "/online_learn_exam/paper/view", - meta: { - title: "查看", - activeMenu: "/online_learn_exam/paper", - }, - component: "online_learn_exam/paper/view", - }, - { - path: "/online_learn_exam/paper/add", - meta: { - title: "新增", - activeMenu: "/online_learn_exam/paper", - }, - component: "online_learn_exam/paper/add", - }, - ], - }, - { - path: "/online_learn_exam/task", - meta: { title: "任务管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "online_learn_exam/task/index", - }, - { - path: "/online_learn_exam/task/view", - meta: { - title: "查看", - activeMenu: "/online_learn_exam/task", - }, - component: "online_learn_exam/task/view", - }, - { - path: "/online_learn_exam/task/update", - meta: { - title: "修改", - activeMenu: "/online_learn_exam/task", - }, - component: "online_learn_exam/task/view", - }, - { - path: "/online_learn_exam/task/add", - meta: { - title: "新增", - activeMenu: "/online_learn_exam/task", - }, - component: "online_learn_exam/task/add", - }, - { - path: "/online_learn_exam/task/student_details", - meta: { - title: "学员详情", - activeMenu: "/online_learn_exam/task", - }, - component: "children", - children: [ - { - path: "", - component: "online_learn_exam/task/student_details", - }, - { - path: "/online_learn_exam/task/student_details/learning_details", - meta: { - title: "学习详情", - activeMenu: "/online_learn_exam/task", - }, - component: "online_learn_exam/task/learning_details", - }, - ], - }, - { - path: "/online_learn_exam/task/exam_details", - meta: { - title: "考试详情", - activeMenu: "/online_learn_exam/task", - }, - component: "children", - children: [ - { - path: "", - component: "online_learn_exam/task/exam_details", - }, - { - path: "/online_learn_exam/task/exam_details/exam_paper_details", - meta: { - title: "考卷详情", - activeMenu: "/online_learn_exam/task", - }, - component: "online_learn_exam/task/exam_paper_details", - }, - ], - }, - ], - }, - { - path: "/online_learn_exam/my_task", - meta: { title: "我的任务", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "online_learn_exam/my_task/index", - }, - { - path: "/online_learn_exam/my_task/start_learning", - meta: { - title: "开始学习", - activeMenu: "/online_learn_exam/my_task", - }, - component: "children", - children: [ - { - path: "", - component: "online_learn_exam/my_task/start_learning", - }, - { - path: "/online_learn_exam/my_task/start_learning/learning_video", - meta: { - title: "学习", - activeMenu: "/online_learn_exam/my_task", - }, - component: "online_learn_exam/my_task/learning_video", - }, - { - path: "/online_learn_exam/my_task/start_learning/learning_pdf", - meta: { - title: "学习", - activeMenu: "/online_learn_exam/my_task", - }, - component: "online_learn_exam/my_task/learning_pdf", - }, - ], - }, - { - path: "/online_learn_exam/my_task/task_exam", - meta: { - title: "任务考试", - activeMenu: "/online_learn_exam/my_task", - }, - component: "online_learn_exam/my_task/task_exam", - }, - { - path: "/online_learn_exam/my_task/exam_details", - meta: { - title: "考试详情", - activeMenu: "/online_learn_exam/my_task", - }, - component: "online_learn_exam/my_task/exam_details", - }, - ], - }, - ], - }, - { - path: "/signature_information_management", - meta: { title: "签字信息管理", model: MODEL["2"], isSubMenu: false }, - component: "signature_information_management/index", - }, - { - path: "/file_management", - redirect: "/file_management/personnel", - meta: { title: "档案管理", model: MODEL["2"] }, - component: "children", - children: [ - { - path: "/file_management/personnel", - meta: { title: "一人一档", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "file_management/personnel/index" }, - { - path: "/file_management/personnel/task_details", - meta: { - title: "任务详情", - activeMenu: "/file_management/personnel", - }, - component: "children", - children: [ - { path: "", component: "file_management/personnel/task_details" }, - { - path: "/file_management/personnel/task_details/file_details", - meta: { - title: "档案详情", - activeMenu: "/file_management/personnel", - }, - component: "file_management/personnel/file_details", - }, - ], - }, - ], - }, - { - path: "/file_management/stage", - meta: { title: "一期一档", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "file_management/stage/index" }, - { - path: "/file_management/stage/archival_catalogue", - meta: { - title: "档案目录", - activeMenu: "/file_management/stage", - }, - component: "file_management/stage/archival_catalogue", - }, - ], - }, - { - path: "/file_management/enterprise", - meta: { title: "一企一档", isSubMenu: false }, - component: "file_management/enterprise/index", - }, - ], - }, - { - path: "/confined_space", - redirect: "/confined_space/job_data", - meta: { title: "受限空间作业管理", model: MODEL["3"] }, - component: "children", - children: [ - { - path: "/confined_space/job_data", - meta: { title: "受限空间作业数据", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "confined_space/job_data/index" }, - { - path: "/confined_space/job_data/view", - meta: { - title: "审批表详情", - activeMenu: "/confined_space/job_data", - }, - component: "confined_space/job_data/view", - }, - { - path: "/confined_space/job_data/add_video", - meta: { - title: "添加监控", - activeMenu: "/confined_space/job_data", - }, - component: "eightwork_videomanager/index", - }, - ], - }, - { - path: "/confined_space/ledger", - meta: { title: "受限空间台账", isSubMenu: false }, - component: "confined_space/ledger/index", - }, - { - path: "/confined_space/archive", - meta: { title: "归档管理", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "confined_space/archive/index" }, - { - path: "/confined_space/archive/view", - meta: { - title: "审批表详情", - activeMenu: "/confined_space/archive", - }, - component: "confined_space/archive/view", - }, - ], - }, - ], - }, - { - path: "/blind_plate_plugging", - redirect: "/blind_plate_plugging/job_data", - meta: { title: "盲板抽堵作业管理", model: MODEL["3"] }, - component: "children", - children: [ - { - path: "/blind_plate_plugging/job_data", - meta: { title: "盲板抽堵作业数据", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "blind_plate_plugging/job_data/index" }, - { - path: "/blind_plate_plugging/job_data/view", - meta: { - title: "审批表详情", - activeMenu: "/blind_plate_plugging/job_data", - }, - component: "blind_plate_plugging/job_data/view", - }, - { - path: "/blind_plate_plugging/job_data/add_video", - meta: { - title: "添加监控", - activeMenu: "/blind_plate_plugging/job_data", - }, - component: "eightwork_videomanager/index", - }, - ], - }, - { - path: "/blind_plate_plugging/archive", - meta: { title: "归档管理", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "blind_plate_plugging/archive/index" }, - { - path: "/blind_plate_plugging/archive/view", - meta: { - title: "审批表详情", - activeMenu: "/blind_plate_plugging/archive", - }, - component: "blind_plate_plugging/archive/view", - }, - ], - }, - ], - }, - { - path: "/groundbreaking", - redirect: "/groundbreaking/job_data", - meta: { title: "动土作业管理", model: MODEL["3"] }, - component: "children", - children: [ - { - path: "/groundbreaking/job_data", - meta: { title: "动土作业数据", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "groundbreaking/job_data/index" }, - { - path: "/groundbreaking/job_data/view", - meta: { - title: "审批表详情", - activeMenu: "/groundbreaking/job_data", - }, - component: "groundbreaking/job_data/view", - }, - { - path: "/blind_plate_plugging/job_data/add_video", - meta: { - title: "添加监控", - activeMenu: "/blind_plate_plugging/job_data", - }, - component: "eightwork_videomanager/index", - }, - ], - }, - { - path: "/groundbreaking/archive", - meta: { title: "归档管理", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "groundbreaking/archive/index" }, - { - path: "/groundbreaking/archive/view", - meta: { - title: "审批表详情", - activeMenu: "/groundbreaking/archive", - }, - component: "groundbreaking/archive/view", - }, - ], - }, - ], - }, - { - path: "/high", - redirect: "/high/job_data", - meta: { title: "高处作业管理", model: MODEL["3"] }, - component: "children", - children: [ - { - path: "/high/job_data", - meta: { title: "高处作业数据", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "high/job_data/index" }, - { - path: "/high/job_data/view", - meta: { - title: "审批表详情", - activeMenu: "/high/job_data", - }, - component: "high/job_data/view", - }, - { - path: "/high/job_data/add_video", - meta: { - title: "添加监控", - activeMenu: "/high/job_data", - }, - component: "eightwork_videomanager/index", - }, - ], - }, - { - path: "/high/archive", - meta: { title: "归档管理", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "high/archive/index" }, - { - path: "/high/archive/view", - meta: { - title: "审批表详情", - activeMenu: "/high/archive", - }, - component: "high/archive/view", - }, - ], - }, - ], - }, - { - path: "/hoisting", - redirect: "/hoisting/job_data", - meta: { title: "吊装作业管理", model: MODEL["3"] }, - component: "children", - children: [ - { - path: "/hoisting/job_data", - meta: { title: "吊装作业数据", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "hoisting/job_data/index" }, - { - path: "/hoisting/job_data/view", - meta: { - title: "审批表详情", - activeMenu: "/hoisting/job_data", - }, - component: "hoisting/job_data/view", - }, - { - path: "/hoisting/job_data/add_video", - meta: { - title: "添加监控", - activeMenu: "/hoisting/job_data", - }, - component: "eightwork_videomanager/index", - }, - ], - }, - { - path: "/hoisting/archive", - meta: { title: "归档管理", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "hoisting/archive/index" }, - { - path: "/hoisting/archive/view", - meta: { - title: "审批表详情", - activeMenu: "/hoisting/archive", - }, - component: "hoisting/archive/view", - }, - ], - }, - ], - }, - - { - path: "/open_circuit", - redirect: "/open_circuit/job_data", - meta: { title: "断路作业管理", model: MODEL["3"] }, - component: "children", - children: [ - { - path: "/open_circuit/job_data", - meta: { title: "断路作业数据", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "open_circuit/job_data/index" }, - { - path: "/open_circuit/job_data/view", - meta: { - title: "审批表详情", - activeMenu: "/open_circuit/job_data", - }, - component: "open_circuit/job_data/view", - }, - { - path: "/open_circuit/job_data/add_video", - meta: { - title: "添加监控", - activeMenu: "/open_circuit/job_data", - }, - component: "eightwork_videomanager/index", - }, - ], - }, - { - path: "/open_circuit/archive", - meta: { title: "归档管理", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "open_circuit/archive/index" }, - { - path: "/open_circuit/archive/view", - meta: { - title: "审批表详情", - activeMenu: "/open_circuit/archive", - }, - component: "open_circuit/archive/view", - }, - ], - }, - ], - }, - { - path: "/temporary_electricity_usage", - redirect: "/temporary_electricity_usage/job_data", - meta: { title: "临时用电作业管理", model: MODEL["3"] }, - component: "children", - children: [ - { - path: "/temporary_electricity_usage/job_data", - meta: { title: "临时用电作业数据", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "temporary_electricity_usage/job_data/index" }, - { - path: "/temporary_electricity_usage/job_data/view", - meta: { - title: "审批表详情", - activeMenu: "/temporary_electricity_usage/job_data", - }, - component: "temporary_electricity_usage/job_data/view", - }, - { - path: "/temporary_electricity_usage/job_data/add_video", - meta: { - title: "添加监控", - activeMenu: "/temporary_electricity_usage/job_data", - }, - component: "eightwork_videomanager/index", - }, - ], - }, - { - path: "/temporary_electricity_usage/archive", - meta: { title: "归档管理", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "temporary_electricity_usage/archive/index" }, - { - path: "/temporary_electricity_usage/archive/view", - meta: { - title: "审批表详情", - activeMenu: "/temporary_electricity_usage/archive", - }, - component: "temporary_electricity_usage/archive/view", - }, - ], - }, - ], - }, - { - path: "/hot_work", - redirect: "/hot_work/job_data", - meta: { title: "动火作业管理", model: MODEL["3"] }, - component: "children", - children: [ - { - path: "/hot_work/job_data", - meta: { title: "动火作业数据", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "hot_work/job_data/index" }, - { - path: "/hot_work/job_data/view", - meta: { - title: "审批表详情", - activeMenu: "/hot_work/job_data", - }, - component: "hot_work/job_data/view", - }, - { - path: "/hot_work/job_data/add_video", - meta: { - title: "添加监控", - activeMenu: "/hot_work/job_data", - }, - component: "eightwork_videomanager/index", - }, - ], - }, - { - path: "/hot_work/archive", - meta: { title: "归档管理", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "hot_work/archive/index" }, - { - path: "/hot_work/archive/view", - meta: { - title: "审批表详情", - activeMenu: "/hot_work/archive", - }, - component: "hot_work/archive/view", - }, - ], - }, - ], - }, - { - path: "/package_protect_person", - redirect: "/package_protect_person/performance_statistics", - meta: { title: "企业安全包保责任人", model: MODEL["4"] }, - component: "children", - children: [ - { - path: "/package_protect_person/performance_statistics", - meta: { title: "履职统计", isSubMenu: false }, - component: "package_protect_person/performance_statistics/index", - }, - ], - }, - { - path: "/safety_commitment", - redirect: "/safety_commitment/company_level", - meta: { title: "安全承诺", model: MODEL["4"] }, - component: "children", - children: [ - { - path: "/safety_commitment/company_level", - meta: { title: "公司级承诺公告", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "safety_commitment/company_level/index" }, - { - path: "/safety_commitment/company_level/add", - meta: { - title: "补录", - activeMenu: "/safety_commitment/company_level", - }, - component: "safety_commitment/company_level/add", - }, - { - path: "/safety_commitment/company_level/view", - meta: { - title: "查看", - activeMenu: "/safety_commitment/company_level", - }, - component: "safety_commitment/company_level/view", - }, - ], - }, - { - path: "/safety_commitment/workshop_level", - meta: { title: "车间级承诺公告", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "safety_commitment/workshop_level/index" }, - { - path: "/safety_commitment/workshop_level/add", - meta: { - title: "补录", - activeMenu: "/safety_commitment/workshop_level", - }, - component: "safety_commitment/workshop_level/add", - }, - { - path: "/safety_commitment/workshop_level/view", - meta: { - title: "查看", - activeMenu: "/safety_commitment/workshop_level", - }, - component: "safety_commitment/workshop_level/view", - }, - ], - }, - { - path: "/safety_commitment/team_level", - meta: { title: "班组级承诺公告", isSubMenu: false }, - component: "children", - children: [ - { path: "", component: "safety_commitment/team_level/index" }, - { - path: "/safety_commitment/team_level/add", - meta: { - title: "补录", - activeMenu: "/safety_commitment/team_level", - }, - component: "safety_commitment/team_level/add", - }, - { - path: "/safety_commitment/team_level/view", - meta: { - title: "查看", - activeMenu: "/safety_commitment/team_level", - }, - component: "safety_commitment/team_level/view", - }, - ], - }, - ], - }, - { - path: "/security_commitment_pro", - redirect: "/security_commitment_pro/template", - meta: { title: "安全承诺Pro", model: MODEL["4"] }, - component: "children", - children: [ - { - path: "/security_commitment_pro/template", - meta: { title: "安全承诺书模板", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "security_commitment_pro/template/index", - }, - { - path: "/security_commitment_pro/template/add", - meta: { - title: "新增", - activeMenu: "/security_commitment_pro/template", - }, - component: "security_commitment_pro/template/add", - }, - { - path: "/security_commitment_pro/template/edit", - meta: { - title: "编辑", - activeMenu: "/security_commitment_pro/template", - }, - component: "security_commitment_pro/template/add", - }, - ], - }, - { - path: "/security_commitment_pro/administration", - meta: { title: "安全承诺书管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "security_commitment_pro/administration/index", - }, - { - path: "/security_commitment_pro/administration/add", - meta: { - title: "新增", - activeMenu: "/security_commitment_pro/administration", - }, - component: "security_commitment_pro/administration/add", - }, - { - path: "/security_commitment_pro/administration/edit", - meta: { - title: "编辑", - activeMenu: "/security_commitment_pro/administration", - }, - component: "security_commitment_pro/administration/add", - }, - { - path: "/security_commitment_pro/administration/view", - meta: { - title: "查看", - activeMenu: "/security_commitment_pro/administration", - }, - component: "security_commitment_pro/administration/view", - }, - { - path: "/security_commitment_pro/administration/details", - meta: { - title: "详情", - activeMenu: "/security_commitment_pro/administration", - }, - component: "security_commitment_pro/administration/details", - }, - ], - }, - ], - }, - { - path: "/video_manager", - redirect: "/video_manager/video_manager", - meta: { title: "企业视频监控管理", model: MODEL["4"] }, - component: "children", - children: [ - { - path: "/video_manager/video_manager", - meta: { title: "视频设备列表", isSubMenu: false }, - component: "video_manager/video_manager/index", - }, - { - path: "/video_manager/ai_warning", - meta: { title: "Ai报警", isSubMenu: false }, - component: "video_manager/ai_warning/index", - }, - ], - }, - { - path: "/major_hazard_sources", - redirect: "/major_hazard_sources/major_hazard_management", - meta: { title: "重大危险源监测预警", model: MODEL["4"] }, - component: "children", - children: [ - { - path: "/major_hazard_sources/major_hazard_management", - meta: { title: "重大危险源管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "major_hazard_sources/major_hazard_management/index", - }, - { - path: "/major_hazard_sources/major_hazard_management/add", - meta: { - title: "新增", - activeMenu: "/major_hazard_sources/major_hazard_management", - }, - component: "major_hazard_sources/major_hazard_management/add", - }, - { - path: "/major_hazard_sources/major_hazard_management/edit", - meta: { - title: "修改", - activeMenu: "/major_hazard_sources/major_hazard_management", - }, - component: "major_hazard_sources/major_hazard_management/add", - }, - { - path: "/major_hazard_sources/major_hazard_management/view", - meta: { - title: "查看", - activeMenu: "/major_hazard_sources/major_hazard_management", - }, - component: "major_hazard_sources/major_hazard_management/view", - }, - { - path: "/major_hazard_sources/major_hazard_management/change_record", - meta: { - title: "变更记录", - activeMenu: "/major_hazard_sources/major_hazard_management", - }, - component: "children", - children: [ - { - path: "", - component: - "major_hazard_sources/major_hazard_management/change_record", - }, - { - path: "/major_hazard_sources/major_hazard_management/change_record/view", - meta: { - title: "变更详情", - activeMenu: "/major_hazard_sources/major_hazard_management", - }, - component: - "major_hazard_sources/major_hazard_management/change_view", - }, - ], - }, - ], - }, - { - path: "/major_hazard_sources/monitoring_type_management", - meta: { title: "监测类型管理", isSubMenu: false }, - component: "major_hazard_sources/monitoring_type_management/index", - }, - { - path: "/major_hazard_sources/data_collection_threshold_setting", - meta: { title: "数据采集阈值设定", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: - "major_hazard_sources/data_collection_threshold_setting/index", - }, - { - path: "/major_hazard_sources/data_collection_threshold_setting/threshold_setting", - meta: { - title: "阈值设定", - activeMenu: - "/major_hazard_sources/data_collection_threshold_setting", - }, - component: - "major_hazard_sources/data_collection_threshold_setting/threshold_setting", - }, - { - path: "/major_hazard_sources/data_collection_threshold_setting/view", - meta: { - title: "查看", - activeMenu: - "/major_hazard_sources/data_collection_threshold_setting", - }, - component: - "major_hazard_sources/data_collection_threshold_setting/view", - }, - ], - }, - { - path: "/major_hazard_sources/real_time_data_monitoring", - meta: { title: "实时数据监测", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "major_hazard_sources/real_time_data_monitoring/index", - }, - { - path: "/major_hazard_sources/real_time_data_monitoring/view", - meta: { - title: "查看", - activeMenu: "/major_hazard_sources/real_time_data_monitoring", - }, - component: "children", - children: [ - { - path: "", - component: - "major_hazard_sources/real_time_data_monitoring/view", - }, - { - path: "/major_hazard_sources/real_time_data_monitoring/view/emergency_handling_record", - meta: { - title: "应急处理记录", - activeMenu: "/major_hazard_sources/real_time_data_monitoring", - }, - component: "children", - children: [ - { - path: "", - component: - "major_hazard_sources/real_time_data_monitoring/emergency_handling_record", - }, - { - path: "/major_hazard_sources/real_time_data_monitoring/view/emergency_handling_record/view", - meta: { - title: "查看", - activeMenu: - "/major_hazard_sources/real_time_data_monitoring", - }, - component: - "major_hazard_sources/real_time_data_monitoring/emergency_handling_record_view", - }, - ], - }, - ], - }, - ], - }, - ], - }, - { - path: "/three_institutional_libraries", - redirect: - "/three_institutional_libraries/safety_production_responsibility_system", - meta: { title: "三项制度库", model: MODEL["5"] }, - component: "children", - children: [ - { - path: "/three_institutional_libraries/safety_production_responsibility_system", - meta: { title: "安全生产责任制", isSubMenu: false }, - component: - "three_institutional_libraries/safety_production_responsibility_system/index", - }, - { - path: "/three_institutional_libraries/safety_production_management_system", - meta: { title: "安全生产管理制度", isSubMenu: false }, - component: - "three_institutional_libraries/safety_production_management_system/index", - }, - { - path: "/three_institutional_libraries/safety_operating_procedures", - meta: { title: "安全操作规程", isSubMenu: false }, - component: - "three_institutional_libraries/safety_operating_procedures/index", - }, - ], - }, - { - path: "/security_investment", - redirect: "/security_investment/plan", - meta: { title: "安全投入", model: MODEL["5"] }, - component: "children", - children: [ - { - path: "/security_investment/plan", - meta: { title: "安全投入计划", isSubMenu: false }, - component: "security_investment/plan/index", - }, - { - path: "/security_investment/plan_review", - meta: { title: "安全投入计划审核", isSubMenu: false }, - component: "security_investment/plan_review/index", - }, - { - path: "/security_investment/extraction_and_use", - meta: { title: "安全生产费用提取和使用管理", isSubMenu: false }, - component: "security_investment/extraction_and_use/index", - }, - ], - }, - { - path: "/learning_garden", - redirect: "/learning_garden/learning_garden", - meta: { title: "学习园地", model: MODEL["5"] }, - component: "children", - children: [ - { - path: "/learning_garden/learning_garden", - meta: { title: "学习园地", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "learning_garden/learning_garden/index", - }, - { - path: "/learning_garden/learning_garden/task_list", - meta: { - title: "任务列表", - activeMenu: "/learning_garden/learning_garden", - }, - component: "learning_garden/learning_garden/task_list", - }, - ], - }, - { - path: "/learning_garden/enterprise_video", - meta: { title: "企业视频", isSubMenu: false }, - component: "learning_garden/enterprise_video/index", - }, - { - path: "/learning_garden/regulatory_library", - meta: { title: "法规库", isSubMenu: false }, - component: "learning_garden/regulatory_library/index", - }, - ], - }, - { - path: "/training_record_management", - redirect: "/training_record_management/training_plan", - meta: { title: "培训记录管理", model: MODEL["5"] }, - component: "children", - children: [ - { - path: "/training_record_management/training_plan", - meta: { title: "培训计划", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "training_record_management/training_plan/index", - }, - { - path: "/training_record_management/training_plan/add", - meta: { - title: "新增", - activeMenu: "/training_record_management/training_plan", - }, - component: "training_record_management/training_plan/add", - }, - { - path: "/training_record_management/training_plan/edit", - meta: { - title: "修改", - activeMenu: "/training_record_management/training_plan", - }, - component: "training_record_management/training_plan/add", - }, - ], - }, - { - path: "/training_record_management/training_situation", - meta: { title: "培训情况", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "training_record_management/training_situation/index", - }, - { - path: "/training_record_management/training_situation/add", - meta: { - title: "新增", - activeMenu: "/training_record_management/training_situation", - }, - component: "training_record_management/training_situation/add", - }, - { - path: "/training_record_management/training_situation/edit", - meta: { - title: "修改", - activeMenu: "/training_record_management/training_situation", - }, - component: "training_record_management/training_situation/add", - }, - ], - }, - { - path: "/training_record_management/personnel_evidence_collection_situation", - meta: { title: "人员取证情况", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: - "training_record_management/personnel_evidence_collection_situation/index", - }, - { - path: "/training_record_management/personnel_evidence_collection_situation/add", - meta: { - title: "新增", - activeMenu: - "/training_record_management/personnel_evidence_collection_situation", - }, - component: - "training_record_management/personnel_evidence_collection_situation/add", - }, - { - path: "/training_record_management/personnel_evidence_collection_situation/edit", - meta: { - title: "修改", - activeMenu: - "/training_record_management/personnel_evidence_collection_situation", - }, - component: - "training_record_management/personnel_evidence_collection_situation/add", - }, - ], - }, - ], - }, - { - path: "/sms_management", - redirect: "/sms_management/sms_type_management", - meta: { title: "短信管理", model: MODEL["5"] }, - component: "children", - children: [ - { - path: "/sms_management/sms_type_management", - meta: { title: "短信类型管理", isSubMenu: false }, - component: "sms_management/sms_type_management/index", - }, - { - path: "/sms_management/sms_log_management", - meta: { title: "短信日志管理", isSubMenu: false }, - component: "sms_management/sms_log_management/index", - }, - ], - }, - { - path: "/emergency_resource_management", - redirect: "/emergency_resource_management/emergency_plan_management", - meta: { title: "应急资源管理", model: MODEL["5"] }, - component: "children", - children: [ - { - path: "/emergency_resource_management/emergency_plan_management", - meta: { title: "应急预案管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: - "emergency_resource_management/emergency_plan_management/index", - }, - { - path: "/emergency_resource_management/emergency_plan_management/view", - meta: { - title: "查看", - activeMenu: - "/emergency_resource_management/emergency_plan_management", - }, - component: - "emergency_resource_management/emergency_plan_management/view", - }, - { - path: "/emergency_resource_management/emergency_plan_management/add", - meta: { - title: "新增", - activeMenu: - "/emergency_resource_management/emergency_plan_management", - }, - component: - "emergency_resource_management/emergency_plan_management/add", - }, - { - path: "/emergency_resource_management/emergency_plan_management/edit", - meta: { - title: "修改", - activeMenu: - "/emergency_resource_management/emergency_plan_management", - }, - component: - "emergency_resource_management/emergency_plan_management/add", - }, - ], - }, - { - path: "/emergency_resource_management/emergency_drill_management", - meta: { title: "应急演练管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: - "emergency_resource_management/emergency_drill_management/index", - }, - { - path: "/emergency_resource_management/emergency_drill_management/add", - meta: { - title: "添加", - activeMenu: - "/emergency_resource_management/emergency_drill_management", - }, - component: - "emergency_resource_management/emergency_drill_management/add", - }, - { - path: "/emergency_resource_management/emergency_drill_management/edit", - meta: { - title: "修改", - activeMenu: - "/emergency_resource_management/emergency_drill_management", - }, - component: - "emergency_resource_management/emergency_drill_management/add", - }, - { - path: "/emergency_resource_management/emergency_drill_management/view", - meta: { - title: "查看", - activeMenu: - "/emergency_resource_management/emergency_drill_management", - }, - component: - "emergency_resource_management/emergency_drill_management/view", - }, - ], - }, - { - path: "/emergency_resource_management/emergency_equipment_management", - meta: { title: "应急装备管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: - "emergency_resource_management/emergency_equipment_management/index", - }, - { - path: "/emergency_resource_management/emergency_equipment_management/view", - meta: { - title: "查看", - activeMenu: - "/emergency_resource_management/emergency_equipment_management", - }, - component: - "emergency_resource_management/emergency_equipment_management/view", - }, - { - path: "/emergency_resource_management/emergency_equipment_management/add", - meta: { - title: "新增", - activeMenu: - "/emergency_resource_management/emergency_equipment_management", - }, - component: - "emergency_resource_management/emergency_equipment_management/add", - }, - { - path: "/emergency_resource_management/emergency_equipment_management/edit", - meta: { - title: "修改", - activeMenu: - "/emergency_resource_management/emergency_equipment_management", - }, - component: - "emergency_resource_management/emergency_equipment_management/add", - }, - ], - }, - { - path: "/emergency_resource_management/emergency_rescue_team_management", - meta: { title: "应急救援队伍管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: - "emergency_resource_management/emergency_rescue_team_management/index", - }, - { - path: "/emergency_resource_management/emergency_rescue_team_management/view", - meta: { - title: "查看", - activeMenu: - "/emergency_resource_management/emergency_rescue_team_management", - }, - component: - "emergency_resource_management/emergency_rescue_team_management/view", - }, - { - path: "/emergency_resource_management/emergency_rescue_team_management/add", - meta: { - title: "新增", - activeMenu: - "/emergency_resource_management/emergency_rescue_team_management", - }, - component: - "emergency_resource_management/emergency_rescue_team_management/add", - }, - { - path: "/emergency_resource_management/emergency_rescue_team_management/edit", - meta: { - title: "修改", - activeMenu: - "/emergency_resource_management/emergency_rescue_team_management", - }, - component: - "emergency_resource_management/emergency_rescue_team_management/add", - }, - ], - }, - ], - }, - { - path: "/equipment_facility_management", - redirect: "/equipment_facility_management/device_management", - meta: { title: "设备设施管理", model: MODEL["5"] }, - component: "children", - children: [ - { - path: "/equipment_facility_management/device_management", - meta: { title: "设备管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "equipment_facility_management/device_management/index", - }, - { - path: "/equipment_facility_management/device_management/view", - meta: { - title: "查看", - activeMenu: "/equipment_facility_management/device_management", - }, - component: "equipment_facility_management/device_management/view", - }, - { - path: "/equipment_facility_management/device_management/add", - meta: { - title: "新增", - activeMenu: "/equipment_facility_management/device_management", - }, - component: "equipment_facility_management/device_management/add", - }, - { - path: "/equipment_facility_management/device_management/edit", - meta: { - title: "修改", - activeMenu: "/equipment_facility_management/device_management", - }, - component: "equipment_facility_management/device_management/add", - }, - ], - }, - { - path: "/equipment_facility_management/safety_inspection", - meta: { title: "安全巡检", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "equipment_facility_management/safety_inspection/index", - }, - { - path: "/equipment_facility_management/safety_inspection/inspection_records", - meta: { - title: "巡检记录", - activeMenu: "/equipment_facility_management/safety_inspection", - }, - component: - "equipment_facility_management/safety_inspection/inspection_records", - }, - ], - }, - { - path: "/equipment_facility_management/equipment_change_record", - meta: { title: "设备变更记录", isSubMenu: false }, - component: - "equipment_facility_management/equipment_change_record/index", - }, - ], - }, - { - path: "/accident_management", - redirect: "/accident_management/accident_information", - meta: { title: "事故管理", model: MODEL["5"] }, - component: "children", - children: [ - { - path: "/accident_management/accident_information", - meta: { title: "事故信息", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "accident_management/accident_information/index", - }, - { - path: "/accident_management/accident_information/view", - meta: { - title: "查看", - activeMenu: "/accident_management/accident_information", - }, - component: "accident_management/accident_information/view", - }, - { - path: "/accident_management/accident_information/add", - meta: { - title: "新增", - activeMenu: "/accident_management/accident_information", - }, - component: "accident_management/accident_information/add", - }, - { - path: "/accident_management/accident_information/edit", - meta: { - title: "修改", - activeMenu: "/accident_management/accident_information", - }, - component: "accident_management/accident_information/add", - }, - ], - }, - ], - }, - { - path: "/occupational_health_management", - redirect: "/occupational_health_management/enterprises_occupational_health", - meta: { title: "职业健康管理", model: MODEL["5"] }, - component: "children", - children: [ - { - path: "/occupational_health_management/enterprises_occupational_health", - meta: { title: "企业职业健康", isSubMenu: false }, - component: - "occupational_health_management/enterprises_occupational_health/index", - }, - { - path: "/occupational_health_management/occupational_hazard_factors", - meta: { title: "职业病危害因素", isSubMenu: false }, - component: - "occupational_health_management/occupational_hazard_factors/index", - }, - { - path: "/occupational_health_management/occupational_health_training", - meta: { title: "职业健康培训", isSubMenu: false }, - component: - "occupational_health_management/occupational_health_training/index", - }, - { - path: "/occupational_health_management/occupational_health_records", - meta: { title: "职业卫生档案", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: - "occupational_health_management/occupational_health_records/index", - }, - { - path: "/occupational_health_management/occupational_health_records/add", - meta: { - title: "新增", - activeMenu: - "/occupational_health_management/occupational_health_records", - }, - component: - "occupational_health_management/occupational_health_records/add", - }, - { - path: "/occupational_health_management/occupational_health_records/edit", - meta: { - title: "修改", - activeMenu: - "/occupational_health_management/occupational_health_records", - }, - component: - "occupational_health_management/occupational_health_records/add", - }, - ], - }, - ], - }, - { - path: "/special_operations", - redirect: "/special_operations/personnel_management", - meta: { title: "特种作业", model: MODEL["5"] }, - component: "children", - children: [ - { - path: "/special_operations/personnel_management", - meta: { title: "特种作业人员管理", isSubMenu: false }, - component: "children", - children: [ - { - path: "", - component: "special_operations/personnel_management/index", - }, - { - path: "/special_operations/personnel_management/add", - meta: { - title: "新增", - activeMenu: "/special_operations/personnel_management", - }, - component: "special_operations/personnel_management/add", - }, - { - path: "/special_operations/personnel_management/edit", - meta: { - title: "修改", - activeMenu: "/special_operations/personnel_management", - }, - component: "special_operations/personnel_management/add", - }, - ], - }, - ], - }, -]; +// import { MODEL } from "@/assets/js/constant"; +// +// export default []