11.a224443ebcb350d9bf27.js 8.6 KB

1
  1. webpackJsonp([11],{S70g:function(e,t,n){(e.exports=n("BkJT")(!1)).push([e.i,"\n.querycriteria[data-v-61d6e51a]{\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-61d6e51a]{\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-61d6e51a]{\n width: 24%;\n margin-top: 15px;\n margin-left: 10px;\n float: left;\n}\n.Secondlines[data-v-61d6e51a]{\n width: 30%;\n float: left;\n}\n.SecondlinesTwo[data-v-61d6e51a]{\n /*width: 20%;*/\n float: left;\n margin-left: 2%;\n}\n.SecondlinesThress[data-v-61d6e51a]{\n width: 5%;\n float: right;\n text-align: right;\n margin-right: 6%;\n}\n.treatment[data-v-61d6e51a]{\n width: 10%;\n float: left;\n}\n.content[data-v-61d6e51a]{\n margin: 0 auto;\n margin-top: 20px;\n width: 98%;\n height: 500px;\n}\n.el-table .warning-row[data-v-61d6e51a] {\n background: oldlace;\n}\n.el-table .success-row[data-v-61d6e51a] {\n background: #f0f9eb;\n}\n.buttom[data-v-61d6e51a]{\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",""])},ofly:function(e,t,n){var a=n("S70g");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("8bSs")("58406e8e",a,!0)},s94K:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("2sCs"),l=n.n(a),o=n("6iV/"),i=n.n(o),r=n("0xDb"),s={name:"",components:{Axios:l.a,qs:i.a},data:function(){return{formInline:{user:"",region:"",ID:"",checknum:"",mechanism:""},form:{name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""},tableData:[],currentPage1:5,currentPage2:5,currentPage3:5,currentPage4:4,value3:!1,value7:"",pickerOptions2:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,n=new Date;n.setTime(n.getTime()-6048e5),e.$emit("pick",[n,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,n=new Date;n.setTime(n.getTime()-2592e6),e.$emit("pick",[n,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,n=new Date;n.setTime(n.getTime()-7776e6),e.$emit("pick",[n,t])}}]}}},methods:{onSubmit:function(){console.log("submit!")},path:function(){this.$router.push({push:"../report/reportMain"})},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){alert(e)},search:function(){l.a.post("http://rds.pacsonline.cn/inter/report",i.a.stringify({is_remote:1,sessionid:Object(r.e)(),param:{name:this.formInline.user,id:this.formInline.ID,accession_num:this.formInline.checknum,exam_status:this.formInline.region,exam_class:this.formInline.checkclass,is_urgent:this.value3,exam_datetime:this.value7,local_institution_id:this.formInline.mechanism}})).then(function(e){console.log(e),alert(e.msg)}).catch(function(e){console.log(e)})}},mounted:function(){var e=this;l.a.post("http://rds.pacsonline.cn/inter/report",i.a.stringify({sessionid:Object(r.e)(),is_remote:1})).then(function(t){console.log(t),e.tableData=t.data.info}).catch(function(e){console.log(e)})}},c={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"querycriteria"},[n("div",{staticClass:"title"},[n("div",{staticClass:"firstline"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[n("el-form-item",{attrs:{label:"姓名"}},[n("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(" "),n("div",{staticClass:"firstline"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[n("el-form-item",{attrs:{label:"ID号"}},[n("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(" "),n("div",{staticClass:"firstline"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[n("el-form-item",{attrs:{label:"检查号"}},[n("el-input",{attrs:{placeholder:"检查号"},model:{value:e.formInline.checknum,callback:function(t){e.$set(e.formInline,"checknum",t)},expression:"formInline.checknum"}})],1)],1)],1),e._v(" "),n("div",{staticClass:"firstline"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[n("el-form-item",{attrs:{label:"活动区域"}},[n("el-select",{attrs:{placeholder:"活动区域"},model:{value:e.formInline.region,callback:function(t){e.$set(e.formInline,"region",t)},expression:"formInline.region"}},[n("el-option",{attrs:{label:"预约登记",value:"1"}}),e._v(" "),n("el-option",{attrs:{label:"确认申请",value:"2"}})],1)],1)],1)],1),e._v(" "),n("div",{staticClass:"Secondlines"},[n("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(" "),n("div",{staticClass:"SecondlinesTwo"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[n("el-form-item",{attrs:{label:"检查类别"}},[n("el-select",{attrs:{placeholder:"PM"},model:{value:e.formInline.checkclass,callback:function(t){e.$set(e.formInline,"checkclass",t)},expression:"formInline.checkclass"}},[n("el-option",{attrs:{label:"CT",value:"1"}}),e._v(" "),n("el-option",{attrs:{label:"CR",value:"2"}})],1)],1)],1)],1),e._v(" "),n("div",{staticClass:"SecondlinesTwo"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[n("el-form-item",{attrs:{label:"申请机构"}},[n("el-select",{attrs:{placeholder:"黑龙江昆仑体检中心"},model:{value:e.formInline.mechanism,callback:function(t){e.$set(e.formInline,"mechanism",t)},expression:"formInline.mechanism"}},[n("el-option",{attrs:{label:"黑龙江昆仑体检中心",value:"1"}}),e._v(" "),n("el-option",{attrs:{label:"北京人民医院",value:"2"}})],1)],1)],1)],1),e._v(" "),n("div",{staticClass:"treatment"},[n("el-switch",{attrs:{"inactive-text":"急诊"},model:{value:e.value3,callback:function(t){e.value3=t},expression:"value3"}})],1),e._v(" "),n("div",{staticClass:"SecondlinesThress"},[n("el-row",[n("el-button",{attrs:{type:"primary"},on:{click:e.search}},[e._v("搜索")])],1)],1)]),e._v(" "),n("div",{staticClass:"content"},[[n("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,border:"","max-height":"500"}},[n("el-table-column",{attrs:{prop:"name",label:"姓名"}}),e._v(" "),n("el-table-column",{attrs:{prop:"sex",label:"性别"}}),e._v(" "),n("el-table-column",{attrs:{prop:"age",label:"年龄"}}),e._v(" "),n("el-table-column",{attrs:{prop:"patient_num",label:"病例号"}}),e._v(" "),n("el-table-column",{attrs:{prop:"institution_name",label:"所属机构"}}),e._v(" "),n("el-table-column",{attrs:{prop:"exam_datetime",label:"检查时间"}}),e._v(" "),n("el-table-column",{attrs:{prop:"exam_project",label:"检查项目"}}),e._v(" "),n("el-table-column",{attrs:{prop:"exam_status",label:"图像"}}),e._v(" "),n("el-table-column",{attrs:{prop:"exam_status",label:"报告打印"}}),e._v(" "),n("el-table-column",{attrs:{prop:"report_datetime",label:"报告时间"}}),e._v(" "),n("el-table-column",{attrs:{prop:"report_doctor",label:"报告医生"}}),e._v(" "),n("el-table-column",{attrs:{fixed:"right",label:"操作",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{staticStyle:{float:"left"},attrs:{type:"text",size:"small"},on:{click:e.handleClick}},[e._v("查看")]),e._v(" "),n("el-button",{staticStyle:{float:"left"},attrs:{type:"text",size:"small"}},[e._v("图像")]),e._v(" "),n("el-button",{staticStyle:{float:"left"},attrs:{type:"text",size:"small"}},[e._v("申请")])]}}])})],1)]],2),e._v(" "),n("div",{staticClass:"buttom"},[[n("div",{staticClass:"block"},[n("el-pagination",{attrs:{"current-page":e.currentPage4,"page-sizes":[100,200,300,400],"page-size":100,layout:"total, sizes, prev, pager, next, jumper",total:400},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)]],2)])])},staticRenderFns:[]};var m=n("vSla")(s,c,!1,function(e){n("ofly")},"data-v-61d6e51a",null);t.default=m.exports}});