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