/** 应急管理 */
const emergencyManagementRoute = {
  id: 2000,
  parentId: -1,
  name: 'EmergencyManagement',
  path: '/emergency-management',
  component: 'MENU_LAYOUT',
  redirect: '',
  meta: {
    activeMenu: null,
    alwaysShow: false,
    frameSrc: '',
    hidden: false,
    icon: 'CameraOutlined',
    isFrame: 0,
    isRoot: false,
    noCache: false,
    query: '',
    title: '应急管理',
  },
  children: [
    {
      id: 2001,
      parentId: 2000,
      name: 'emergency-management-overview',
      path: 'overview',
      component: '/emergency/overview/PageOverview',
      redirect: '',
      meta: {
        activeMenu: null,
        alwaysShow: false,
        frameSrc: '',
        hidden: false,
        icon: 'OverviewIcon',
        isFrame: 0,
        isRoot: false,
        noCache: false,
        query: '',
        title: '总览',
      },
    },
    {
      id: 2002,
      parentId: 2000,
      name: 'emergency-management-organization',
      path: 'organization',
      component: '/emergency/organization/PageOrganization',
      redirect: '',
      meta: {
        activeMenu: null,
        alwaysShow: false,
        frameSrc: '',
        hidden: false,
        icon: 'EmergencyFrameworkIcon',
        isFrame: 0,
        isRoot: false,
        noCache: false,
        query: '',
        title: '应急架构体系',
      },
    },

    {
      id: 2004,
      parentId: 2000,
      name: 'emergency-supplies',
      path: 'emergency-supplies',
      component: '',
      redirect: '',
      meta: {
        activeMenu: null,
        alwaysShow: false,
        frameSrc: '',
        hidden: false,
        icon: 'EmergencySuppliesIcon',
        isFrame: 0,
        isRoot: false,
        noCache: false,
        query: '',
        title: '应急物资',
      },
      children: [
        {
          id: 200401,
          parentId: 2004,
          name: 'supply-request',
          path: 'supply-request',
          component: '/emergency/emergency-supplies/PageSupplyRequest',
          redirect: '',
          meta: {
            activeMenu: null,
            alwaysShow: false,
            frameSrc: '',
            hidden: false,
            icon: '',
            isFrame: 0,
            isRoot: false,
            noCache: false,
            query: '',
            title: '物资申领',
          },
        },
        {
          id: 200402,
          parentId: 2004,
          name: 'supply-request-detail',
          path: 'supply-request-detail/:id',
          component: '/emergency/emergency-supplies/PageSupplyRequestDetail',
          redirect: '',
          meta: {
            activeMenu: '/emergency-management/emergency-supplies/supply-request',
            alwaysShow: false,
            frameSrc: '',
            hidden: false,
            icon: '',
            isFrame: 0,
            isRoot: false,
            noCache: false,
            query: '',
            title: '物资申领详情',
          },
        },
        {
          id: 2005,
          parentId: 2004,
          name: 'emergency-list',
          path: 'emergency-list',
          component: '/emergency/emergency-supplies/PageEmergencyList',
          redirect: '',
          meta: {
            activeMenu: null,
            alwaysShow: false,
            frameSrc: '',
            hidden: false,
            icon: '',
            isFrame: 0,
            isRoot: false,
            noCache: false,
            query: '',
            title: '物资清单',
          },
        },
        {
          id: 2006,
          parentId: 2004,
          name: 'inventory-check',
          path: 'inventory-check',
          component: '/emergency/emergency-supplies/PageInventoryCheck',
          redirect: '',
          meta: {
            activeMenu: null,
            alwaysShow: false,
            frameSrc: '',
            hidden: false,
            icon: '',
            isFrame: 0,
            isRoot: false,
            noCache: false,
            query: '',
            title: '物资盘点',
          },
        },
        {
          id: 2007,
          parentId: 2004,
          name: 'emergency-list-info',
          path: 'emergency-list-info',
          component: '/emergency/emergency-supplies/PageEmergencyListInfo',
          redirect: '',
          meta: {
            activeMenu: '/emergency-management/emergency-supplies/emergency-list',
            alwaysShow: false,
            frameSrc: '',
            hidden: false,
            icon: '',
            isFrame: 0,
            isRoot: false,
            noCache: false,
            query: '',
            title: '物资清单详情',
          },
        },
        {
          id: 2008,
          parentId: 2004,
          name: 'emergency-list-detail',
          path: 'emergency-list-detail/:id',
          component: '/emergency/emergency-supplies/PageEmergencyDetail',
          redirect: '',
          meta: {
            activeMenu: '/emergency-management/emergency-supplies/emergency-list',
            alwaysShow: false,
            frameSrc: '',
            hidden: false,
            icon: '',
            isFrame: 0,
            isRoot: false,
            noCache: false,
            query: '',
            title: '物资清单详情',
          },
        },
      ],
    },
    {
      id: 2024,
      parentId: 2000,
      name: 'emergency-plan',
      path: 'emergency-plan',
      component: '',
      redirect: '',
      meta: {
        activeMenu: null,
        alwaysShow: false,
        frameSrc: '',
        hidden: false,
        icon: 'EmergencyPlanIcon',
        isFrame: 0,
        isRoot: false,
        noCache: false,
        query: '',
        title: '应急预案',
      },
      children: [
        {
          id: 202401,
          parentId: 2024,
          name: 'emergency-plan-management',
          path: 'emergency-plan-management',
          component: '/emergency/emergency-plan/PageManagement',
          redirect: '',
          meta: {
            activeMenu: null,
            alwaysShow: false,
            frameSrc: '',
            hidden: false,
            icon: '',
            isFrame: 0,
            isRoot: false,
            noCache: false,
            query: '',
            title: '预案管理',
          },
        },
        {
          id: 202402,
          parentId: 2024,
          name: 'plan-management-detail',
          path: 'plan-management-detail',
          component: '/emergency/emergency-plan/PageManagementDetail',
          redirect: '',
          meta: {
            activeMenu: '/emergency-management/emergency-plan/emergency-plan-management',
            alwaysShow: false,
            frameSrc: '',
            hidden: false,
            icon: '',
            isFrame: 0,
            isRoot: false,
            noCache: false,
            query: '',
            title: '预案管理详情',
          },
        },
        {
          id: 202403,
          parentId: 2024,
          name: 'emergency-plan-approval',
          path: 'emergency-plan-approval',
          component: '/emergency/emergency-plan/PageApproval',
          redirect: '',
          meta: {
            activeMenu: null,
            alwaysShow: false,
            frameSrc: '',
            hidden: false,
            icon: '',
            isFrame: 0,
            isRoot: false,
            noCache: false,
            query: '',
            title: '预案审批',
          },
        },
      ],
    },
    {
      id: 2009,
      parentId: 2000,
      name: 'emergency-drill',
      path: 'emergency-drill',
      component: '',
      redirect: '',
      meta: {
        activeMenu: null,
        alwaysShow: false,
        frameSrc: '',
        hidden: false,
        icon: 'EmergencyDrillIcon',
        isFrame: 0,
        isRoot: false,
        noCache: false,
        query: '',
        title: '应急演练',
      },
      children: [
        {
          id: 200901,
          parentId: 2009,
          component: '/emergency/emergency-drill/PageDrillPlanList',
          name: 'emergency-drill-plan',
          path: 'emergency-drill-plan',
          meta: {
            title: '演练计划',
          },
        },
        {
          id: 200902,
          parentId: 2009,
          component: '/emergency/emergency-drill/PageDrillPlanItem',
          name: 'emergency-drill-plan-item',
          path: 'emergency-drill-plan-item',
          meta: {
            activeMenu: '/emergency-management/emergency-drill/emergency-drill-plan',
            title: '编辑演练计划',
            hidden: true,
          },
        },
        {
          id: 200903,
          parentId: 2009,
          component: '/emergency/emergency-drill/PageDrillPlanView',
          name: 'emergency-drill-plan-view',
          path: 'emergency-drill-plan-view',
          meta: {
            activeMenu: '/emergency-management/emergency-drill/emergency-drill-plan',
            title: '演练计划详情',
            hidden: true,
          },
        },
        {
          id: 200904,
          parentId: 2009,
          component: '/emergency/emergency-drill/PageDrillSignList',
          name: 'emergency-drill-sign',
          path: 'emergency-drill-sign',
          meta: {
            // activeMenu: '/emergency-drill/emergency-drill-sign',
            title: '演练会签',
          },
        },
        {
          id: 200905,
          parentId: 2009,
          component: '/emergency/emergency-drill/PageDrillSignItem',
          name: 'emergency-drill-sign-item',
          path: 'emergency-drill-sign-item/:id',
          meta: {
            activeMenu: '/emergency-management/emergency-drill/emergency-drill-sign',
            title: '演练会签详情',
            hidden: true,
          },
        },
      ],
    },
    {
      id: 2010,
      parentId: 2000,
      name: 'emergency-procedure',
      path: 'emergency-procedure',
      component: '/emergency/emergency-procedure/PageProcedure',
      redirect: '',
      meta: {
        activeMenu: null,
        alwaysShow: false,
        frameSrc: '',
        hidden: false,
        icon: 'EmergencyResponseIcon',
        isFrame: 0,
        isRoot: false,
        noCache: false,
        query: '',
        title: '应急处置',
      },
    },
    {
      id: 2011,
      parentId: 2000,
      name: 'emergency-procedure-complete',
      path: 'emergency-procedure-complete/:id',
      component: '/emergency/emergency-procedure/PageProcedureComplete',
      redirect: '',
      meta: {
        activeMenu: '/emergency-management/emergency-procedure',
        alwaysShow: false,
        frameSrc: '',
        hidden: false,
        icon: '',
        isFrame: 0,
        isRoot: false,
        noCache: false,
        query: '',
        title: '应急处置完成',
      },
    },
    {
      id: 2012,
      parentId: 2000,
      name: 'emergency-procedure-report',
      path: 'emergency-procedure-report/:id',
      component: '/emergency/emergency-procedure/PageProcedureReport',
      redirect: '',
      meta: {
        activeMenu: '/emergency-management/emergency-procedure',
        alwaysShow: false,
        frameSrc: '',
        hidden: false,
        icon: '',
        isFrame: 0,
        isRoot: false,
        noCache: false,
        query: '',
        title: '应急处置报表',
      },
    },
    {
      id: 2013,
      parentId: 2000,
      name: 'team-management',
      path: 'team-management',
      component: '/emergency/organization/team-management/PageTeamManagement',
      redirect: '',
      meta: {
        activeMenu: '/emergency/organization/PageOrganization',
        alwaysShow: false,
        frameSrc: '',
        hidden: false,
        icon: '',
        isFrame: 0,
        isRoot: false,
        noCache: false,
        query: '',
        title: '队伍管理',
      },
    },
  ],
};

export default emergencyManagementRoute;
