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/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: "/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/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/add",
            meta: {
              title: "新增",
              activeMenu: "/hazard_investigation/inventory_management",
            },
            component: "hazard_investigation/inventory_management/add",
          },
          {
            path: "/hazard_investigation/inventory_management/edit",
            meta: {
              title: "修改",
              activeMenu: "/hazard_investigation/inventory_management",
            },
            component: "hazard_investigation/inventory_management/add",
          },
          {
            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/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/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: "/off_duty_management",
    redirect: "/off_duty_management/leave",
    meta: { title: "离岗管理", model: MODEL["1"] },
    component: "children",
    children: [
      {
        path: "/off_duty_management/leave",
        meta: { title: "离岗管理", isSubMenu: false },
        component: "off_duty_management/leave/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: "/archives",
    redirect: "/archives/user",
    meta: { title: "档案管理", model: MODEL["2"] },
    component: "children",
    children: [
      {
        path: "/archives/user",
        meta: { title: "一人一档", isSubMenu: false },
        component: "children",
        children: [
          {
            path: "",
            component: "archives/user/index",
          },
          {
            path: "/archives/user/task_list",
            meta: {
              title: "任务详情",
              activeMenu: "/archives/user",
            },
            component: "archives/user/task_list",
          },
          {
            path: "/archives/user/detail",
            meta: {
              title: "任务详情",
              activeMenu: "/archives/user",
            },
            component: "archives/user/detail",
          },
        ],
      },
      {
        path: "/archives/semester",
        meta: { title: "一期一档", isSubMenu: false },
        component: "children",
        children: [
          {
            path: "",
            component: "archives/semester/index",
          },
          {
            path: "/archives/semester/catalogue",
            meta: {
              title: "档案目录",
              activeMenu: "/archives/semester",
            },
            component: "archives/corp/catalogue",
          },
        ],
      },
      {
        path: "/archives/corp",
        meta: { title: "一企一档", isSubMenu: false },
        component: "archives/corp/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/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/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: "/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/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/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/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/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/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",
          },
        ],
      },
    ],
  },
];
