import TabsComponent from '@/components/common/TabsComponent.vue'
export default [
  //工作台
  {
    path: 'workBench',
    name: 'workBench',
    component: () => import('@/views/SysIndex.vue'),
  },
  //项目管理 ----> 项目管理
  {
    path: 'projectManagement',
    name: 'projectManagement',
    component: () => import('@/views/projectManagent/projectManagentSub.vue'),
  },
  //项目管理 ----> 项目管理 ----> 编制（单项工程）
  {
    path: 'ProjectFlowChart/:id/:projectName',
    name: 'ProjectFlowChart',
    component: () => import('@/views/projectManagent/ProjectFlowChart.vue'),
  },
  // 工程支付
  {
    path: 'PaymentApproval/:id/:projectName',
    name: 'PaymentApproval',
    component: () =>
      import(
        '@/views/ProcessManagement/ScheduleManagement/PaymentApproval.vue'
      ),
  },
  // 合同管理 ---> 支付管理
  {
    path: 'contractPay/:id/:projectName',
    name: 'contractPay',
    component: () =>
      import('@/views/ProcessManagement/ScheduleManagement/contractPay.vue'),
  },
  // 合同管理  ----> 行政缴费
  {
    path: 'administrativePay/:id/:projectName',
    name: 'administrativePay',
    component: () =>
      import('@/views/ProcessManagement/ScheduleManagement/administrativePay.vue'),
  },
  // 合同管理 ----> 资金计划
  {
    path:'fundPlan/:id/:projectName',
    name:'fundPlan',
    component: () =>
      import('@/views/ProcessManagement/ScheduleManagement/fundPlan.vue'),
  },

  //项目管理 ----> 项目人员
  {
    path: 'ProjectPersonnel',
    name: 'ProjectPersonnel',
    component: () => import('@/views/projectManagent/ProjectPersonnel.vue'),
  },
  //项目管理 ----> 项目人员 ---> 人员管理
  {
    path: 'PersonnelManagement/:id/:projectName',
    name: 'PersonnelManagement',
    component: () => import('@/views/projectManagent/PersonnelManagement.vue'),
  },
  //消息配置
  {
    path: 'DirectoryManagement',
    name: 'DirectoryManagement',
    component: () => import('@/views/projectManagent/DirectoryManagement.vue'),
  },
  //年度计划
  {
    path: 'AnnualPlan',
    name: 'AnnualPlan',
    component: () =>
      import('@/views/ProjectInitiation/DecisionBasisMenu/AnnualPlan.vue'),
  },
  //项目立项 ----> 决策依据
  {
    path: 'DecisionBasisMenu',
    name: 'DecisionBasisMenu',
    component: TabsComponent,
  },

  //项目立项 ----> 项目立项
  {
    path: 'ProjectInitiationSub',
    name: 'ProjectInitiationSub',
    component: () =>
      import('@/views/ProjectInitiation/ProjectInitiationSub.vue'),
  },
  //可研规划 ----> 可研批复
  {
    path: 'FeasibilityStudyReply',
    name: 'FeasibilityStudyReply',
    component: () =>
      import('@/views/FeasibilityStudyPlanning/FeasibilityStudyReply.vue'),
  },
  //可研规划 ----> 规划许可
  {
    path: 'Plan',
    name: 'Plan',
    // component: () => import('@/views/FeasibilityStudyPlanning/Plan.vue')
    component: TabsComponent,
  },
  //设计概算 ----> 初步设计
  {
    path: 'PreliminaryDesign',
    name: 'PreliminaryDesign',
    component: () => import('@/views/DesignEstimate/PreliminaryDesign.vue'),
  },
  //设计概算 ----> 概算
  {
    path: 'Estimate',
    name: 'Estimate',
    component: () => import('@/views/DesignEstimate/Estimate.vue'),
  },
  //设计概算 ----> 施工图审查
  {
    path: 'ConstructionDrawingDesign',
    name: 'ConstructionDrawingDesign',
    component: () =>
      import('@/views/DesignEstimate/ConstructionDrawingDesign.vue'),
  },
  //设计概算 ----> 施工图设计
  {
    path: 'ConstructionPlans',
    name: 'ConstructionPlans',
    component: () => import('@/views/DesignEstimate/ConstructionPlans.vue'),
  },
  //设计概算 ----> 环评
  {
    path: 'Eia',
    name: 'Eia',
    component: () => import('@/views/DesignEstimate/Eia.vue'),
  },
  //设计概算 ----> 水保
  {
    path: 'WaterConservation',
    name: 'WaterConservation',
    component: () => import('@/views/DesignEstimate/WaterConservation.vue'),
  },
  //招投标管理 ----> 招标管理
  {
    path: 'BiddingManagement',
    name: 'BiddingManagement',
    component: () => import('@/views/BiddingInformation/BiddingManagement.vue'),
  },
  //招投标管理 ----> 投标管理
  {
    path: 'TenderingManagement',
    name: 'TenderingManagement',
    component: () =>
      import('@/views/BiddingInformation/TenderingManagement.vue'),
  },
  //招投标管理 ----> 清单限价
  {
    path: 'listPriceLimit',
    name: 'listPriceLimit',
    component: TabsComponent,
  },
  //合同信息
  {
    path: 'ContractInformation',
    name: 'ContractInformation',
    component: () => import('@/views/ContractInformation.vue'),
  },
  // // 施工许可
  // {
  //   path: 'ConstructionPermit',
  //   name: 'ConstructionPermit',
  //   component: () => import('@/views/ConstructionPermit.vue'),
  // },

  // 施工许可
  {
    path: 'ConstructionProcedures',
    name: 'ConstructionProcedures',
    // component: () => import('@/views/ConstructionPermit.vue'),
    component: TabsComponent,
  },
  //施工管理 ----> 安全文明施工
  {
    path: 'SecurityManagement',
    name: 'SecurityManagement',
    // component: () => import('@/views/ProcessManagement/ChangeManagement.vue')
    component: TabsComponent,
  },

  //施工管理 ----> 变更管理
  // {
  //   path: 'ChangeManagement',
  //   name: 'ChangeManagement',
  //   component: TabsComponent
  // },
  //施工管理 ----> 变更管理
  {
    path: 'ChangeManagement',
    name: 'ChangeManagement',
    component: () => import('@/views/ProcessManagement/ChangeManagement.vue'),
  },
  // 施工管理  ----> 质量管理
  {
    path: 'QualityAssurance',
    name: 'QualityAssurance',
    // component: () => import('@/views/ProcessManagement/QualityAssurance.vue')
    component: TabsComponent,
  },
  // 施工管理  ----> 安全管理
  // {
  //   path: 'SecurityManagement',
  //   name: 'SecurityManagement',
  //   component: () => import('@/views/ProcessManagement/SecurityManagement/SecurityManagement.vue')
  //   // component: TabsComponent
  // },
  // 施工管理  ----> 进度管理
  {
    path: 'ScheduleManagement',
    name: 'ScheduleManagement',
    // component: () => import('@/views/ProcessManagement/ScheduleManagement.vue')
    component: TabsComponent,
  },
  // 施工管理  ----> 环保管理
  // {
  //   path: 'EnvironmentalManagement',
  //   name: 'EnvironmentalManagement',
  //   component: () =>
  //     import('@/views/ProcessManagement/EnvironmentalManagement.vue')
  // },
  // 施工管理  ----> 疫情防控
  //  {
  //   path: 'EpidemicPreventionControl',
  //   name: 'EpidemicPreventionControl',
  //   component: () =>
  //     import('@/views/ProcessManagement/EpidemicPreventionControl.vue')
  // },
  // 竣工验收  ----> 单位工程验收
  {
    path: 'unitProjectAcceptance',
    name: 'unitProjectAcceptance',
    component: () =>
      import('@/views/CompletionAcceptance/UnitProjectAcceptance.vue'),
  },
  // 竣工验收  ----> 预验收
  {
    path: 'PreAcceptance',
    name: 'PreAcceptance',
    component: () => import('@/views/CompletionAcceptance/PreAcceptance.vue'),
  },
  // 竣工验收  ----> 联合备案验收
  {
    path: 'JointFilingAcceptance',
    name: 'JointFilingAcceptance',
    component: TabsComponent,
  },
  // 竣工验收  ----> 结算
  {
    path: 'Settlement',
    name: 'Settlement',
    component: () => import('@/views/CompletionAcceptance/Settlement.vue'),
  },
  // 竣工验收  ----> 决算
  {
    path: 'Finalaccounts',
    name: 'Finalaccounts',
    component: () => import('@/views/CompletionAcceptance/Finalaccounts.vue'),
  },
  // 竣工验收  ----> 移交
  {
    path: 'Transfer',
    name: 'Transfer',
    component: () => import('@/views/CompletionAcceptance/Transfer.vue'),
  },
  // 环境保护
  {
    path: 'SafetyEnvironmental',
    name: 'SafetyEnvironmental',
    component: () => import('@/views/SafetyEnvironmental.vue'),
  },
  // 规划环评
  {
    path: 'PlanningEIA',
    name: 'PlanningEIA',
    component: () => import('@/views/PlanningEIA.vue'),
  },
  // 搜索
  {
    path: 'Search',
    name: 'Search',
    component: () => import('@/views/Search.vue'),
  },
  //统计报表 ---->项目台账
  {
    path: 'ProjectAccount',
    name: 'ProjectAccount',
    component: () => import('@/views/StatisticalReport/ProjectAccount.vue'),
  },
  //统计报表 ---->项目支付台账
  {
    path: 'PaymentAccount',
    name: 'PaymentAccount',
    component: () => import('@/views/StatisticalReport/PaymentAccount.vue'),
  },
  //统计报表 ---->项目审批台账
  {
    path: 'ProjectApprovalAccount',
    name: 'ProjectApprovalAccount',
    component: () =>
      import('@/views/StatisticalReport/ProjectApprovalAccount.vue'),
  },
  //统计报表 ---->合同台账
  {
    path: 'ContractAccount',
    name: 'ContractAccount',
    component: () => import('@/views/StatisticalReport/ContractAccount.vue'),
  },
  //统计报表 ---->招投标台账
  {
    path: 'BiddingAccount',
    name: 'BiddingAccount',
    component: () => import('@/views/StatisticalReport/BiddingAccount.vue'),
  },
  //统计报表 ---->投资进度台账
  {
    path: 'InvestmentProgressAccount',
    name: 'InvestmentProgressAccount',
    component: () =>
      import('@/views/StatisticalReport/InvestmentProgressAccount.vue'),
  },
  //统计报表 ---->工程变更台账
  {
    path: 'ContractChangeAccount',
    name: 'ContractChangeAccount',
    component: () =>
      import('@/views/StatisticalReport/ContractChangeAccount.vue'),
  },
  //统计报表 ---->自定义台账
  {
    path: 'UserDefinedLedger',
    name: 'UserDefinedLedger',
    component: () => import('@/views/StatisticalReport/UserDefinedLedger.vue'),
  },
  //统计报表 ---->项目信息统计
  {
    path: 'ProjectInformationStatistics',
    name: 'ProjectInformationStatistics',
    component: () =>
      import('@/views/StatisticalReport/ProjectInformationStatistics.vue'),
  },
  //文件库
  {
    path: 'FileLibrary',
    name: 'FileLibrary',
    component: () => import('@/views/FileLibrary.vue'),
  },
  //安全,环保 ---> 安全
  {
    path: 'security',
    name: 'security',
    component: TabsComponent,
  },
  //安全,环保 ---> 环保
  {
    path: 'environmentProtection',
    name: 'environmentProtection',
    component: TabsComponent,
  },
]
