webpackJsonp([13],{Pdly:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("F4+m"),n=a("2Hum");var r=a("55us"),l={name:"LogPage",mixins:[i.a],data:function(){return{searchForm:{operateType:"",time:[]},patientTypeList:[],tableData:{loading:!1,head:[{name:"患者姓名",key:"patientName",sortable:!1,width:"100",fixed:!1},{name:"性别",key:"sex",sortable:!1,width:"80",fixed:!1,formatter:function(e,t,a,i){return 1===a?"男":2===a?"女":""}},{name:"身份证号",key:"identityNumber",sortable:!1,width:"180",fixed:!1},{name:"120急救申请时间",key:"firstAidApplicationTime",sortable:!1,width:"200",fixed:!1},{name:"车牌号",key:"licensePlateNumber",sortable:!1,width:"100",fixed:!1},{name:"申请机构",key:"applicant",sortable:!1,width:"100",fixed:!1},{name:"接诊医院",key:"clinicalHospital",sortable:!1,width:"100",fixed:!1},{name:"请求绿道",key:"patientType",sortable:!1,width:"100",fixed:!1,formatter:function(e,t,a,i){return["","胸痛中心","卒中中心","创伤中心","烧伤中心"][a]||""}},{name:"院前诊断",key:"preHospitalDiagnosis",sortable:!1,width:"100",fixed:!1}],body:[],option:[],condition:[]}}},mounted:function(){var e=this;Object(r.a)(["patient_type"]).then(function(t){e.patientTypeList=t.patient_type}),this.search()},methods:{getTableData:function(){var e=this;this.tableData.loading=!0;var t={patientType:this.searchForm.patientType,pageNo:this.pageNum,pageSize:this.pageSize};this.searchForm.time&&2===this.searchForm.time.length&&(t.time=this.searchForm.time[0]+"_"+this.searchForm.time[1]),function(e){return Object(n.a)({url:"/api/team/pre/queryIntegrationList",method:"POST",data:e})}(t).then(function(t){201==t.msg?e.dealTableResponse(t):e.$message.error(t.content)})},logTypeFormatter:function(e,t,a,i){var n=this.logTypeList.find(function(e){return e.val===a});return n?n.name:""}}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"main-page"},[a("div",{staticClass:"main-page-header"},[a("p",{staticClass:"title"},[e._v("院前急救信息")]),e._v(" "),a("el-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm,size:"small"}},[a("el-form-item",{attrs:{prop:"patientType",label:"病种"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择病种",clearable:!0},model:{value:e.searchForm.patientType,callback:function(t){e.$set(e.searchForm,"patientType",t)},expression:"searchForm.patientType"}},e._l(e.patientTypeList,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.val}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"time",label:"急救时间"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetimerange","start-placeholder":"开始日期","end-placeholder":"结束日期","prefix-icon":"el-icon-date",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:e.searchForm.time,callback:function(t){e.$set(e.searchForm,"time",t)},expression:"searchForm.time"}})],1),e._v(" "),a("div",{staticClass:"btns"},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.search}},[e._v("查询")]),e._v(" "),a("el-button",{attrs:{size:"small"},on:{click:function(t){return e.resetForm("searchForm")}}},[e._v("重置")])],1)],1)],1),e._v(" "),a("div",{staticClass:"main-page-body"},[a("div",{staticClass:"mainContent"},[a("table-mixin",{attrs:{pageSize:e.pageSize,pageNum:e.pageNum,total:e.total,pagination:e.pagination,handleSizeChange:e.handleSizeChange,handleCurrentChange:e.handleCurrentChange}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.tableData.loading,expression:"tableData.loading"}],attrs:{data:e.tableData.body},on:{"sort-change":e.handleSortChange}},[a("div",{staticClass:"noData",attrs:{slot:"empty"},slot:"empty"}),e._v(" "),a("el-table-column",{attrs:{label:"序号",type:"index","min-width":"50"}}),e._v(" "),e._l(e.tableData.head,function(e,t){return a("el-table-column",{key:t,attrs:{prop:e.key,label:e.name,align:"left",formatter:e.formatter,sortable:e.sortable,fixed:e.fixed,"min-width":e.width,"show-overflow-tooltip":!0}})}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"left",width:"auto","min-width":"200px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-link",{attrs:{type:"primary"}},[e._v("查看详情")])]}}])})],2)],1)],1)])])},staticRenderFns:[]};var o=a("C7Lr")(l,s,!1,function(e){a("ZxFU")},"data-v-7c336dca",null);t.default=o.exports},ZxFU:function(e,t){}});
//# sourceMappingURL=13.1a444544fcdc06969360.1629880373763.js.map