(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0a52d374"],{"46f9":function(t,e,a){"use strict";e["a"]={data:function(){return{}},methods:{initPatientSource:function(t){switch(t){case 1:return"朋友介绍";case 2:return"自进门店";default:return""}},initBloodGroup:function(t){switch(t){case 1:return"A型血";case 2:return"B型血";case 3:return"O型血";case 4:return"AB型血";case 5:return"RH型血";default:return""}},initSex:function(t){switch(t){case 1:return"男";case 2:return"女";default:return""}},initMarriage:function(t){switch(t){case 1:return"未婚";case 2:return"已婚";case 3:return"丧偶";case 4:return"离婚";default:return""}},initPatientType:function(t){switch(t){case 1:return"临时";case 2:return"普通";default:return""}},initPppointmentStatus:function(t){switch(t){case 1:return"预约";case 2:return"已确定";case 3:return"已到店";case 4:return"待复诊";case 5:return"治疗完成";case 6:return"已结账";case 7:return"已离开";case 8:return"已失约";default:return""}},initToothPosition:function(t){switch(t){case"upLeft1":return"21";case"upLeft2":return"22";case"upLeft3":return"23";case"upLeft4":return"24";case"upLeft5":return"25";case"upLeft6":return"26";case"upLeft7":return"27";case"upLeft8":return"28";case"upRight1":return"11";case"upRight2":return"12";case"upRight3":return"13";case"upRight4":return"14";case"upRight5":return"15";case"upRight6":return"16";case"upRight7":return"17";case"upRight8":return"18";case"downLeft1":return"41";case"downLeft2":return"42";case"downLeft3":return"43";case"downLeft4":return"44";case"downLeft5":return"45";case"downLeft6":return"46";case"downLeft7":return"47";case"downLeft8":return"48";case"downRight1":return"31";case"downRight2":return"32";case"downRight3":return"33";case"downRight4":return"34";case"downRight5":return"35";case"downRight6":return"36";case"downRight7":return"37";case"downRight8":return"38";default:return"-"}},initBgc:function(t){switch(t){case 1:return"#649aff";case 2:return"#00f900";case 3:return"#b6d8b3";case 4:return"#fdc86a";case 5:return"#74a863";case 6:return"#ff8683";case 7:return"#8a8385";case 8:return"#c7c7c7";default:}}}}},"8b93":function(t,e,a){},d73d:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.dialogVisible?a("el-dialog",{attrs:{title:t.title+"回访",visible:t.dialogVisible,width:"1200px","close-on-press-escape":!1,"close-on-click-modal":!1,"before-close":t.beforeClose},on:{"update:visible":function(e){t.dialogVisible=e},close:t.beforeClose}},[a("div",{staticClass:"big_dialog"},[a("div",{staticClass:"left_box"},[a("ul",{staticClass:"tap_Top_box"},t._l(t.activeList,(function(e,i){return a("li",{key:i,class:{active:t.activeName===e.value},staticStyle:{"font-weight":"700","font-family":"fantasy"},on:{click:function(a){return t.handleClick(e)}}},[t._v(" "+t._s(e.name)+" ")])})),0),a("div",{directives:[{name:"show",rawName:"v-show",value:"first"==t.activeName,expression:"activeName == 'first'"}],staticClass:"over"},[a("div",{staticClass:"boxbox"},[a("div",[a("div",{staticClass:"bottom_box"},[a("p",{staticStyle:{"font-weight":"700"}},[t._v("个人信息")]),a("el-row",{staticClass:"contet_box"},[a("el-col",{attrs:{span:12}},[a("ul",[a("li",[a("span",[t._v("姓名:")]),a("span",[t._v(t._s(t.tableForm.patientName))])]),a("li",[a("span",[t._v(" 用户编号:")]),a("span",[t._v(" "+t._s(t.tableForm.medicalRecordNum))])]),a("li",[a("span",[t._v(" 出生日期:")]),a("span",[t._v(" "+t._s(t.tableForm.birthday))])]),a("li",[a("span",[t._v(" 性别:")]),a("span",[t._v(" "+t._s(t.initSex(t.tableForm.sex)))])]),a("li",[a("span",[t._v(" 国籍:")]),a("span",[t._v(" "+t._s(t.tableForm.citizenship))])]),a("li",[a("span",[t._v(" 工作单位:")]),a("span",[t._v(" "+t._s(t.tableForm.workUnit))])])])]),a("el-col",{attrs:{span:12}},[a("ul",[a("li",[a("span",[t._v(" 年龄:")]),a("span",[t._v(" "+t._s(t.getAgeFromIdCard(t.tableForm.identificationCard)))])]),a("li",[a("span",[t._v(" 身份证号:")]),a("span",[t._v(" "+t._s(t.tableForm.identificationCard))])]),a("li",[a("span",[t._v(" 职业:")]),a("span",[t._v(" "+t._s(t.tableForm.occupation))])]),a("li",[a("span",[t._v(" 血型:")]),a("span",[t._v(" "+t._s(t.tableForm.bloodGroup))])]),a("li",[a("span",[t._v(" 婚姻状况:")]),a("span",[t._v(" "+t._s(t.initMarriage(t.tableForm.marriage)))])]),a("li",[a("span",[t._v(" 民族:")]),a("span",[t._v(" "+t._s(t.tableForm.nationality))])])])])],1)],1),a("div",{staticClass:"bottom_box1"},[a("p",{staticStyle:{"font-weight":"700"}},[t._v("联系方式")]),a("el-row",{staticClass:"contet_box"},[a("el-col",{attrs:{span:12}},[a("ul",[a("li",[a("span",[t._v("电话:")]),a("span",[t._v(t._s(t.tableForm.patientPhone))])]),a("li",[a("span",[t._v(" 联系人电话:")]),a("span",[t._v(" "+t._s(t.tableForm.linkPhone))])])])]),a("el-col",{attrs:{span:12}},[a("ul",[a("li",[a("span",[t._v(" 家庭住址:")]),a("span",[t._v(" "+t._s(t.tableForm.homeAddress))])]),a("li",[a("span",[t._v(" 与患者关系:")]),a("span",[t._v(" "+t._s(t.tableForm.personalRelationship))])])])])],1)],1),a("div",{staticClass:"bottom_box1"},[a("p",{staticStyle:{"font-weight":"700"}},[t._v("患者信息")]),a("el-row",{staticClass:"contet_box"},[a("el-col",{attrs:{span:12}},[a("ul",[a("li",[a("span",[t._v("患者来源:")]),a("span",[t._v(t._s(t.initPatientSource(t.tableForm.patientSource)))])]),a("li",[a("span",[t._v(" 患者标签:")]),a("span",[t._v(" "+t._s(t.tableForm.patientTags))])]),a("li",[a("span",[t._v(" 家族史:")]),a("span",[t._v(" "+t._s(t.tableForm.familyHistory))])])])]),a("el-col",{attrs:{span:12}},[a("ul",[a("li",[a("span",[t._v(" 过敏史:")]),a("span",[t._v(" "+t._s(t.tableForm.allergyHistory))])]),a("li",[a("span",[t._v(" 既往史:")]),a("span",[t._v(" "+t._s(t.tableForm.pastHistory))])])])])],1)],1)])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:"second"==t.activeName,expression:"activeName == 'second'"}],staticClass:"over"},[a("div",{staticClass:"boxbox"},[a("div",{staticClass:"bottom_box"},[a("el-timeline",t._l(t.secondList,(function(e,i){return a("el-timeline-item",{key:i,attrs:{size:"large",timestamp:e.groupTime,placement:"top"}},[a("el-card",[a("div",{staticClass:"card_box"},[a("h3",[a("span",[t._v(" "+t._s(e.appointmentStartTime.split(" ")[1])+" - "+t._s(e.appointmentEndTime.split(" ")[1])+" "+t._s(1==e.visitType?"初诊预约":"复诊预约")+" ")]),1==e.appointmentStatus?a("el-tag",{staticClass:"tag_box",attrs:{color:"#649aff"}},[t._v(t._s(t.initPppointmentStatus(e.appointmentStatus)))]):t._e(),2==e.appointmentStatus?a("el-tag",{staticClass:"tag_box",attrs:{color:"#00f900"}},[t._v(t._s(t.initPppointmentStatus(e.appointmentStatus)))]):t._e(),3==e.appointmentStatus?a("el-tag",{staticClass:"tag_box",attrs:{color:"#b6d8b3"}},[t._v(t._s(t.initPppointmentStatus(e.appointmentStatus)))]):t._e(),4==e.appointmentStatus?a("el-tag",{staticClass:"tag_box",attrs:{color:"#fdc86a"}},[t._v(t._s(t.initPppointmentStatus(e.appointmentStatus)))]):t._e(),5==e.appointmentStatus?a("el-tag",{staticClass:"tag_box",attrs:{color:"#74a863"}},[t._v(t._s(t.initPppointmentStatus(e.appointmentStatus)))]):t._e(),6==e.appointmentStatus?a("el-tag",{staticClass:"tag_box",attrs:{color:"#ff8683"}},[t._v(t._s(t.initPppointmentStatus(e.appointmentStatus)))]):t._e(),7==e.appointmentStatus?a("el-tag",{staticClass:"tag_box",attrs:{color:"#8a8385"}},[t._v(t._s(t.initPppointmentStatus(e.appointmentStatus)))]):t._e(),8==e.appointmentStatus?a("el-tag",{staticClass:"tag_box",attrs:{color:"#c7c7c7"}},[t._v(t._s(t.initPppointmentStatus(e.appointmentStatus)))]):t._e()],1),a("el-row",{staticClass:"ccc"},[a("el-col",{staticStyle:{width:"100px"}},[t._v(" 预约科室: ")]),a("el-col",{attrs:{span:8}},[a("b",[t._v(" "+t._s(e.department)+" ")])]),a("el-col",{staticStyle:{width:"100px"}},[t._v(" 医生: ")]),a("el-col",{attrs:{span:8}},[a("b",[t._v(" "+t._s(e.attendingDoctor)+" ("+t._s(e.attendingDoctorDepCn)+") ")])])],1),a("el-row",{staticClass:"ccc"},[a("el-col",{staticStyle:{width:"100px"}},[t._v(" 项目: ")]),a("el-col",{attrs:{span:8}},[a("b"),t._v(" "+t._s(e.appointmentProject)+" ")]),a("el-col",{staticStyle:{width:"100px"}},[t._v(" 预约状态: ")]),a("el-col",{attrs:{span:8}},[t._v(" "+t._s(t.initPppointmentStatus(e.appointmentStatus))+" ")])],1),a("el-row",{staticClass:"ccc"},[a("el-col",{staticStyle:{width:"100px"}},[t._v(" 备注: ")]),a("el-col",{attrs:{span:20}},[t._v(" "+t._s(e.remark)+" ")])],1),a("el-row",{staticClass:"ccc"},[a("el-col",{staticStyle:{width:"100px"}},[t._v(" 创建时间: ")]),a("el-col",{attrs:{span:20}},[t._v(" "+t._s(e.createDate))])],1)],1)])],1)})),1)],1)])]),a("div",{directives:[{name:"show",rawName:"v-show",value:"third"==t.activeName,expression:"activeName == 'third'"}],staticClass:"over"},[a("div",{staticClass:"boxbox box_scoped"},[a("el-select",{staticStyle:{width:"100px","margin-bottom":"10px"},attrs:{size:"mini"},on:{change:t.initMedicalRecordList},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}},t._l(t.listOptions,(function(t){return a("el-option",{key:t.dictValue,attrs:{label:t.dictLabel,value:+t.dictValue}})})),1),a("el-timeline",t._l(t.list,(function(e,i){return a("el-timeline-item",{key:i,attrs:{timestamp:e.createDate,placement:"top",color:"#0bbd87"}},[a("el-card",[a("el-collapse",[a("el-collapse-item",[a("template",{slot:"title"},[a("div",{staticStyle:{display:"flex",width:"620px","align-items":"center",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("span",[t._v(" "+t._s(1==e.visitType?"初诊":"复诊")+" ")]),a("span",{staticClass:"span_heigth"}),a("span",[t._v(" 诊断:"+t._s(e.diagnosisContent)+" ")]),a("span",{staticClass:"span_heigth"}),a("span",[t._v(" 治疗:"+t._s(e.treatmentPlanningContent)+" ")])])]),a("div",{staticClass:"df_box"},[a("div",{staticClass:"left_box"},[a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 主诉: ")]),a("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(e.chiefComplaintContent)+" ")])]),a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 现病史: ")]),a("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(e.presentIllnessContent)+" ")])]),a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 既往史: ")]),a("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(Array.isArray(e.doctorPastHistory)&&e.doctorPastHistory.length>0?e.doctorPastHistory.join():"无")+" ")])]),a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 家族史: ")]),a("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(Array.isArray(e.doctorFamilyHistory)&&e.doctorFamilyHistory.length>0?e.doctorFamilyHistory.join():"无")+" ")])]),a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 过敏史: ")]),a("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(Array.isArray(e.doctorAllergyHistory)&&e.doctorAllergyHistory.length>0?e.doctorAllergyHistory.join():"无")+" ")])]),a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 检查: ")]),a("div",{staticStyle:{flex:"1",display:"flex","flex-direction":"column"}},[t._v(" "+t._s(e.inspectContent)+" ")])]),a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 诊断: ")]),a("div",{staticStyle:{flex:"1",display:"flex","flex-direction":"column"}},[t._v(" "+t._s(e.diagnosisContent)+" ")])]),a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 治疗计划: ")]),a("div",{staticStyle:{flex:"1",display:"flex","flex-direction":"column"}},[t._v(" "+t._s(e.treatmentPlanningContent)+" ")])]),a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 处置: ")]),a("div",{staticStyle:{flex:"1",display:"flex","flex-direction":"column"}},[t._v(" "+t._s(e.disposeContent)+" ")])]),a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 便签: ")]),a("div",{staticStyle:{flex:"1",display:"flex","flex-direction":"column"}},[t._v(" "+t._s(e.noteContent)+" ")])])]),a("div",{staticClass:"rigth_box"},[a("el-card",{staticStyle:{height:"100%",padding:"20px"}},[a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 科室: ")]),a("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(e.department)+" ")])]),a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 医生: ")]),a("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(e.attendingDoctorName)+" ")])]),a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 费用: ")]),a("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(e.cost)+" (元) ")])]),a("div",{staticStyle:{display:"flex","margin-top":"10px"}},[a("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 诊所: ")]),a("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(e.outpatientService)+" ")])])])],1)])],2)],1)],1)],1)})),1)],1)]),a("div",{directives:[{name:"show",rawName:"v-show",value:"fourth"==t.activeName,expression:"activeName == 'fourth'"}],staticClass:"over"},[a("div",{staticClass:"boxbox"},[a("div",{staticClass:"bottom_box"},[a("el-timeline",t._l(t.patientFollowUpList,(function(e,i){return a("el-timeline-item",{key:i,attrs:{size:"large",timestamp:e.createDate,placement:"top"}},[a("el-card",[a("div",{staticClass:"card_box",on:{click:function(a){return t.doclick(e)}}},[a("el-row",{staticClass:"ccc"},[a("el-col",{staticStyle:{width:"100px"}},[t._v(" 就诊时间: ")]),a("el-col",{attrs:{span:8}},[t._v(" "+t._s(e.appointmentStartTime)+" ")]),a("el-col",{staticStyle:{width:"100px"}},[t._v(" 回访时间: ")]),a("el-col",{attrs:{span:8}},[t._v(" "+t._s(e.followUpTime)+" ")])],1),a("el-row",{staticClass:"ccc"},[a("el-col",{staticStyle:{width:"100px"}},[t._v(" 回访人: ")]),a("el-col",{attrs:{span:8}},[t._v(" "+t._s(e.followUpUser)+" ")]),a("el-col",{staticStyle:{width:"100px"}},[t._v(" 回访状态: ")]),a("el-col",{attrs:{span:8}},[t._v(" "+t._s(1==e.followUpStatus?"已回访":"未回访")+" ")])],1),a("el-row",{staticClass:"ccc"},[a("el-col",{staticStyle:{width:"100px"}},[t._v(" 回访类型: ")]),a("el-col",{attrs:{span:20}},[t._v(" "+t._s(t.initType(e.followUpType))+" ")])],1),a("el-row",{staticClass:"ccc"},[a("el-col",{staticStyle:{width:"100px"}},[t._v(" 回访内容: ")]),a("el-col",{attrs:{span:20}},[t._v(" "+t._s(e.followUpContent))])],1),a("el-row",{staticClass:"ccc"},[a("el-col",{staticStyle:{width:"100px"}},[t._v(" 回访结果: ")]),a("el-col",{attrs:{span:20}},[t._v(" "+t._s(e.followUpResult))])],1)],1)])],1)})),1)],1)])])]),a("div",{staticClass:"right_box"},[a("h3",{staticClass:"title_box"},[t._v("回访信息")]),a("el-form",{ref:"formRef",attrs:{model:t.form,rules:t.rules,"label-width":"100px","label-position":"right"}},[a("el-form-item",{attrs:{label:"就诊时间:"}},[t._v(" "+t._s(t.appointmentStartTime)+" ")]),a("el-form-item",{attrs:{label:"回访时间:",prop:"followUpTime"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"选择日期时间","picker-options":{disabledDate:function(t){return t.getTime()