import Layout from '@/views/layout/Layout'

export default {
  path: '/patients',
  component: Layout,
  redirect: 'noredirect',
  name: 'User',
  alwaysShow: true,
  meta: {
    title: 'user',
    icon: 'bingren'
  },
  children: [{
    path: '/patients/patients',
    component: () => import('@/xt_pages/user/patients'),
    name: 'Patient',
    meta: {
      title: 'patient',
      noCache: true
    }
  },
  {
    path: '/patients/create',
    component: () => import('@/xt_pages/user/createPatient'),
    name: 'createPatient',
    meta: {
      title: 'createPatient',
      noCache: true
    }
  },
  {
    path: '/patients/patient/:id',
    component: () => import('@/xt_pages/user/patientInfo'),
    hidden: true,
    is_menu: false,
    name: 'patient Page',
    meta: {
      title: 'patientPage',
      noCache: true
    }
  },
  {
    path: '/patients/patient/:id/edit',
    component: () => import('@/xt_pages/user/editPatient'),
    hidden: true,
    is_menu: false,
    name: 'Edit Patient',
    meta: {
      title: 'editPatient',
      noCache: true
    }
  },
  {
    path: '/patients/patient/:id/dialysisSolution',
    component: () => import('@/xt_pages/user/dialysisSolution'),
    hidden: true,
    is_menu: false,
    name: 'dialysisSolution',
    meta: {
      title: 'dialysisSolution',
      noCache: true
    }
  },
  {
    path: '/patients/patient/:id/weight',
    component: () => import('@/xt_pages/user/weight'),
    hidden: true,
    is_menu: false,
    name: 'weight',
    meta: {
      title: 'weight',
      noCache: true
    }
  },
  {
    path: '/patients/patient/:id/dialysisRecord',
    component: () => import('@/xt_pages/user/dialysisRecord'),
    hidden: true,
    is_menu: false,
    name: 'dialysisRecord',
    meta: {
      title: 'dialysisRecord',
      noCache: true
    }
  },
  {
    path: '/patients/patient/:id/scheduling',
    component: () => import('@/xt_pages/user/scheduling'),
    hidden: true,
    is_menu: false,
    name: 'scheduling',
    meta: {
      title: 'scheduling',
      noCache: true
    }
  },
  {
    path: '/patients/patient/:id/doctorAdvice',
    component: () => import('@/xt_pages/user/doctorAdvice'),
    hidden: true,
    is_menu: false,
    name: 'doctorAdvice',
    meta: {
      title: 'doctorAdvice',
      noCache: true
    }
  },
  {
    path: '/patients/patient/:id/dryWeight',
    component: () => import('@/xt_pages/user/dryWeight'),
    hidden: true,
    is_menu: false,
    name: 'dryWeight',
    meta: { title: 'dryWeight', noCache: true }
  },
  {
    path: '/patients/inspection',
    component: () => import('@/xt_pages/user/inspection'),
    hidden: true,
    is_menu: false,
    name: 'Inspection',
    meta: {
      title: 'inspection',
      noCache: true
    }
  },
  {
    path: '/patients/course',
    component: () => import('@/xt_pages/user/courseOfDisease'),
    hidden: true,
    is_menu: false,
    name: 'CourseOfDiseaseManage',
    meta: {
      title: 'CourseOfDiseaseManage',
      noCache: true
    }
  },
  {
    path: '/patients/rescue',
    component: () => import('@/xt_pages/user/rescueRecord'),
    hidden: true,
    is_menu: false,
    name: 'RescueRecord',
    meta: {
      title: 'RescueRecord',
      noCache: true
    }
  },
  {
    path: '/patients/patient/:id/proeducation',
    component: () => import('@/xt_pages/user/proeducation'),
    hidden: true,
    is_menu: false,
    name: 'proeducation',
    meta: {
      title: 'proeducation',
      noCache: true
    }
  }, {
    path: '/course/print',
    component: () => import('@/xt_pages/user/coursePrint'),
    hidden: true,
    is_menu: false,
    name: 'coursePrint',
    meta: {
      title: 'coursePrint',
      noCache: true
    }
  }
  ]
}
