webpackJsonp([13],{"nd/S":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("2sCs"),l=a.n(n),i=a("6iV/"),s=a.n(i),o=a("0xDb"),r={name:"",components:{Axios:l.a,qs:s.a},data:function(){return{page:1,pageSize:10,formInline:{user:"",region:"",ID:"",checknum:"",checkclass:""},form:{name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""},tableData:[],tableDatas:[],currentPage1:5,currentPage2:5,currentPage3:5,currentPage4:4,formInlineCheckclass:[],value3:!1,pickerOptions2:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),e.$emit("pick",[a,t])}}]},value7:""}},filters:{myCurrency:function(e){return 1===e?e="登记":2===e?e="提交检查":3===e?e="检查完毕":4===e?e="申请":5===e?e="驳回":6===e?e="接收":7===e?e="初步报告":8===e?e="申请报告":9===e&&(e="确诊"),e},myImage:function(e){return e>=3?e="已到达":e<3&&(e="无"),e}},methods:{onSizeChange:function(e){this.pageSize=e,this.getDatas()},onCurrentChange:function(e){this.page=e,this.getDatas()},onSubmit:function(){console.log("submit!")},tableRowClassName:function(e){e.row;var t=e.rowIndex;return 1===t?"warning-row":3===t?"success-row":""},handleSizeChange:function(e){console.log("每页 "+e+" 条")},handleCurrentChange:function(e){console.log("当前页: "+e)},handleClick:function(e){console.log(e),this.$router.push({path:"/remotereport/edit/6",component:function(){return a.e(0).then(a.bind(null,"tBYD"))},query:{id:e.id,is_remote:0}})},applys:function(e,t,n){this.$router.push({path:"/remotereport/edit/6",component:function(){return a.e(21).then(a.bind(null,"dtWk"))},query:{sessionid:Object(o.e)(),id:e.id,is_remote:0,exam_class:e.exam_class}}),console.log(e),l.a.post("http://rds.pacsonline.cn/inter/application ",s.a.stringify({is_remote:0,sessionid:Object(o.e)(),param:{id:e.id}})).then(function(e){console.log(e)}).catch(function(e){console.log(e)})},search:function(){var e=this;l.a.post("http://rds.pacsonline.cn/inter/report",s.a.stringify({is_remote:0,sessionid:Object(o.e)(),page:this.page,num:this.pageSize,param:{name:this.formInline.user,id:this.formInline.ID,accession_num:this.formInline.checknum,exam_status:this.formInline.region,exam_class:this.formInlineCheckclass.lell,urgent:this.value3,exam_datetime:this.value7}})).then(function(t){console.log(t),e.tableDatas=t.data.info,e.tableData=e.tableDatas}).catch(function(e){console.log(e)})}},mounted:function(){var e=this;l.a.post("http://rds.pacsonline.cn/inter/report",s.a.stringify({sessionid:Object(o.e)(),is_remote:0,page:this.page,num:this.pageSize})).then(function(t){console.log(t),e.tableData=t.data.info,"1"===t.data.info.exam_status?t.data.info.exam_status="登记":"2"===t.data.info.exam_status?t.data.info.exam_status="提交检查":"3"===t.data.info.exam_status?t.data.info.exam_status="检查完毕":"4"===t.data.info.exam_status?t.data.info.exam_status="申请":"5"===t.data.info.exam_status?t.data.info.exam_status="驳回":"6"===t.data.info.exam_status?t.data.info.exam_status="接收":"7"===t.data.info.exam_status?t.data.info.exam_status="初步报告":"8"===t.data.info.exam_status?t.data.info.exam_status="审核报告":"9"===t.data.info.exam_status&&(t.data.info.exam_status="确诊")}).catch(function(e){console.log(e)}),l.a.post("http://rds.pacsonline.cn/inter/inspectregister/exam_class",s.a.stringify({sessionid:Object(o.e)()})).then(function(t){console.log(t),"0000"===t.data.code?e.formInlineCheckclass=t.data.info:e.$message({message:"您操作太频繁,请刷新网页后继续",type:"warning"})}).catch(function(e){console.log(e)})}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"querycriteria"},[a("div",{staticClass:"title"},[a("div",{staticClass:"firstline",staticStyle:{"max-width":"240px","min-width":"230px"}},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[a("el-form-item",{attrs:{label:"姓名"}},[a("el-input",{attrs:{placeholder:"姓名"},model:{value:e.formInline.user,callback:function(t){e.$set(e.formInline,"user",t)},expression:"formInline.user"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"firstline",staticStyle:{"max-width":"240px","min-width":"230px"}},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[a("el-form-item",{attrs:{label:"ID号",max:"160px"}},[a("el-input",{attrs:{placeholder:"ID号"},model:{value:e.formInline.ID,callback:function(t){e.$set(e.formInline,"ID",t)},expression:"formInline.ID"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"firstline",staticStyle:{"max-width":"250px","min-width":"230px"}},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[a("el-form-item",{staticStyle:{"margin-right":"-18px!important"},attrs:{label:"检查类别"}},[a("el-select",{staticStyle:{"margin-left":"-5px"},attrs:{placeholder:"CT"},model:{value:e.formInlineCheckclass.lell,callback:function(t){e.$set(e.formInlineCheckclass,"lell",t)},expression:"formInlineCheckclass.lell"}},e._l(e.formInlineCheckclass,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}))],1)],1)],1),e._v(" "),a("div",{staticClass:"firstline",staticStyle:{"max-width":"240px","min-width":"230px","margin-left":"40px"}},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[a("el-form-item",{staticStyle:{"margin-right":"0!important"},attrs:{label:"检查号"}},[a("el-input",{staticStyle:{"margin-left":"-5px"},attrs:{placeholder:"检查号"},model:{value:e.formInline.checknum,callback:function(t){e.$set(e.formInline,"checknum",t)},expression:"formInline.checknum"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"Secondlines",staticStyle:{"margin-left":"10px"}},[a("el-date-picker",{attrs:{type:"daterange",align:"right","unlink-panels":"","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":e.pickerOptions2,format:"yyyy-MM-dd","value-format":"yyyy-MM-dd"},model:{value:e.value7,callback:function(t){e.value7=t},expression:"value7"}})],1),e._v(" "),a("div",{staticClass:"SecondlinesTwo"},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[a("el-form-item",{staticStyle:{"margin-right":"0!important"},attrs:{label:"检查状态"}},[a("el-select",{attrs:{placeholder:"登记"},model:{value:e.formInline.region,callback:function(t){e.$set(e.formInline,"region",t)},expression:"formInline.region"}},[a("el-option",{attrs:{label:"登记",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"提交检查",value:"2"}}),e._v(" "),a("el-option",{attrs:{label:"检查完毕",value:"3"}}),e._v(" "),a("el-option",{attrs:{label:"申请",value:"4"}}),e._v(" "),a("el-option",{attrs:{label:"驳回",value:"5"}}),e._v(" "),a("el-option",{attrs:{label:"接收",value:"6"}}),e._v(" "),a("el-option",{attrs:{label:"初步报告",value:"7"}}),e._v(" "),a("el-option",{attrs:{label:"申请报告",value:"8"}}),e._v(" "),a("el-option",{attrs:{label:"确诊",value:"9"}})],1)],1)],1)],1),e._v(" "),a("div",{staticClass:"treatment"},[a("el-switch",{attrs:{"inactive-text":"急诊"},model:{value:e.value3,callback:function(t){e.value3=t},expression:"value3"}})],1),e._v(" "),a("div",{staticClass:"SecondlinesThress"},[a("el-row",[a("el-button",{attrs:{type:"primary"},on:{click:e.search}},[e._v("搜索")])],1)],1)]),e._v(" "),a("div",{staticClass:"content"},[[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,border:"","max-height":"500"},on:{"row-click":e.applys}},[a("el-table-column",{attrs:{prop:"patient_num",label:"病例号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"exam_status",label:"诊断状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("myCurrency")(t.row.exam_status))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"姓名"}}),e._v(" "),a("el-table-column",{attrs:{prop:"sex",label:"性别"}}),e._v(" "),a("el-table-column",{attrs:{prop:"age",label:"年龄"}}),e._v(" "),a("el-table-column",{attrs:{prop:"exam_datetime",label:"检查时间"}}),e._v(" "),a("el-table-column",{attrs:{prop:"exam_project",label:"检查项目"}}),e._v(" "),a("el-table-column",{attrs:{prop:"exam_status",label:"图像"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("myImage")(t.row.exam_status))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"report_datetime",label:"报告时间"}}),e._v(" "),a("el-table-column",{attrs:{prop:"report_doctor",label:"报告医生"}}),e._v(" "),a("el-table-column",{attrs:{prop:"institution_name",label:"报告医院"}}),e._v(" "),a("el-table-column",{attrs:{fixed:"right",label:"操作",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{staticStyle:{float:"left"},attrs:{type:"text",size:"small"}},[e._v("查看")]),e._v(" "),a("el-button",{staticStyle:{float:"left"},attrs:{type:"text",size:"small"}},[e._v("图像")]),e._v(" "),a("el-button",{staticStyle:{float:"left"},attrs:{type:"text",size:"small"}},[e._v("申请")])]}}])})],1)]],2),e._v(" "),a("div",{staticClass:"buttom",staticStyle:{"margin-top":"20px"}},[a("div",{staticClass:"block"},[a("el-pagination",{staticClass:"pageTop",attrs:{"current-page":e.page,"page-sizes":[10,30,50,100],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:400},on:{"size-change":e.onSizeChange,"current-change":e.onCurrentChange}})],1)])])])},staticRenderFns:[]};var m=a("vSla")(r,c,!1,function(e){a("nrAq")},"data-v-29bb2ee1",null);t.default=m.exports},nrAq:function(e,t,a){var n=a("q1mu");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);a("8bSs")("4a63bb68",n,!0)},q1mu:function(e,t,a){(e.exports=a("BkJT")(!1)).push([e.i,"\n.querycriteria[data-v-29bb2ee1]{\n width: 100%;\n border: 1px solid #ebeef5;\n background-color: #fff;\n -webkit-box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);\n box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);\n color: #303133;\n}\n.title[data-v-29bb2ee1]{\n width: 100%;\n height: 128px;\n border: 1px solid #ebeef5;\n background-color: #fff;\n -webkit-box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);\n box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);\n color: #303133;\n}\n.title .firstline[data-v-29bb2ee1]{\n width: 24%;\n margin-top: 15px;\n margin-left: 10px;\n float: left;\n}\n.Secondlines[data-v-29bb2ee1]{\n width: 30%;\n float: left;\n}\n.SecondlinesTwo[data-v-29bb2ee1]{\n width: 25%;\n float: left;\n margin-left: 5%;\n}\n.SecondlinesThress[data-v-29bb2ee1]{\n width: 5%;\n float: right;\n text-align: right;\n margin-right: 6%;\n}\n.treatment[data-v-29bb2ee1]{\n width: 10%;\n float: left;\n margin-left: 10px;\n}\n.content[data-v-29bb2ee1]{\n margin: 0 auto;\n margin-top: 20px;\n width: 98%;\n height: 500px;\n}\n.el-table .warning-row[data-v-29bb2ee1] {\n background: oldlace;\n}\n.el-table .success-row[data-v-29bb2ee1] {\n background: #f0f9eb;\n}\n.buttom[data-v-29bb2ee1]{\n width: 100%;\n /*height: 128px;*/\n /*border: 1px solid #ebeef5;*/\n background-color: #fff;\n -webkit-box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);\n box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);\n color: #303133;\n}\n",""])}});