import Vue from 'vue'
import Router from 'vue-router'

import routerBefore from '@/config/routerBefore.js'

// 主要
import main from '@/components/main.vue'
// 系统配置管理
import addHandlingFee from '../components/bmsport/addHandlingFee.vue'
import handlingFee from '../components/bmsport/handlingFee.vue'
import updateHandlingFee from '../components/bmsport/updateHandlingFee.vue'

import detailsOrder from '../components/bmsship/detailsOrder.vue'
import detailsStatement from '../components/bmsship/detailsStatement.vue'
import lossDetailsStatement from '../components/bmsship/lossDetailsStatement.vue'
import shipBillingFormula from '../components/bmsship/shipBillingFormula.vue'
import bmsshipResult from '../components/bmsship/bmsshipResult.vue'
import statementDetailsOrderShip from '../components/bmsship/statementDetailsOrderShip.vue'
import bmsstatementDetailsOrder from '../components/bmsship/bmsstatementDetailsOrder.vue'
import toBeStatement from '../components/bmsship/toBeStatement.vue'
import uncomplateDetails from '../components/bmsship/uncomplateDetails.vue'
import uncomplateWater from '../components/bmsship/uncomplateWater.vue'

import addTrainDetails from '../components/bmstrain/addTrainDetails.vue'
import detailsTrainOrder from '../components/bmstrain/detailsTrainOrder.vue'
import detailsTrainStatement from '../components/bmstrain/detailsTrainStatement.vue'
import statementDetailsOrder from '../components/bmstrain/statementDetailsOrder.vue'
import trainResult from '../components/bmstrain/trainResult.vue'
import uncomplateTrainDetails from '../components/bmstrain/uncomplateTrainDetails.vue'

import detailsTruckOrder from '../components/bmstruck/detailsTruckOrder.vue'
import truckResult from '../components/bmstruck/truckResult.vue'

import approveWagonPlease from '../components/domesticMine/approveWagonPlease.vue'
import approveWagonPleaseAdd from '../components/domesticMine/approveWagonPleaseAdd.vue'
import approveWagonPleaseEdit from '../components/domesticMine/approveWagonPleaseEdit.vue'
// entrust存在重复
import entrustMine from '../components/domesticMine/entrustMine.vue'
// wagonLoad存在重复
import wagonLoadMine from '../components/domesticMine/wagonLoadMine.vue'
import wagonLoadAdd from '../components/domesticMine/wagonLoadAdd.vue'
import wagonLoadbu from '../components/domesticMine/wagonLoadbu.vue'
import wagonLoadEdit from '../components/domesticMine/wagonLoadEdit.vue'
//wagonPlease存在重复
import wagonPleaseMine from '../components/domesticMine/wagonPleaseMine.vue'
import wagonPleaseAdd from '../components/domesticMine/wagonPleaseAdd.vue'
import wagonPleaseEdit from '../components/domesticMine/wagonPleaseEdit.vue'
// wagonUnLoad存在重复
import wagonUnLoadMine from '../components/domesticMine/wagonUnLoadMine.vue'
import wagonUnLoadAdd from '../components/domesticMine/wagonUnLoadAdd.vue'
import wagonUnLoadEdit from '../components/domesticMine/wagonUnLoadEdit.vue'

//import index from '../components/download/index.vue'
//addWagonLoad存在重复
import addWagonLoadEmergency from '../components/importedEmergency/addWagonLoadEmergency.vue'
//addWagonUnLoad存在重复
import addWagonUnLoadEmergency from '../components/importedEmergency/addWagonUnLoadEmergency.vue'
//editWagonLoad存在重复
import editWagonLoadEmergency from '../components/importedEmergency/editWagonLoadEmergency.vue'
//editWagonUnLoad存在重复
import editWagonUnLoadEmergency from '../components/importedEmergency/editWagonUnLoadEmergency.vue'
//entrust存在重复
import entrustEmergency from '../components/importedEmergency/entrustEmergency.vue'
import trainDetails from '../components/importedEmergency/trainDetails.vue'
//wagonLoad存在重复
import wagonLoadEmergency from '../components/importedEmergency/wagonLoadEmergency.vue'
//wagonUnLoad存在重复
import wagonUnLoadEmergency from '../components/importedEmergency/wagonUnLoadEmergency.vue'

import transportReserveFuAdd from '../components/importedFuel/transportReserveFuAdd.vue'
import transportReserveRan from '../components/importedFuel/transportReserveRan.vue'
import transportReserveRanAdd from '../components/importedFuel/transportReserveRanAdd.vue'
import transportReserveRanEdit from '../components/importedFuel/transportReserveRanEdit.vue'
import truckDriverReceiveRan from '../components/importedFuel/truckDriverReceiveRan.vue'
import truckEnfactoryRanLaoResult from '../components/importedFuel/truckEnfactoryRanLaoResult.vue'
import truckEnfactoryRanXingResult from '../components/importedFuel/truckEnfactoryRanXingResult.vue'
import truckJiMaoRanLaoResult from '../components/importedFuel/truckJiMaoRanLaoResult.vue'
import truckJiMaoRanXingResult from '../components/importedFuel/truckJiMaoRanXingResult.vue'
import truckJiPiRanLaoResult from '../components/importedFuel/truckJiPiRanLaoResult.vue'
import truckJiPiRanXingResult from '../components/importedFuel/truckJiPiRanXingResult.vue'
import truckLeaveFactoryRanLaoResult from '../components/importedFuel/truckLeaveFactoryRanLaoResult.vue'
import truckLeaveFactoryRanXingResult from '../components/importedFuel/truckLeaveFactoryRanXingResult.vue'
import truckQualityRanLaoResult from '../components/importedFuel/truckQualityRanLaoResult.vue'
import truckQualityRanLaoResultEdit from '../components/importedFuel/truckQualityRanLaoResultEdit.vue'
import truckQualityRanXingResult from '../components/importedFuel/truckQualityRanXingResult.vue'
import truckQualityRanXingResultEdit from '../components/importedFuel/truckQualityRanXingResultEdit.vue'
import truckReceiptRanLaoResult from '../components/importedFuel/truckReceiptRanLaoResult.vue'
import truckReceiptRanXingResult from '../components/importedFuel/truckReceiptRanXingResult.vue'
import truckUnloadRanLaoResult from '../components/importedFuel/truckUnloadRanLaoResult.vue'
import truckUnloadRanXingResult from '../components/importedFuel/truckUnloadRanXingResult.vue'

import transportReserveFu from '../components/importedIngredients/transportReserveFu.vue'
// transportReserveFuAdd重复使用
import transportReserveFuAddIngredients from '../components/importedIngredients/transportReserveFuAddIngredients.vue'
import transportReserveFuEdit from '../components/importedIngredients/transportReserveFuEdit.vue'
import truckDriverReceiveFu from '../components/importedIngredients/truckDriverReceiveFu.vue'
import truckEnfactoryFuResult from '../components/importedIngredients/truckEnfactoryFuResult.vue'
import truckJiMaoFuResult from '../components/importedIngredients/truckJiMaoFuResult.vue'
import truckJiPiFuResult from '../components/importedIngredients/truckJiPiFuResult.vue'
import truckLeaveFactoryFuResult from '../components/importedIngredients/truckLeaveFactoryFuResult.vue'
import truckQualityFuResult from '../components/importedIngredients/truckQualityFuResult.vue'
import truckQualityFuResultEdit from '../components/importedIngredients/truckQualityFuResultEdit.vue'
import truckReceiptFuResult from '../components/importedIngredients/truckReceiptFuResult.vue'
import truckReturnResult from '../components/importedIngredients/truckReturnResult.vue'
import truckUnloadFuResult from '../components/importedIngredients/truckUnloadFuResult.vue'



import addApproveWagonPlease from '../components/importedMine/addApproveWagonPlease.vue'
import addWagonLoad from '../components/importedMine/addWagonLoad.vue'
import addWagonPlease from '../components/importedMine/addWagonPlease.vue'
import addWagonUnLoad from '../components/importedMine/addWagonUnLoad.vue'
import editApproveWagonPlease from '../components/importedMine/editApproveWagonPlease.vue'
import editWagonLoad from '../components/importedMine/editWagonLoad.vue'
import editWagonPlease from '../components/importedMine/editWagonPlease.vue'
import editWagonUnLoad from '../components/importedMine/editWagonUnLoad.vue'
import entrust from '../components/importedMine/entrust.vue'
import wagonApprove from '../components/importedMine/wagonApprove.vue'
import wagonLoad from '../components/importedMine/wagonLoad.vue'
import wagonPlease from '../components/importedMine/wagonPlease.vue'
import wagonUnLoad from '../components//importedMine/wagonUnLoad.vue'

import addBargeShip from '../components/importedShip/addBargeShip.vue'
import addLoadShip from '../components/importedShip/addLoadShip.vue'
import addShipLocation from '../components/importedShip/addShipLocation.vue'
import addShipmentInstructions from '../components/importedShip/addShipmentInstructions.vue'
import addUnloadShip from '../components/importedShip/addUnloadShip.vue'
import addWaterQuality from '../components/importedShip/addWaterQuality.vue'
import bargeShip from '../components/importedShip/bargeShip.vue'
import instructionsCapacity from '../components/importedShip/instructionsCapacity.vue'
import loadShip from '../components/importedShip/loadShip.vue'
import shipLocation from '../components/importedShip/shipLocation.vue'
import shipmentInstructions from '../components/importedShip/shipmentInstructions.vue'
import shipResult from '../components/importedShip/shipResult.vue'
import unloadShip from '../components/importedShip/unloadShip.vue'
import updateBargeShip from '../components/importedShip/updateBargeShip.vue'
import updateInstructionsCapacity from '../components/importedShip/updateInstructionsCapacity.vue'
import updateShipLocation from '../components/importedShip/updateShipLocation'
import updateShipmentInstructions from '../components/importedShip/updateShipmentInstructions'
import updateUnloadShip from '../components/importedShip/updateUnloadShip.vue'
import updateWaterQuality from '../components/importedShip/updateWaterQuality.vue'
import waterQuality from '../components/importedShip/waterQuality.vue'

import assignmentPlan from '../components/importedTruck/assignmentPlan.vue'
import breakdownPlan from '../components/importedTruck/breakdownPlan.vue'
import breakdownPlanAdd from '../components/importedTruck/breakdownPlanAdd.vue'
import breakdownPlanCheck from '../components/importedTruck/breakdownPlanCheck.vue'
import breakdownPlanEdit from '../components/importedTruck/breakdownPlanEdit.vue'
import submitWaybill from '../components/importedTruck/submitWaybill.vue'
import transportReserve from '../components/importedTruck/transportReserve.vue'
import transportReserveAdd from '../components/importedTruck/transportReserveAdd.vue'
import transportReserveEdit from '../components/importedTruck/transportReserveEdit.vue'
import truckDriverReceive from '../components/importedTruck/truckDriverReceive.vue'
import truckEnfactoryResult from '../components/importedTruck/truckEnfactoryResult.vue'
import truckJiMaoResult from '../components/importedTruck/truckJiMaoResult.vue'
import truckJiPiResult from '../components/importedTruck/truckJiPiResult.vue'
import truckLeaveFactoryResult from '../components/importedTruck/truckLeaveFactoryResult.vue'
import truckLoadResult from '../components/importedTruck/truckLoadResult.vue'
import truckLoadResultAdd from '../components/importedTruck/truckLoadResultAdd.vue'
import truckLoadResultEdit from '../components/importedTruck/truckLoadResultEdit.vue'
import truckQualityResult from '../components/importedTruck/truckQualityResult.vue'
import truckQualityResultEdit from '../components/importedTruck/truckQualityResultEdit.vue'
import truckReceiptResult from '../components/importedTruck/truckReceiptResult.vue'
import truckUnloadResult from '../components/importedTruck/truckUnloadResult.vue'

import addBreach from '../components/purchase/addBreach.vue'
import addOtherPrice from '../components/purchase/addOtherPrice.vue'
import addShipPrice from '../components/purchase/addShipPrice.vue'
import addTrainPrice from '../components/purchase/addTrainPrice.vue'
import addTruckPrice from '../components/purchase/addTruckPrice.vue'
import breach from '../components/purchase/breach.vue'
import otherPrice from '../components/purchase/otherPrice.vue'
import purchaseOrder from '../components/purchase/purchaseOrder.vue'
import shipPrice from '../components/purchase/shipPrice.vue'
import trainPrice from '../components/purchase/trainPrice.vue'
import truckPrice from '../components/purchase/truckPrice.vue'
import updateBreach from '../components/purchase/updateBreach.vue'
import updateOtherPrice from '../components/purchase/updateOtherPrice.vue'
import updateShipPrice from '../components/purchase/updateShipPrice.vue'
import updateTrainPrice from '../components/purchase/updateTrainPrice.vue'
import updateTruckPrice from '../components/purchase/updateTruckPrice.vue'

import transportationReservation from '../components/purchaseChemicalMaterials/transportationReservation.vue'
import transportationReservationAdd from '../components/purchaseChemicalMaterials/transportationReservationAdd.vue'
import transportationReservationEDIT from '../components/purchaseChemicalMaterials/transportationReservationEDIT.vue'
import transportationDispatch from '../components/purchaseChemicalMaterials/transportationDispatch.vue'
import dischargeCargoNew from '../components/purchaseChemicalMaterials/purchaseChemicalMaterialsNEW/dischargeCargoNew.vue'
import enterFactoryNew from '../components/purchaseChemicalMaterials/purchaseChemicalMaterialsNEW/enterFactoryNew.vue'
import exFactoryNew from '../components/purchaseChemicalMaterials/purchaseChemicalMaterialsNEW/exFactoryNew.vue'
import qualityTestingNew from '../components/purchaseChemicalMaterials/purchaseChemicalMaterialsNEW/qualityTestingNew.vue'
import receivingNew from '../components/purchaseChemicalMaterials/purchaseChemicalMaterialsNEW/receivingNew.vue'
import skinCountingNew from '../components/purchaseChemicalMaterials/purchaseChemicalMaterialsNEW/skinCountingNew.vue'
import woolCountingNew from '../components/purchaseChemicalMaterials/purchaseChemicalMaterialsNEW/woolCountingNew.vue'



Vue.use(Router)

const constantRouterMap = [
  {
    path: '/',
    name: 'main',
    meta: {title: '首页', code: 'xtpzgl'},
    component: main,
    redirect: {name: 'addApproveWagonPlease'},
    children: [
      {path: 'dischargeCargoNew', name: 'dischargeCargoNew', meta: {code: 'xtpzgl-jggl'}, component: dischargeCargoNew},
      {path: 'enterFactoryNew', name: 'enterFactoryNew', meta: {code: 'xtpzgl-jggl'}, component: enterFactoryNew},
      {path: 'exFactoryNew', name: 'exFactoryNew', meta: {code: 'xtpzgl-jggl'}, component: exFactoryNew},
      {path: 'qualityTestingNew', name: 'qualityTestingNew', meta: {code: 'xtpzgl-jggl'}, component: qualityTestingNew},
      {path: 'receivingNew', name: 'receivingNew', meta: {code: 'xtpzgl-jggl'}, component: receivingNew},
      {path: 'skinCountingNew', name: 'skinCountingNew', meta: {code: 'xtpzgl-jggl'}, component: skinCountingNew},
      {path: 'woolCountingNew', name: 'woolCountingNew', meta: {code: 'xtpzgl-jggl'}, component: woolCountingNew},
      {path: 'addHandlingFee', name: 'addHandlingFee', meta: {code: 'xtpzgl-jggl'}, component: addHandlingFee},
      {path: 'handlingFee', name: 'handlingFee', meta: {code: 'xtpzgl-yhgl'}, component: handlingFee},
      {path: 'updateHandlingFee/:feeId', name: 'updateHandlingFee', meta: {code: 'xtpzgl-yhgl'}, component: updateHandlingFee},
      
      {path: 'detailsOrder', name: 'detailsOrder', meta: {code: 'xtpzgl-yhgl'}, component: detailsOrder},
      {path: 'detailsStatement', name: 'detailsStatement', meta: {code: 'xtpzgl-yhgl'}, component: detailsStatement},
      {path: 'lossDetailsStatement', name: 'lossDetailsStatement', meta: {code: 'xtpzgl-yhgl'}, component: lossDetailsStatement},
      {path: 'shipBillingFormula', name: 'shipBillingFormula', meta: {code: 'xtpzgl-yhgl'}, component: shipBillingFormula},
      {path: 'bmsstatementDetailsOrder/:batchId', name: 'bmsstatementDetailsOrder', meta: {code: 'xtpzgl-yhgl'}, component: bmsstatementDetailsOrder},
      {path: 'bmsshipResult', name: 'bmsshipResult', meta: {code: 'xtpzgl-yhgl'}, component: bmsshipResult},
      {path: 'toBeStatement', name: 'toBeStatement', meta: {code: 'xtpzgl-yhgl'}, component: toBeStatement},
      {path: 'uncomplateDetails', name: 'uncomplateDetails', meta: {code: 'xtpzgl-yhgl'}, component: uncomplateDetails},
      {path: 'uncomplateWater', name: 'uncomplateWater', meta: {code: 'xtpzgl-yhgl'}, component: uncomplateWater},
      {path: 'statementDetailsOrderShip/:batchId', name: 'statementDetailsOrderShip', meta: {code: 'xtpzgl-yhgl'}, component: statementDetailsOrderShip},

      {path: 'addTrainDetails', name: 'addTrainDetails', meta: {code: 'xtpzgl-yhgl'}, component: addTrainDetails},
      {path: 'detailsTrainStatement', name: 'detailsTrainStatement', meta: {code: 'xtpzgl-yhgl'}, component: detailsTrainStatement},
      {path: 'detailsTrainOrder', name: 'detailsTrainOrder', meta: {code: 'xtpzgl-yhgl'}, component: detailsTrainOrder},
      {path: 'statementDetailsOrder/:batchId', name: 'statementDetailsOrder', meta: {code: 'xtpzgl-yhgl'}, component: statementDetailsOrder},
      {path: 'trainResult', name: 'trainResult', meta: {code: 'xtpzgl-yhgl'}, component: trainResult},
      {path: 'uncomplateTrainDetails', name: 'uncomplateTrainDetails', meta: {code: 'xtpzgl-yhgl'}, component: uncomplateTrainDetails},
      
      {path: 'detailsTruckOrder', name: 'detailsTruckOrder', meta: {code: 'xtpzgl-yhgl'}, component: detailsTruckOrder},
      {path: 'truckResult', name: 'truckResult', meta: {code: 'xtpzgl-yhgl'}, component: truckResult},

      {path: 'approveWagonPlease', name: 'approveWagonPlease', meta: {code: 'xtpzgl-yhgl'}, component: approveWagonPlease},
      {path: 'approveWagonPleaseAdd', name: 'approveWagonPleaseAdd', meta: {code: 'xtpzgl-yhgl'}, component: approveWagonPleaseAdd},
      {path: 'approveWagonPleaseEdit/:resultId', name: 'approveWagonPleaseEdit', meta: {code: 'xtpzgl-yhgl'}, component: approveWagonPleaseEdit},
      {path: 'entrustMine', name: 'entrustMine', meta: {code: 'xtpzgl-yhgl'}, component: entrustMine},
      {path: 'wagonLoadMine', name: 'wagonLoadMine', meta: {code: 'xtpzgl-yhgl'}, component: wagonLoadMine},
      {path: 'wagonLoadbu', name: 'wagonLoadbu', meta: {code: 'xtpzgl-yhgl'}, component: wagonLoadbu},
      {path: 'wagonLoadAdd', name: 'wagonLoadAdd', meta: {code: 'xtpzgl-yhgl'}, component: wagonLoadAdd},
      {path: 'wagonLoadEdit', name: 'wagonLoadEdit', meta: {code: 'xtpzgl-yhgl'}, component: wagonLoadEdit},
      {path: 'wagonPleaseMine', name: 'wagonPleaseMine', meta: {code: 'xtpzgl-yhgl'}, component: wagonPleaseMine},
      {path: 'wagonPleaseAdd', name: 'wagonPleaseAdd', meta: {code: 'xtpzgl-yhgl'}, component: wagonPleaseAdd},
      {path: 'wagonPleaseEdit/:resultId', name: 'wagonPleaseEdit', meta: {code: 'xtpzgl-yhgl'}, component: wagonPleaseEdit},
      {path: 'wagonUnLoadAdd', name: 'wagonUnLoadAdd', meta: {code: 'xtpzgl-yhgl'}, component: wagonUnLoadAdd},
      {path: 'wagonUnLoadMine', name: 'wagonUnLoadMine', meta: {code: 'xtpzgl-yhgl'}, component: wagonUnLoadMine},
      {path: 'wagonUnLoadEdit/:unloadingId', name: 'wagonUnLoadEdit', meta: {code: 'xtpzgl-yhgl'}, component: wagonUnLoadEdit},
    //  {path: 'index', name: 'index', meta: {code: 'xtpzgl-yhgl'}, component: index},

      {path: 'addWagonLoadEmergency', name: 'addWagonLoadEmergency', meta: {code: 'xtpzgl-yhgl'}, component: addWagonLoadEmergency},
      {path: 'addWagonUnLoadEmergency', name: 'addWagonUnLoadEmergency', meta: {code: 'xtpzgl-yhgl'}, component: addWagonUnLoadEmergency},
      {path: 'editWagonUnLoadEmergency', name: 'editWagonUnLoadEmergency', meta: {code: 'xtpzgl-yhgl'}, component: editWagonUnLoadEmergency},
      {path: 'editWagonLoadEmergency/:unloadingId', name: 'editWagonLoadEmergency', meta: {code: 'xtpzgl-yhgl'}, component: editWagonLoadEmergency},
      {path: 'entrustEmergency', name: 'entrustEmergency', meta: {code: 'xtpzgl-yhgl'}, component: entrustEmergency},
      {path: 'trainDetails', name: 'trainDetails', meta: {code: 'xtpzgl-yhgl'}, component: trainDetails},
      {path: 'wagonLoadEmergency', name: 'wagonLoadEmergency', meta: {code: 'xtpzgl-yhgl'}, component: wagonLoadEmergency},
      {path: 'wagonUnLoadEmergency', name: 'wagonUnLoadEmergency', meta: {code: 'xtpzgl-yhgl'}, component: wagonUnLoadEmergency},

      {path: 'transportReserveFuAdd', name: 'transportReserveFuAdd', meta: {code: 'xtpzgl-yhgl'}, component: transportReserveFuAdd},
      {path: 'transportReserveRan', name: 'transportReserveRan', meta: {code: 'xtpzgl-yhgl'}, component: transportReserveRan},
      {path: 'transportReserveRanEdit/:orderId', name: 'transportReserveRanEdit', meta: {code: 'xtpzgl-yhgl'}, component: transportReserveRanEdit},
      {path: 'transportReserveRanAdd', name: 'transportReserveRanAdd', meta: {code: 'xtpzgl-yhgl'}, component: transportReserveRanAdd},
      {path: 'truckDriverReceiveRan', name: 'truckDriverReceiveRan', meta: {code: 'xtpzgl-yhgl'}, component: truckDriverReceiveRan},
      {path: 'truckEnfactoryRanLaoResult', name: 'truckEnfactoryRanLaoResult', meta: {code: 'xtpzgl-yhgl'}, component: truckEnfactoryRanLaoResult},
      {path: 'truckEnfactoryRanXingResult', name: 'truckEnfactoryRanXingResult', meta: {code: 'xtpzgl-yhgl'}, component: truckEnfactoryRanXingResult},
      {path: 'truckJiMaoRanLaoResult', name: 'truckJiMaoRanLaoResult', meta: {code: 'xtpzgl-yhgl'}, component: truckJiMaoRanLaoResult},
      {path: 'truckJiPiRanLaoResult', name: 'truckJiPiRanLaoResult', meta: {code: 'xtpzgl-yhgl'}, component: truckJiPiRanLaoResult},
      {path: 'truckJiMaoRanXingResult', name: 'truckJiMaoRanXingResult', meta: {code: 'xtpzgl-yhgl'}, component: truckJiMaoRanXingResult},
      {path: 'truckJiPiRanXingResult', name: 'truckJiPiRanXingResult', meta: {code: 'xtpzgl-yhgl'}, component: truckJiPiRanXingResult},
      {path: 'truckLeaveFactoryRanLaoResult', name: 'truckLeaveFactoryRanLaoResult', meta: {code: 'xtpzgl-yhgl'}, component: truckLeaveFactoryRanLaoResult},
      {path: 'truckLeaveFactoryRanXingResult', name: 'truckLeaveFactoryRanXingResult', meta: {code: 'xtpzgl-yhgl'}, component: truckLeaveFactoryRanXingResult},
      {path: 'truckQualityRanLaoResult', name: 'truckQualityRanLaoResult', meta: {code: 'xtpzgl-yhgl'}, component: truckQualityRanLaoResult},
      {path: 'truckQualityRanXingResult', name: 'truckQualityRanXingResult', meta: {code: 'xtpzgl-yhgl'}, component: truckQualityRanXingResult},
      {path: 'truckQualityRanLaoResultEdit', name: 'truckQualityRanLaoResultEdit', meta: {code: 'xtpzgl-yhgl'}, component: truckQualityRanLaoResultEdit},
      {path: 'truckQualityRanXingResultEdit', name: 'truckQualityRanXingResultEdit', meta: {code: 'xtpzgl-yhgl'}, component: truckQualityRanXingResultEdit},
      {path: 'truckReceiptRanLaoResult', name: 'truckReceiptRanLaoResult', meta: {code: 'xtpzgl-yhgl'}, component: truckReceiptRanLaoResult},
      {path: 'truckReceiptRanXingResult', name: 'truckReceiptRanXingResult', meta: {code: 'xtpzgl-yhgl'}, component: truckReceiptRanXingResult},
      {path: 'truckUnloadRanLaoResult', name: 'truckUnloadRanLaoResult', meta: {code: 'xtpzgl-yhgl'}, component: truckUnloadRanLaoResult},
      {path: 'truckUnloadRanXingResult', name: 'truckUnloadRanXingResult', meta: {code: 'xtpzgl-yhgl'}, component: truckUnloadRanXingResult},

      {path: 'transportReserveFu', name: 'transportReserveFu', meta: {code: 'xtpzgl-yhgl'}, component: transportReserveFu},
      {path: 'truckLeaveFactoryFuResult', name: 'truckLeaveFactoryFuResult', meta: {code: 'xtpzgl-yhgl'}, component: truckLeaveFactoryFuResult},
      {path: 'truckQualityFuResult', name: 'truckQualityFuResult', meta: {code: 'xtpzgl-yhgl'}, component: truckQualityFuResult},
      {path: 'truckQualityFuResultEdit', name: 'truckQualityFuResultEdit', meta: {code: 'xtpzgl-yhgl'}, component: truckQualityFuResultEdit},
      {path: 'truckReturnResult', name: 'truckReturnResult', meta: {code: 'xtpzgl-yhgl'}, component: truckReturnResult},
      {path: 'truckUnloadFuResult', name: 'truckUnloadFuResult', meta: {code: 'xtpzgl-yhgl'}, component: truckUnloadFuResult},
      {path: 'transportReserveFuEdit/:orderId', name: 'transportReserveFuEdit', meta: {code: 'xtpzgl-yhgl'}, component: transportReserveFuEdit},
      {path: 'truckDriverReceiveFu', name: 'truckDriverReceiveFu', meta: {code: 'xtpzgl-yhgl'}, component: truckDriverReceiveFu},
      {path: 'truckEnfactoryFuResult', name: 'truckEnfactoryFuResult', meta: {code: 'xtpzgl-yhgl'}, component: truckEnfactoryFuResult},
      {path: 'truckJiMaoFuResult', name: 'truckJiMaoFuResult', meta: {code: 'xtpzgl-yhgl'}, component: truckJiMaoFuResult},
      {path: 'truckJiPiFuResult', name: 'truckJiPiFuResult', meta: {code: 'xtpzgl-yhgl'}, component: truckJiPiFuResult},
      {path: 'truckReceiptFuResult', name: 'truckReceiptFuResult', meta: {code: 'xtpzgl-yhgl'}, component: truckReceiptFuResult},
      {path: 'transportReserveFuAddIngredients', name: 'transportReserveFuAddIngredients', meta: {code: 'xtpzgl-yhgl'}, component: transportReserveFuAddIngredients},

      {path: 'addApproveWagonPlease', name: 'addApproveWagonPlease', meta: {code: 'xtpzgl-jggl'}, component: addApproveWagonPlease},
      {path: 'addWagonLoad', name: 'addWagonLoad', meta: {code: 'xtpzgl-yhgl'}, component: addWagonLoad},
      {path: 'addWagonPlease', name: 'addWagonPlease', meta: {code: 'xtpzgl-yhgl'}, component: addWagonPlease},
      {path: 'addWagonUnLoad', name: 'addWagonUnLoad', meta: {code: 'xtpzgl-yhgl'}, component: addWagonUnLoad},
      {path: 'editApproveWagonPlease/:resultId', name: 'editApproveWagonPlease', meta: {code: 'xtpzgl-yhgl'}, component: editApproveWagonPlease},
      {path: 'editWagonLoad/:resultId', name: 'editWagonLoad', meta: {code: 'xtpzgl-yhgl'}, component: editWagonLoad},
      {path: 'editWagonPlease/:resultId', name: 'editWagonPlease', meta: {code: 'xtpzgl-yhgl'}, component: editWagonPlease},
      {path: 'editWagonUnLoad/:unloadingId', name: 'editWagonUnLoad', meta: {code: 'xtpzgl-yhgl'}, component: editWagonUnLoad},
      {path: 'entrust', name: 'entrust', meta: {code: 'xtpzgl-yhgl'}, component: entrust},
      {path: 'wagonApprove', name: 'wagonApprove', meta: {code: 'xtpzgl-yhgl'}, component: wagonApprove},
      {path: 'wagonLoad', name: 'wagonLoad', meta: {code: 'xtpzgl-yhgl'}, component: wagonLoad},
      {path: 'wagonPlease', name: 'wagonPlease', meta: {code: 'xtpzgl-yhgl'}, component: wagonPlease},
      {path: 'wagonUnLoad', name: 'wagonUnLoad', meta: {code: 'xtpzgl-yhgl'}, component: wagonUnLoad},
      
      {path: 'addBargeShip', name: 'addBargeShip', meta: {code: 'xtpzgl-jggl'}, component: addBargeShip},
      {path: 'addLoadShip', name: 'addLoadShip', meta: {code: 'xtpzgl-yhgl'}, component: addLoadShip},
      {path: 'addShipLocation', name: 'addShipLocation', meta: {code: 'xtpzgl-yhgl'}, component: addShipLocation},
      {path: 'addShipmentInstructions', name: 'addShipmentInstructions', meta: {code: 'xtpzgl-yhgl'}, component: addShipmentInstructions},
      {path: 'addUnloadShip', name: 'addUnloadShip', meta: {code: 'xtpzgl-yhgl'}, component: addUnloadShip},
      {path: 'addWaterQuality', name: 'addWaterQuality', meta: {code: 'xtpzgl-yhgl'}, component: addWaterQuality},
      {path: 'bargeShip', name: 'bargeShip', meta: {code: 'xtpzgl-yhgl'}, component: bargeShip},
      {path: 'instructionsCapacity/:instructionsId', name: 'instructionsCapacity', meta: {code: 'xtpzgl-yhgl'}, component: instructionsCapacity},
      {path: 'loadShip', name: 'loadShip', meta: {code: 'xtpzgl-yhgl'}, component: loadShip},
      {path: 'shipLocation', name: 'shipLocation', meta: {code: 'xtpzgl-yhgl'}, component: shipLocation},
      {path: 'shipmentInstructions', name: 'shipmentInstructions', meta: {code: 'xtpzgl-yhgl'}, component: shipmentInstructions},
      {path: 'shipResult', name: 'shipResult', meta: {code: 'xtpzgl-yhgl'}, component: shipResult},
      {path: 'unloadShip', name: 'unloadShip', meta: {code: 'xtpzgl-yhgl'}, component: unloadShip},
      {path: 'updateBargeShip', name: 'updateBargeShip', meta: {code: 'xtpzgl-yhgl'}, component: updateBargeShip},
      {path: 'updateInstructionsCapacity/:orderId', name: 'updateInstructionsCapacity', meta: {code: 'xtpzgl-yhgl'}, component: updateInstructionsCapacity},
      {path: 'updateShipLocation', name: 'updateShipLocation', meta: {code: 'xtpzgl-yhgl'}, component: updateShipLocation},
      {path: 'updateShipmentInstructions/:instructionsId', name: 'updateShipmentInstructions', meta: {code: 'xtpzgl-yhgl'}, component: updateShipmentInstructions},
      {path: 'updateUnloadShip/:resultId', name: 'updateUnloadShip', meta: {code: 'xtpzgl-yhgl'}, component: updateUnloadShip},
      {path: 'updateWaterQuality/:resultId', name: 'updateWaterQuality', meta: {code: 'xtpzgl-yhgl'}, component: updateWaterQuality},
      {path: 'waterQuality', name: 'waterQuality', meta: {code: 'xtpzgl-yhgl'}, component: waterQuality},

      {path: 'assignmentPlan', name: 'assignmentPlan', meta: {code: 'xtpzgl-yhgl'}, component: assignmentPlan},
      {path: 'breakdownPlan', name: 'breakdownPlan', meta: {code: 'xtpzgl-yhgl'}, component: breakdownPlan},
      {path: 'breakdownPlanAdd/:planId', name: 'breakdownPlanAdd', meta: {code: 'xtpzgl-yhgl'}, component: breakdownPlanAdd},
      {path: 'breakdownPlanCheck', name: 'breakdownPlanCheck', meta: {code: 'xtpzgl-yhgl'}, component: breakdownPlanCheck},
      {path: 'breakdownPlanEdit/:planId', name: 'breakdownPlanEdit', meta: {code: 'xtpzgl-yhgl'}, component: breakdownPlanEdit},
      {path: 'submitWaybill', name: 'submitWaybill', meta: {code: 'xtpzgl-yhgl'}, component: submitWaybill},
      {path: 'transportReserve', name: 'transportReserve', meta: {code: 'xtpzgl-yhgl'}, component: transportReserve},
      {path: 'transportReserveAdd', name: 'transportReserveAdd', meta: {code: 'xtpzgl-yhgl'}, component: transportReserveAdd},
      {path: 'transportReserveEdit/:planId', name: 'transportReserveEdit', meta: {code: 'xtpzgl-yhgl'}, component: transportReserveEdit},
      {path: 'truckDriverReceive', name: 'truckDriverReceive', meta: {code: 'xtpzgl-yhgl'}, component: truckDriverReceive},
      {path: 'truckEnfactoryResult', name: 'truckEnfactoryResult', meta: {code: 'xtpzgl-yhgl'}, component: truckEnfactoryResult},
      {path: 'truckJiMaoResult', name: 'truckJiMaoResult', meta: {code: 'xtpzgl-yhgl'}, component: truckJiMaoResult},
      {path: 'truckJiPiResult', name: 'truckJiPiResult', meta: {code: 'xtpzgl-yhgl'}, component: truckJiPiResult},
      {path: 'truckLeaveFactoryResult', name: 'truckLeaveFactoryResult', meta: {code: 'xtpzgl-yhgl'}, component: truckLeaveFactoryResult},
      {path: 'truckLoadResult', name: 'truckLoadResult', meta: {code: 'xtpzgl-yhgl'}, component: truckLoadResult},
      {path: 'truckLoadResultAdd', name: 'truckLoadResultAdd', meta: {code: 'xtpzgl-yhgl'}, component: truckLoadResultAdd},
      {path: 'truckLoadResultEdit/:resultId', name: 'truckLoadResultEdit', meta: {code: 'xtpzgl-yhgl'}, component: truckLoadResultEdit},
      {path: 'truckQualityResult', name: 'truckQualityResult', meta: {code: 'xtpzgl-yhgl'}, component: truckQualityResult},
      {path: 'truckQualityResultEdit/:resultId', name: 'truckQualityResultEdit', meta: {code: 'xtpzgl-yhgl'}, component: truckQualityResultEdit},
      {path: 'truckReceiptResult', name: 'truckReceiptResult', meta: {code: 'xtpzgl-yhgl'}, component: truckReceiptResult},
      {path: 'truckUnloadResult', name: 'truckUnloadResult', meta: {code: 'xtpzgl-yhgl'}, component: truckUnloadResult},
      
      {path: 'addBreach', name: 'addBreach', meta: {code: 'xtpzgl-yhgl'}, component: addBreach},
      {path: 'addOtherPrice', name: 'addOtherPrice', meta: {code: 'xtpzgl-yhgl'}, component: addOtherPrice},
      {path: 'addShipPrice', name: 'addShipPrice', meta: {code: 'xtpzgl-yhgl'}, component: addShipPrice},
      {path: 'addTrainPrice', name: 'addTrainPrice', meta: {code: 'xtpzgl-yhgl'}, component: addTrainPrice},
      {path: 'addTruckPrice', name: 'addTruckPrice', meta: {code: 'xtpzgl-yhgl'}, component: addTruckPrice},
      {path: 'breach', name: 'breach', meta: {code: 'xtpzgl-yhgl'}, component: breach},
      {path: 'otherPrice', name: 'otherPrice', meta: {code: 'xtpzgl-yhgl'}, component: otherPrice},
      {path: 'purchaseOrder', name: 'purchaseOrder', meta: {code: 'xtpzgl-yhgl'}, component: purchaseOrder},
      {path: 'shipPrice', name: 'shipPrice', meta: {code: 'xtpzgl-yhgl'}, component: shipPrice},
      {path: 'trainPrice', name: 'trainPrice', meta: {code: 'xtpzgl-yhgl'}, component: trainPrice},
      {path: 'updateBreach/:breachId', name: 'updateBreach', meta: {code: 'xtpzgl-yhgl'}, component: updateBreach},
      {path: 'updateOtherPrice/:priceId', name: 'updateOtherPrice', meta: {code: 'xtpzgl-yhgl'}, component: updateOtherPrice},
      {path: 'updateShipPrice/:priceId', name: 'updateShipPrice', meta: {code: 'xtpzgl-yhgl'}, component: updateShipPrice},
      {path: 'updateTrainPrice/:priceId', name: 'updateTrainPrice', meta: {code: 'xtpzgl-yhgl'}, component: updateTrainPrice},
      {path: 'updateTruckPrice/:priceId', name: 'updateTruckPrice', meta: {code: 'xtpzgl-yhgl'}, component: updateTruckPrice},
      {path: 'truckPrice', name: 'truckPrice', meta: {code: 'xtpzgl-yhgl'}, component: truckPrice},
      
      {path: 'transportationReservation', name: 'transportationReservation', meta: {code: 'xtpzgl-yhgl'}, component: transportationReservation},
      {path: 'transportationDispatch', name: 'transportationDispatch', meta: {code: 'xtpzgl-yhgl'}, component: transportationDispatch},
      {path: 'transportationReservationAdd', name: 'transportationReservationAdd', meta: {code: 'xtpzgl-yhgl'}, component: transportationReservationAdd},
      {path: 'transportationReservationEDIT/:orderId', name: 'transportationReservationEDIT', meta: {code: 'xtpzgl-yhgl'}, component: transportationReservationEDIT},
     
    ]
  }
];

const router = new Router({
  routes: constantRouterMap
})
//  before
routerBefore(router, constantRouterMap);

export default router;
//  constantRouterMap
export const routes = constantRouterMap;
