(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-10981a68"],{"2d4c":function(t,e,n){"use strict";n("5d5e")},"46f9":function(t,e,n){"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"上左牙位8";case"upLeft2":return"上左牙位7";case"upLeft3":return"上左牙位6";case"upLeft4":return"上左牙位5";case"upLeft5":return"上左牙位4";case"upLeft6":return"上左牙位3";case"upLeft7":return"上左牙位2";case"upLeft8":return"上左牙位1";case"upRight1":return"上右牙位1";case"upRight2":return"上右牙位2";case"upRight3":return"上右牙位3";case"upRight4":return"上右牙位4";case"upRight5":return"上右牙位5";case"upRight6":return"上右牙位6";case"upRight7":return"上右牙位7";case"upRight8":return"上右牙位8";case"downLeft1":return"下左牙位1";case"downLeft1":return"下左牙位2";case"downLeft1":return"下左牙位3";case"downLeft1":return"下左牙位4";case"downLeft1":return"下左牙位5";case"downLeft1":return"下左牙位6";case"downLeft1":return"下左牙位7";case"downLeft1":return"下左牙位8";case"downRigth1":return"下左牙位1";case"downRigth2":return"下左牙位2";case"downRigth3":return"下左牙位3";case"downRigth4":return"下左牙位4";case"downRigth5":return"下左牙位5";case"downRigth6":return"下左牙位6";case"downRigth7":return"下左牙位7";case"downRigth8":return"下左牙位8";default:return""}},initBgc:function(t){switch(t){case 1:return"#0077fa";case 2:return"#00f900";case 3:return"#4f9de7";case 4:return"#93d2f3";case 5:return"#fb881a";case 6:return"#1afb91";case 7:return"#8a8385";case 8:return"#cbcbcb";default:}}}}},"4c18":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-select",{staticStyle:{width:"100px","margin-bottom":"10px"},attrs:{size:"mini"},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}},[n("el-option",{attrs:{label:"一个月",value:"一个月"}}),n("el-option",{attrs:{label:"三个月",value:"三个月"}}),n("el-option",{attrs:{label:"六个月",value:"六个月"}}),n("el-option",{attrs:{label:"一年",value:"一年"}})],1),n("el-timeline",t._l(t.list,(function(e,i){return n("el-timeline-item",{key:i,attrs:{timestamp:e.createDate,placement:"top",color:"#0bbd87"}},[n("el-card",[n("el-collapse",[n("el-collapse-item",{},[n("template",{slot:"title"},[n("div",{staticStyle:{display:"flex","align-items":"center"},on:{click:function(n){return t.isEdit(e,i)}}},[n("span",[t._v(" "+t._s(1==e.visitType?"初诊":"复诊")+"病历 ")]),n("span",{staticClass:"span_heigth"}),n("span",[t._v(" 诊断:"+t._s(e.diagnosisTypeCn)+" ")]),n("span",{staticClass:"span_heigth"}),n("span",[t._v(" 治疗:"+t._s(e.treatment)+" ")])]),2==e.status?n("div",{staticClass:"zhang_box"},[t._v("已完成治疗")]):t._e()]),n("div",{staticClass:"df_box"},[n("div",{staticClass:"left_box"},[n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v("主诉:")]),n("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.initToothPosition(e.dataList[0].toothPosition))+" "+t._s(e.dataList[0].data[0].contentInfo)+" ")])]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v("现病史:")]),n("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.initToothPosition(e.dataList[0].toothPosition))+" "+t._s(e.dataList[0].data[1].contentInfo)+" ")])]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v("既往史:")]),n("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(e.dataList[0].data[2].formattedPartsList.length>0?e.dataList[0].data[2].formattedPartsList.join():"无")+" ")])]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v("家族史:")]),n("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(e.dataList[0].data[3].formattedPartsList.length>0?e.dataList[0].data[2].formattedPartsList.join():"无")+" ")])]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v("过敏史:")]),n("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(e.dataList[0].data[4].formattedPartsList.length>0?e.dataList[0].data[2].formattedPartsList.join():"无")+" ")])]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 检查: ")]),n("div",{staticStyle:{flex:"1",display:"flex","flex-direction":"column"}},t._l(e.dataList,(function(i,a){return n("span",{key:a,staticStyle:{"margin-top":"5px"}},[t._v(" "+t._s(t.initToothPosition(e.dataList[a].toothPosition))+" "+t._s(i.data[5].contentInfo)+" ")])})),0)]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" X线片示(影像): ")]),n("div",{staticStyle:{flex:"1",display:"flex","flex-direction":"column"}},t._l(e.dataList,(function(i,a){return n("span",{key:a,staticStyle:{"margin-top":"5px"}},[t._v(" "+t._s(t.initToothPosition(e.dataList[a].toothPosition))+" "+t._s(i.data[6].contentInfo)+" ")])})),0)]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v("诊断:")]),n("div",{staticStyle:{flex:"1",display:"flex","flex-direction":"column"}},t._l(e.dataList,(function(i,a){return n("span",{key:a,staticStyle:{"margin-top":"5px"}},[t._v(" "+t._s(t.initToothPosition(e.dataList[a].toothPosition))+" "+t._s(i.data[7].contentInfo)+" ")])})),0)]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v("治疗计划:")]),n("div",{staticStyle:{flex:"1",display:"flex","flex-direction":"column"}},t._l(e.dataList,(function(i,a){return n("span",{key:a,staticStyle:{"margin-top":"5px"}},[t._v(" "+t._s(t.initToothPosition(e.dataList[a].toothPosition))+" "+t._s(i.data[8].contentInfo)+" ")])})),0)]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v(" 处置(基础模版公用): ")]),n("div",{staticStyle:{flex:"1",display:"flex","flex-direction":"column"}},t._l(e.dataList,(function(i,a){return n("span",{key:a,staticStyle:{"margin-top":"5px"}},[t._v(" "+t._s(t.initToothPosition(e.dataList[a].toothPosition))+" "+t._s(i.data[9].contentInfo)+" ")])})),0)]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v("处置:")]),n("div",{staticStyle:{flex:"1",display:"flex","flex-direction":"column"}},t._l(e.dataList,(function(i,a){return n("span",{key:a,staticStyle:{"margin-top":"5px"}},[t._v(" "+t._s(t.initToothPosition(e.dataList[a].toothPosition))+" "+t._s(i.data[10].contentInfo)+" ")])})),0)]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v("医嘱:")]),n("div",{staticStyle:{flex:"1",display:"flex","flex-direction":"column"}},t._l(e.dataList,(function(i,a){return n("span",{key:a,staticStyle:{"margin-top":"5px"}},[t._v(" "+t._s(t.initToothPosition(e.dataList[a].toothPosition))+" "+t._s(i.data[11].contentInfo)+" ")])})),0)])]),n("div",{staticClass:"rigth_box"},[n("el-card",{staticStyle:{height:"100%",padding:"20px"}},[n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v("科室:")]),n("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.list[0].department)+" ")])]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v("医生:")]),n("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.list[0].attendingDoctorName)+" ")])]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v("费用:")]),n("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.list[0].cost)+" ")])]),n("div",{staticStyle:{display:"flex","margin-top":"10px"}},[n("div",{staticStyle:{width:"80px","font-weight":"700"}},[t._v("诊所:")]),n("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(t.list[0].clinicName)+" ")])])])],1)])],2)],1)],1)],1)})),1)],1)},a=[],r=n("c7eb"),o=n("1da1"),s=n("943d"),c=n("46f9"),u={name:"EitcErmPcIndex",mixins:[c["a"]],props:{ids:{type:String,default:""}},data:function(){return{date:"一个月",list:[]}},mounted:function(){this.initMedicalRecordList()},methods:{initMedicalRecordList:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var n;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["B"])({patientId:t.ids});case 2:n=e.sent,t.list=n.data;case 4:case"end":return e.stop()}}),e)})))()},handleChange:function(t){console.log(t)},isEdit:function(t,e){1==t.status?this.editDetail(t,e):this.lookDetail(t,e)},editDetail:function(t,e){this.$emit("editDetail",t,e)},lookDetail:function(t,e){console.log(t,e,88888),this.$emit("lookDetail",t,e)}}},d=u,l=(n("2d4c"),n("2877")),p=Object(l["a"])(d,i,a,!1,null,"77c9f040",null);e["default"]=p.exports},"5d5e":function(t,e,n){},"943d":function(t,e,n){"use strict";n.d(e,"p",(function(){return a})),n.d(e,"g",(function(){return r})),n.d(e,"r",(function(){return o})),n.d(e,"f",(function(){return s})),n.d(e,"q",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"s",(function(){return d})),n.d(e,"h",(function(){return l})),n.d(e,"u",(function(){return p})),n.d(e,"A",(function(){return f})),n.d(e,"e",(function(){return m})),n.d(e,"t",(function(){return h})),n.d(e,"L",(function(){return y})),n.d(e,"v",(function(){return g})),n.d(e,"i",(function(){return v})),n.d(e,"z",(function(){return _})),n.d(e,"o",(function(){return x})),n.d(e,"d",(function(){return b})),n.d(e,"K",(function(){return j})),n.d(e,"P",(function(){return w})),n.d(e,"O",(function(){return S})),n.d(e,"N",(function(){return O})),n.d(e,"S",(function(){return L})),n.d(e,"M",(function(){return P})),n.d(e,"Q",(function(){return R})),n.d(e,"T",(function(){return T})),n.d(e,"U",(function(){return k})),n.d(e,"V",(function(){return I})),n.d(e,"R",(function(){return A})),n.d(e,"D",(function(){return C})),n.d(e,"G",(function(){return D})),n.d(e,"F",(function(){return B})),n.d(e,"E",(function(){return E})),n.d(e,"B",(function(){return M})),n.d(e,"H",(function(){return N})),n.d(e,"a",(function(){return z})),n.d(e,"m",(function(){return J})),n.d(e,"n",(function(){return $})),n.d(e,"J",(function(){return G})),n.d(e,"I",(function(){return H})),n.d(e,"b",(function(){return q})),n.d(e,"w",(function(){return F})),n.d(e,"C",(function(){return K})),n.d(e,"W",(function(){return Q})),n.d(e,"j",(function(){return U})),n.d(e,"x",(function(){return V})),n.d(e,"y",(function(){return W})),n.d(e,"l",(function(){return X})),n.d(e,"k",(function(){return Y}));var i=n("b775");function a(t){return Object(i["a"])({url:"/system/diagnosis-type/tree",method:"get",params:t})}function r(t){return Object(i["a"])({url:"/project/appointment-project/tree",method:"get",params:t})}function o(t){return Object(i["a"])({url:"/system/diagnosis-type/remove?ids=".concat(t.ids),method:"delete"})}function s(t){return Object(i["a"])({url:"/project/appointment-project/remove?ids=".concat(t.ids),method:"delete"})}function c(t){return Object(i["a"])({url:"/system/diagnosis-type",method:"post",data:t})}function u(t){return Object(i["a"])({url:"/project/appointment-project",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/system/diagnosis-type",method:"put",data:t})}function l(t){return Object(i["a"])({url:"/project/appointment-project",method:"put",data:t})}function p(t){return Object(i["a"])({url:"/system/diagnosis-type-template/list",method:"get",params:t})}function f(t){return Object(i["a"])({url:"/system/diagnosis-type-template/listToPatientId",method:"get",params:t})}function m(t){return Object(i["a"])({url:"/project/appointment-project/list",method:"get",params:t})}function h(t){return Object(i["a"])({url:"/system/diagnosis-type-template",method:"post",data:t})}function y(){return Object(i["a"])({url:"/system/dict/data/type/erm_diagnosis_type_template_name",method:"get"})}function g(t){return Object(i["a"])({url:"/system/diagnosis-type-template",method:"put",data:t})}function v(t){return Object(i["a"])({url:"/project/appointment-project",method:"put",data:t})}function _(t){return Object(i["a"])({url:"/system/diagnosis-type-template/importTemplate",method:"post",data:t,responseType:"blob",timeOut:6e4})}function x(t){return Object(i["a"])({url:"/system/diagnosis-type/crumb",method:"get",params:t})}function b(t){return Object(i["a"])({url:"/project/appointment-project/crumb",method:"get",params:t})}function j(){return Object(i["a"])({url:"/system/dict/data/type/erm_citizenship",method:"get"})}function w(){return Object(i["a"])({url:"/system/dict/data/type/erm_occupation",method:"get"})}function S(){return Object(i["a"])({url:"/system/dict/data/type/erm_nationality",method:"get"})}function O(){return Object(i["a"])({url:"/system/dict/data/type/erm_marriage",method:"get"})}function L(){return Object(i["a"])({url:"/system/dict/data/type/erm_patient_source",method:"get"})}function P(){return Object(i["a"])({url:"/system/dict/data/type/erm_family_history",method:"get"})}function R(){return Object(i["a"])({url:"/system/dict/data/type/erm_past_history",method:"get"})}function T(){return Object(i["a"])({url:"/system/dict/data/type/erm_patient_tags",method:"get"})}function k(){return Object(i["a"])({url:"/system/dict/data/type/erm_personal_relationship",method:"get"})}function I(){return Object(i["a"])({url:"/system/dict/data/type/erm_reservation_status",method:"get"})}function A(){return Object(i["a"])({url:"/system/dict/data/type/erm_patient_blood",method:"get"})}function C(t){return Object(i["a"])({url:"/patient/patient",method:"post",data:t})}function D(){return Object(i["a"])({url:"/patient/patient/list",method:"get"})}function B(t){return Object(i["a"])({url:"/patient/patient/detail",method:"get",params:t})}function E(t){return Object(i["a"])({url:"/patientAppointment/patientAppointment-appointment/list",method:"get",params:t})}function M(t){return Object(i["a"])({url:"/patient/medical-record/list",method:"get",params:t})}function N(t){return Object(i["a"])({url:"/patient/medical-record",method:"post",data:t})}function z(){return Object(i["a"])({url:"/system/user/allList",method:"get"})}function J(){return Object(i["a"])({url:"/system/user/deptTree",method:"get"})}function $(t){return Object(i["a"])({url:"/system/user/deptTreeByName?deptName=".concat(t),method:"get"})}function G(t){return Object(i["a"])({url:"/patient/medical-record/detail?id=".concat(t),method:"get"})}function H(){return Object(i["a"])({url:"/project/appointment-project/list",method:"get"})}function q(t){return Object(i["a"])({url:"/patientAppointment/patientAppointment-appointment",method:"post",data:t})}function F(){return Object(i["a"])({url:"/doctor/list",method:"get"})}function K(t){return Object(i["a"])({url:"/patientAppointment/patientAppointment-appointment/modifyState",method:"post",data:t})}function Q(t){return Object(i["a"])({url:"/patient/medical-record/teethListByPatientId",method:"get",params:t})}function U(t){return Object(i["a"])({url:"/system/business-dict-data/list?dictType=".concat(t),method:"get"})}function V(t){return Object(i["a"])({url:"/patient/medical-record/findMedicalInfo?medicalRecordId=".concat(t),method:"get"})}function W(t){return Object(i["a"])({url:"/patient/medical-record/html2Pdf",method:"post",responseType:"blob",data:t,timeout:3e5})}function X(t){return Object(i["a"])({url:"/system/business-dict-data",method:"put",data:t})}function Y(t){return Object(i["a"])({url:"/system/business-dict-data",method:"post",data:t})}}}]);