/**
 * 菜单配置
 */
export const menu_list = [
  {
    key: 'maintenance',
    name: '运维模块',
    children: [
      {
        key: 'changebatteries',
        name: '换电',
        type: 'page',
        path: '/pages-sub/changebatteries/changebatteries',
        customsrc: 'APPICON_HUANDIAN_IMAGE',
      },
      {
        key: 'dispatch',
        name: '调度',
        type: 'page',
        path: '/pages-sub/warehouse/dispatch/dispatch',
        customsrc: 'APPICON_DIAODU_IMAGE',
      },
      {
        key: 'picking',
        name: '领电池',
        type: 'page',
        path: `/pages-sub/warehouse/materialRequisition/materialRequisition?type=1`,
        customsrc: 'APPICON_LINGDNANCHI_IMAGE',
      },
      {
        key: 'feedstock',
        name: '还电池',
        type: 'page',
        path: `/pages-sub/warehouse/materialRequisition/materialRequisition?type=2`,
        customsrc: 'APPICON_HUANDIANCHI_IMAGE',
      },
      {
        key: 'faultreport',
        name: '故障上报',
        type: 'page',
        path: '/pages-sub/warehouse/faultReporting/faultReporting',
        customsrc: 'APPICON_GUZHANGSHANGBAO_IMAGE',
      },
      {
        key: 'bluetoothscan',
        name: '蓝牙扫码',
        type: 'page',
        path: '/pages-sub/bluetooth/bluetoothscan/bluetoothscan',
        customsrc: 'APPICON_LANYALIANJIE_IMAGE',
      },
      {
        key: 'bikesite',
        name: '站点管理',
        type: 'page',
        path: '/pages-sub/map/siteManagement/siteList',
        customsrc: 'APPICON_ZHANDIANGUANLI_IMAGE',
      },
      {
        key: 'createOrder',
        name: '生成工单',
        type: 'select',
        customsrc: 'APPICON_CHUANGJIANGONGDAN_IMAGE',
        selectList: [
          {
            name: '换电工单',
            orderType: 2,
            path: '/pages-sub/warehouse/createWorkOrder/changeBattery/changeBattery',
            disabled: false,
          },
          {
            name: '调度工单',
            orderType: 3,
            path: '/pages-sub/warehouse/createWorkOrder/dispatch/dispatch',
            disabled: false,
          },
          {
            name: '维修工单',
            orderType: 4,
            path: '/pages-sub/warehouse/faultReporting/faultReporting',
            disabled: false,
          },
        ],
      },
      {
        key: 'orderManagement',
        name: '工单管理',
        type: 'page',
        path: '/pages-sub/order-manage/index',
        customsrc: 'APPICON_ZHANDIANGUANLI_IMAGE',
      },
    ],
  },
  {
    key: 'warehouse',
    name: '仓库模块',
    children: [
      {
        key: 'ebikehouse',
        name: '车辆仓库',
        type: 'page',
        path: '/pages-sub/warehouse/vehicleWarehouse/vehicleWarehouse',
        customsrc: 'APPICON_CHELIANGCANGKU_IMAGE',
      },
      {
        key: 'wholebind',
        name: '整车绑定',
        type: 'page',
        path: '/pages-sub/warehouse/wholebind/wholebind',
        customsrc: 'APPICON_ZHENGCHEBANGDING_IMAGE',
      },
      {
        key: 'detectionecu',
        name: '测试中控',
        type: 'page',
        path: '/pages-sub/centerControl/testControl/testControl',
        customsrc: 'APPICON_CHESHIZHONGKONG_IMAGE',
      },
      {
        key: 'replaceControl',
        name: '更换中控',
        type: 'page',
        path: '/pages-sub/centerControl/replaceControl/replaceControl',
        customsrc: 'APPICON_GENGHUANZHONGKONG_IMAGE',
      },
      {
        key: 'outlist',
        name: '部件管理',
        type: 'page',
        path: '/pages-sub/warehouse/partsManagement/list/list',
        customsrc: 'APPICON_BUJIANGUANLI_IMAGE',
      },
      {
        key: 'centralControlList',
        name: '中控管理',
        type: 'page',
        path: '/pages-sub/warehouse/centralControManagment/list/list',
        customsrc: 'APPICON_ZHONGKONGGUANLI_IMAGE',
      },
    ],
  },
  {
    key: 'operate',
    name: '运营模块',
    children: [
      {
        key: 'vehicleoperation',
        name: '运营车辆',
        type: 'page',
        path: '/pages-sub/operation/carOperation/carOperation',
        customsrc: 'APPICON_CHELIANGYUNYING_IMAGE',
      },
    ],
  },
  {
    key: 'management',
    name: '管理模块',
    children: [
      {
        key: 'operatingStatistics',
        name: '经营统计',
        type: 'page',
        path: '/pages-sub/management/operatingStatistics/operatingStatistics',
        customsrc: 'APPICON_JINGYINGTONGJI_IMAGE',
      },
    ],
  },
]
