1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-be052f88","chunk-cfc5eb48"],{"0402":function(t,e,a){"use strict";a("2d1e")},"2d1e":function(t,e,a){},"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:}}}}},b827:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.recordDetailFlag?a("el-dialog",{attrs:{title:"就诊详情",visible:t.recordDetailFlag,width:"1200px","close-on-press-escape":!1,"close-on-click-modal":!1,"before-close":t.cancel},on:{"update:visible":function(e){t.recordDetailFlag=e}}},[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(t.recordDetailObj.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(t.recordDetailObj.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(t.recordDetailObj.doctorPastHistory.length>0?t.recordDetailObj.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(t.recordDetailObj.doctorFamilyHistory.length>0?t.recordDetailObj.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(t.recordDetailObj.doctorAllergyHistory.length>0?t.recordDetailObj.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(t.recordDetailObj.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(t.recordDetailObj.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(t.recordDetailObj.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(t.recordDetailObj.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(t.recordDetailObj.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(t.recordDetailObj.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(t.recordDetailObj.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(t.recordDetailObj.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(t.recordDetailObj.outpatientService)+" ")])])])],1)])]):t._e()],1)},i=[],n=a("46f9"),l={name:"EitcErmPcRecordDetailDialog",mixins:[n["a"]],props:{recordDetailFlag:{type:Boolean,default:!1},recordDetailObj:{type:Object,default:{}}},data:function(){return{}},mounted:function(){},methods:{cancel:function(){this.$emit("cancelAll")}}},c=l,o=(a("0402"),a("2877")),s=Object(o["a"])(c,r,i,!1,null,"136e56a1",null);e["default"]=s.exports},f977:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("div",[a("el-input",{staticStyle:{width:"300px","margin-bottom":"20px"},attrs:{placeholder:"输入患者姓名/医生/内容",clearable:""},model:{value:t.queryParams.searchParam,callback:function(e){t.$set(t.queryParams,"searchParam",e)},expression:"queryParams.searchParam"}}),a("el-button",{attrs:{icon:"el-icon-search"},on:{click:t.initList}})],1),a("el-table",{attrs:{data:t.tableData,border:""}},[a("el-table-column",{attrs:{label:"患者姓名","show-overflow-tooltip":"",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(" "+t._s(a.patientName)+" ")]}}])}),a("el-table-column",{attrs:{label:"就诊时间","show-overflow-tooltip":"",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(" "+t._s(a.createDate)+" ")]}}])}),a("el-table-column",{attrs:{label:"就诊类型","show-overflow-tooltip":"",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(" "+t._s(1==a.visitType?"初诊":"复诊")+" ")]}}])}),a("el-table-column",{attrs:{label:"牙位","show-overflow-tooltip":"",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(" "+t._s(t.initToothPosition(a.toothPosition))+" ")]}}])}),a("el-table-column",{attrs:{label:"科室","show-overflow-tooltip":"",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(" "+t._s(a.department)+" ")]}}])}),a("el-table-column",{attrs:{label:"医生","show-overflow-tooltip":"",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(" "+t._s(a.attendingDoctorName)+" ")]}}])}),a("el-table-column",{attrs:{label:"操作","show-overflow-tooltip":"",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[a("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){return t.look(r)}}},[t._v("查看")])]}}])})],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(e){return t.$set(t.queryParams,"pageNum",e)},"update:limit":function(e){return t.$set(t.queryParams,"pageSize",e)},pagination:t.initList}}),a("recordDetailDialog",{attrs:{recordDetailObj:t.recordDetailObj,recordDetailFlag:t.recordDetailFlag},on:{cancelAll:t.cancelAll}})],1)},i=[],n=a("c7eb"),l=a("1da1"),c=a("943d"),o=a("46f9"),s=a("b827"),u={name:"EitcErmPcIndex",mixins:[o["a"]],components:{recordDetailDialog:s["default"]},data:function(){return{queryParams:{pageNum:1,pageSize:10,searchParam:""},recordDetailFlag:!1,tableData:[],recordDetailObj:{},total:0}},mounted:function(){this.initList()},methods:{initList:function(){var t=this;return Object(l["a"])(Object(n["a"])().mark((function e(){var a;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["Zb"])(t.queryParams);case 2:if(a=e.sent,200===a.code){e.next=5;break}return e.abrupt("return",t.$message.error(a.msg));case 5:t.tableData=a.rows,t.total=a.total;case 7:case"end":return e.stop()}}),e)})))()},look:function(t){var e=this;return Object(l["a"])(Object(n["a"])().mark((function a(){var r;return Object(n["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(c["Yb"])(t.id);case 2:r=a.sent,e.recordDetailObj=r.data,e.recordDetailFlag=!0,console.log(e.recordDetailObj);case 6:case"end":return a.stop()}}),a)})))()},cancelAll:function(){this.recordDetailFlag=!1}}},d=u,f=a("2877"),p=Object(f["a"])(d,r,i,!1,null,"2d532b5c",null);e["default"]=p.exports}}]);
|