/**
 * 预约挂号
 */
// 添加就诊人
import AddVisitor from 'pages/appointmentRegistration/AddVisitor.jsx';
// 社保卡授权添加
import SocialSecurityCardAuthorization from 'pages/appointmentRegistration/SocialSecurityCardAuthorization.jsx';

/**
 *  住院登记
 */
import HospitalRegistration from 'pages/hospitalRegistration/HospitalRegistration.jsx';

/* 患者中心 */
//选择项目
// import PatientCenter from '../pages/PatientCenter/PatientCenter';
//录入申请
import ApplyOrder from '../pages/PatientCenter/ApplyOrder';
//录入申请成功提示
import ApplyTips from '../pages/PatientCenter/ApplyTips';
//录入申请成功 返回订单列表
import TreatmentOrderList from '../pages/PatientCenter/TreatmentOrderList';
//录入申请成功 进入预约治疗
import Appointment from '../pages/PatientCenter/Appointment';
//预约记录
import AppointmentRecord from '../pages/PatientCenter/AppointmentRecord';
//治疗记录
import TreatmentRecord from '../pages/PatientCenter/TreatmentRecord';
//治疗记录 详情
import TreatmentRecordDetail from '../pages/PatientCenter/TreatmentRecordDetail';
// 出院带药详情
import DischargeMedicationDetails from 'pages/accountManagement/DischargeMedicationDetails';

const RouterData = [
  {
    path: '/0001/00000001',
    title: '首页',
    component: "pages/home/Home.jsx"
  }, {
    path: '/0001/0001',
    title: '就诊人管理',
    component: "pages/electronicHealthCard/ElectronicHealthCard.jsx"
  }, {
    path: '/0001/00010001/:id',
    title: '就诊卡详情',
    component: "pages/electronicHealthCard/VisitCardDetails.jsx"
  }, {
    path: '/0001/00010002',
    title: '卡信息',
    component: "pages/electronicHealthCard/CardInformation.jsx"
  }, {
    path: '/0001/00010003',
    title: '添加就诊人',
    component: "pages/electronicHealthCard/BindingCard.jsx"
  }, {
    path: '/0001/00010004',
    title: '添加就诊人',
    component: "pages/electronicHealthCard/NewAddPatient.jsx"
  }, {
    path: '/0001/0019',
    title: '关联电子健康卡',
    component: "pages/electronicHealthCard/AssociatedCard.jsx"
  }, {
    path: '/0001/00010006',
    title: '绑卡成功',
    component: "pages/electronicHealthCard/SuccessfulCardBinding.jsx"
  }, {
    path: '/0001/00020001',
    title: '账户',
    component: "pages/accountManagement/Account.jsx"
  }, {
    path: '/0001/00020005',
    title: '就诊记录',
    component: "pages/accountManagement/VisitRecords.jsx"
  }, {
    path: '/0001/00020002',
    title: '充值',
    component: "pages/accountManagement/Recharge.jsx"
  }, {
    path: '/0001/000201',
    title: '充值成功',
    component: "pages/accountManagement/RechargeSuccessful.jsx"
  }, {
    path: '/0001/00020007',
    title: '缴费',
    component: "pages/accountManagement/AccountPayment.jsx"
  }, {
    path: '/0001/00020006',
    title: '缴费单详情',
    component: "pages/accountManagement/PaymentSlipDetails.jsx"
  }, {
    path: '/0001/00020003',
    title: '账单',
    component: "pages/accountManagement/Bill.jsx"
  }, {
    path: '/0001/00020004',
    title: '账单详情',
    component: "pages/accountManagement/BillingDetails.jsx"
  }, {
    path: '/0001/00020008',
    title: '已支付订单',
    component: "pages/accountManagement/PaidOrders.jsx"
  }, {
    path: "/0001/00020009",
    title: '取药确认',
    component: "pages/takeMedicine/ConfirmationOfDrugTaking.jsx"
  }, {
    path: "/0001/00020020",
    title: '上传图片',
    component: "pages/uploadImg/UploadImg.jsx"
  }, {
    path: '/0001/00020012',
    title: '配药确认',
    component: "pages/takeMedicine/ConfirmDeliveryMethod.jsx"
  }, {
    path: '/0001/00020013',
    title: '取药详情',
    component: "pages/takeMedicine/DetailsOfDrugTaking.jsx"
  }, {
    path: '/0001/00020014',
    title: '处方详情',
    component: "pages/takeMedicine/PrescriptionDetails.jsx"
  }, {
    path: '/0001/00020015',
    title: '添加配送地址',
    component: "pages/takeMedicine/DeliveryAddressMaintenance.jsx"
  }, {
    path: '/0001/00020010',
    title: '出院小结',
    component: "pages/accountManagement/DischargeSummary.jsx"
  }, {
    path: '/0001/00020011',
    title: '每日清单',
    component: "pages/accountManagement/DailyList.jsx"
  }, {
    path: '/0001/00020016',
    title: '费用清单分类',
    component: "pages/accountManagement/ClassificationOfExpenseList.jsx"
  }, {
    path: '/0001/00020017',
    title: '出院带药',
    component: "pages/accountManagement/DischargeMedication.jsx"
  }, {
    path: '/0001/00020018',
    title: '药品明细',
    component: DischargeMedicationDetails
  }, {
    path: '/0001/00040001',
    title: '选择院区',
    component: "pages/appointmentRegistration/SelectADistrict.jsx"
  }, {
    path: '/0002/00040002',
    title: '预约挂号',
    component: "pages/appointmentRegistration/AppointmentRegistration.jsx"
  }, {
    path: '/0002/00030003', // 1
    title: '确认预约',
    component: "pages/appointmentRegistration/ConfirmAppointment.jsx"
  }, {
    path: '/0002/00030005', // 1
    title: '添加就诊人',
    component: AddVisitor
  },
  {
    path: '/0002/00030006', // 1
    title: '社保卡授权添加',
    component: SocialSecurityCardAuthorization
  }, {
    path: '/0002/00040003',
    title: '医生个人主页',
    component: "pages/appointmentRegistration/DoctorProfile.jsx"
  },
  {
    path: '/0003/00040001', // 1
    title: '住院登记',
    component: HospitalRegistration
  }, {
    component: "pages/PatientCenter/PatientCenter.jsx",
    path: "/0001/0010",
    title: "治疗工作站"
  }, {
    path: '/0002/0011',
    title: '治疗申请单',
    component: ApplyOrder
  }, {
    path: '/0006/00000004',
    title: '提示',
    component: ApplyTips
  }, {
    path: '/0002/0013',
    title: '治疗订单',
    component: TreatmentOrderList
  }, {
    path: '/0002/0014',
    title: '预约治疗',
    component: Appointment
  }, {
    path: '/0002/0016',
    title: '预约记录',
    component: AppointmentRecord
  }, {
    path: '/0002/0018',
    title: '治疗记录',
    component: TreatmentRecord
  }, {
    path: '/0002/0015',
    title: '治疗记录单',
    component: TreatmentRecordDetail
  }, {
    path: '/0002/0020',
    title: '处方流转',
    component: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxea34d6de216ca8b8&redirect_uri=http://xyswechat.e24health.com/EPSP/&response_type=code&scope=snsapi_userinfo&state=NewElements#wechat_redirect"
  }, {
    path: "/0001/00030001",
    // title: "慢病精细化管理",
    title: "四方联动老年人健康管理",
    component: "pages/chronicDiseaseManagement/home/index.jsx"
  }, {
    path: "/0003/00030002",
    title: "一键呼叫",
    component: "pages/chronicDiseaseManagement/oneTouchCall/index.jsx"
  }, {
    component: "pages/chronicDiseaseManagement/oneTouchCall/ChatRoomConsultation.jsx",
    path: "/0003/00030003",
    title: "咨询",
  }, {
    component: "pages/chronicDiseaseManagement/investigation/SatisfactionSurvey.jsx",
    path: "/0003/00030004",
    title: "体检满意度调查",
  }, {
    component: "pages/chronicDiseaseManagement/record/VitalSignsRecord.jsx",
    path: "/0003/00030005",
    title: "生命体征记录",
  }, {
    component: "pages/chronicDiseaseManagement/record/DiagnosisAndTreatment.jsx",
    path: "/0003/00030006",
    title: "健康管理记录"
    // title: "诊疗记录"
  }, {
    component: "pages/chronicDiseaseManagement/record/MemberOfFamily.jsx",
    path: "/0003/00030007",
    title: "家庭成员",
  }, {
    component: "pages/chronicDiseaseManagement/record/ServiceAgreement.jsx",
    path: "/0003/00030008",
    title: "服务协议书",
  }, {
    component: "pages/chronicDiseaseManagement/record/EnterPhysicalData.jsx",
    path: "/0003/00030009",
    title: "录入体征数据"
  }, {
    component: "pages/chronicDiseaseManagement/record/AddParient.jsx",
    path: "/0003/00030010",
    title: "添加家庭成员"
  }, {
    component: "pages/chronicDiseaseManagement/record/MedicalExaminationReport.jsx",
    path: "/0003/00030011",
    title: "体检报告"
  }, {
    component: "pages/chronicDiseaseManagement/record/DetailsOfTreatment.jsx",
    path: "/0003/00030012",
    title: "诊疗记录"
  }, {
    component: "pages/chronicDiseaseManagement/record/FollowUpRecord.jsx",
    path: "/0003/00030013",
    title: "随访记录"
  }, {
    component: "pages/harvestAddress/MyHarvestAddress",
    path: "/0004/00010001",
    title: "我的收货地址"
  }, {
    component: "pages/harvestAddress/DeliveryAddressMaintenance",
    path: "/0004/00010002",
    title: "新增地址"
  }, {
    path: '/0001/00020021',
    title: '注意事项',
    component: "pages/accountManagement/Precautions.jsx"
  }, {
    path: '/0001/00020022',
    title: '注意事项详情',
    component: "pages/accountManagement/PrecautionsDetails.jsx"
  }, {
    path: '/0003/00040006',
    title: '住院床旁结算明细',
    component: "pages/hospitalRegistration/InpatientBedsideSettlementList.jsx"
  }
];

export default RouterData;
