diff --git a/src/components/doctorCheck/CheckPicture.vue b/src/components/doctorCheck/CheckPicture.vue
index 98d35e7..0a9e6da 100644
--- a/src/components/doctorCheck/CheckPicture.vue
+++ b/src/components/doctorCheck/CheckPicture.vue
@@ -77,11 +77,33 @@
+
+
人员信息:
+
+ 检查条码
+
+
+
+ 姓名
+
+
+
+ 性别
+
+
+
+ 年龄
+
+
+
+
+
检查结果:
+ :autosize="{ minRows: Math.floor((window.pageHeight - 500) / 24), maxRows: 20 }" />
检查结论:
@@ -132,6 +154,8 @@ export default {
routeUrlorPageName: 'doctorCheck', //当前页面归属路由或归属页面权限名称
privs: [] // 页面权限
},
+
+ checkRequestNo: '',
dialogDcm: false,
iframeSrc: '',
pacsParams: {
@@ -171,7 +195,7 @@ export default {
let userPriv = window.sessionStorage.getItem('userPriv')
if (userPriv) this.pagePriv.privs = deepCopy(getPagePriv(this.pagePriv.routeUrlorPageName))
this.sysConfig = JSON.parse(window.sessionStorage.getItem('sysConfig'))
- console.log('this.sysConfig checkPictures', this.sysConfig)
+ // console.log('this.sysConfig checkPictures', this.sysConfig)
},
//挂载完成
@@ -341,6 +365,7 @@ export default {
// 浏览Dcm文件
btnBrowseDcm() {
+ this.checkRequestNo = this.doctorCheck.checkRequestNo
this.pacsParams.result = this.doctorCheck.checkItemList[0].result
let summary = ''
this.doctorCheck.checkSummaryList.forEach(e => {
@@ -375,7 +400,7 @@ export default {
}]
this.save()
-
+
this.dialogDcm = false
},
@@ -586,6 +611,48 @@ export default {
e.value = "";
}
},
+
+ // 通过检查条码查询相关数据
+ onQueryByPacsNo(checkRequestNo) {
+ this.$refs['checkRequestNo'].select()
+ postapi('/api/app/PacsBusiness/GetPatientRegisterWithCheckResultByCheckRequestNo', { checkRequestNo })
+ .then(res => {
+ if (res.code > -1) {
+ // 人员信息
+ this.dataTransOpts.tableS.patient_register = res.data.patientRegisterDetail
+
+ // 组合项目
+ this.doctorCheck.RegisterCheckList = res.data.patientRegisterDetail.registerCheckAsbitems
+
+ // 组合项目明细
+ this.octorCheck.checkItemList = res.data.registerCheckItemDetails
+
+ // 小结与建议
+ this.doctorCheck.checkSummaryList = res.data.registerCheckSummaryDetails
+ this.doctorCheck.checkSuggestionList = res.data.registerCheckSuggestionDetails
+
+ // 上次结果
+ this.doctorCheck.preResult = res.data.lastTimeAsbitemResultDetail
+
+ // 检查情况
+ this.doctorCheck.RegisterCheckEdit = res.data.registerCheckDetail
+
+ // 图片
+ this.checkPictures = res.data.registerCheckPictureDetails
+ this.checkPictures.forEach(e => {
+ e.isPrintTrans = e.isPrint == "Y" ? true : false
+ });
+
+ this.iframeSrc = ''
+ this.iframeSrc = `${this.sysConfig.dcmViewers}/?mrn=${checkRequestNo}`
+ }
+ })
+
+ },
+
+ onFocus(event) {
+ this.$refs['checkRequestNo'].select()
+ }
},
//监听事件