const url = '/frontEnd/views'
export const routes = [
  {
    path: '/businessManage',
    name: 'BusinessManage',
    meta: {
      title: '业务管理',
      cache: true,
    },
    component: httpVueLoader('/frontEnd/views/businessManage/index.vue'),
  },
  {
    path: '/businessCreate',
    name: 'businessCreate',
    meta: {
      title: '新建业务',
    },
    component: httpVueLoader('/frontEnd/views/businessManage/create.vue'),
  },
  {
    path: '/templateExamine',
    name: 'TemplateExamine',
    meta: {
      title: '模板审核',
    },
    component: httpVueLoader('/frontEnd/views/businessManage/templateExamine.vue'),
  },
  {
    path: '/pledgeWay',
    name: 'PledgeWay',
    meta: {
      title: '保证方式',
    },
    component: httpVueLoader('/frontEnd/views/businessManage/pledgeWay.vue'),
  },
  {
    path: '/bond',
    name: 'bond',
    meta: {
      title: '保证金收款确认',
    },
    component: httpVueLoader('/frontEnd/views/businessManage/bond.vue'),
  },
  {
    path: '/winBidding',
    name: 'WinBidding',
    meta: {
      title: '中标确认',
    },
    component: httpVueLoader('/frontEnd/views/businessManage/winBidding.vue'),
  },
  {
    path: '/refundDeposit',
    name: 'RefundDeposit',
    meta: {
      title: '保证金退款确认',
    },
    component: httpVueLoader('/frontEnd/views/businessManage/refundDeposit.vue'),
  },
  {
    path: '/businessManageSee',
    name: 'BusinessManageSee',
    meta: {
      title: '业务管理查看',
    },
    component: httpVueLoader('/frontEnd/views/businessManage/see.vue'),
  },
  {
    path: '/relationDisburse',
    name: 'RelationDisburse',
    meta: {
      title: '关联支用',
      cache: true,
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/relationDisburse/index.vue'),
  },
  {
    path: '/relationDisburseDetails',
    name: 'relationDisburseDetails',
    meta: {
      title: '关联支用详情',
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/relationDisburse/details.vue'),
  },
  {
    path: '/cooperationSurvey',
    name: 'CooperationSurvey',
    meta: {
      title: '合作概况',
      cache: true,
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/cooperationSurvey/index.vue'),
  },
  {
    path: '/customerInfo',
    name: 'CustomerInfo',
    meta: {
      title: '客户信息',
      cache: true,
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/customerInfo/index.vue'),
  },
  {
    path: '/customerInfoEdit',
    name: 'CustomerInfoEdit',
    meta: {
      title: '客户信息编辑',
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/customerInfo/edit.vue'),
  },
  {
    path: '/customerInfoExamine',
    name: 'CustomerInfoExamine',
    meta: {
      title: '客户信息审核',
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/customerInfo/examine.vue'),
  },
  {
    path: '/customerInfoSee',
    name: 'CustomerInfoSee',
    meta: {
      title: '客户信息查看',
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/customerInfo/see.vue'),
  },
  {
    path: '/customerDisburseInfo',
    name: 'CustomerDisburseInfo',
    meta: {
      title: '客户支用信息',
      cache: true,
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/customerDisburseInfo/index.vue'),
  },
  {
    path: '/customerDisburseInfoEdit',
    name: 'CustomerDisburseInfoEdit',
    meta: {
      title: '客户支用信息编辑',
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/customerDisburseInfo/edit.vue'),
  },
  {
    path: '/customerDisburseInfoApproval',
    name: 'CustomerDisburseInfoApproval',
    meta: {
      title: '客户支用信息审核',
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/customerDisburseInfo/approval.vue'),
  },
  {
    path: '/customerDisburseInfoContract',
    name: 'CustomerDisburseInfoContract',
    meta: {
      title: '客户支用信息合同清单',
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/customerDisburseInfo/contract.vue'),
  },
  {
    path: '/customerDisburseInfoSee',
    name: 'CustomerDisburseInfoSee',
    meta: {
      title: '客户支用信息查看',
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/customerDisburseInfo/see.vue'),
  },
  {
    path: '/settleManagement',
    name: 'SettleManagement',
    meta: {
      title: '结算单管理',
      cache: true,
    },
    component: httpVueLoader('/frontEnd/views/settleManagement/index.vue'),
  },
  {
    path: '/settleManagementCreate',
    name: 'SettleManagementCreate',
    meta: {
      title: '录入结算单',
    },
    component: httpVueLoader('/frontEnd/views/settleManagement/create.vue'),
  },
  {
    path: '/customerInfoExamine',
    name: 'CustomerInfoExamine',
    meta: {
      title: '结算单财务审核',
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/customerInfo/examine.vue'),
  },
  {
    path: '/customerInfoSee',
    name: 'CustomerInfoSee',
    meta: {
      title: '签署结算单',
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/customerInfo/see.vue'),
  },
  {
    path: '/customerInfoSee',
    name: 'CustomerInfoSee',
    meta: {
      title: '结算单查看',
    },
    component: httpVueLoader('/frontEnd/views/capitalManage/customerInfo/see.vue'),
  },
]

export const router = new VueRouter({
  mode: 'hash',
  base: '',
  routes: routes
})
