|
|
|
@ -77,11 +77,33 @@ |
|
|
|
<iframe :src="iframeSrc" :height="window.pageHeight - 85" :width="window.pageWidth - 260"></iframe> |
|
|
|
</div> |
|
|
|
<div style="width: 240px;margin-left: 2px;"> |
|
|
|
<div style="margin-top: 5px;"> |
|
|
|
<span style="color: #232748;">人员信息:</span> |
|
|
|
<div style="display: flex;"> |
|
|
|
<span style="width: 80px;margin: 7px 0;">检查条码</span> |
|
|
|
<el-input ref="checkRequestNo" placeholder="检查条码" v-model="checkRequestNo" size="small" clearable |
|
|
|
@keyup.native.enter="onQueryByPacsNo(checkRequestNo)" @focus="onFocus" /> |
|
|
|
</div> |
|
|
|
<div style="display: flex;"> |
|
|
|
<span style="width: 80px;margin: 7px 0;">姓名</span> |
|
|
|
<el-input v-model="dataTransOpts.tableS.patient_register.patientName" size="small" disabled /> |
|
|
|
</div> |
|
|
|
<div style="display: flex;"> |
|
|
|
<span style="width: 80px;margin: 7px 0;">性别</span> |
|
|
|
<el-input v-model="dataTransOpts.tableS.patient_register.sexName" size="small" disabled /> |
|
|
|
</div> |
|
|
|
<div style="display: flex;"> |
|
|
|
<span style="width: 80px;margin: 7px 0;">年龄</span> |
|
|
|
<el-input v-model="dataTransOpts.tableS.patient_register.age" size="small" disabled /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div style="margin-top: 5px;"> |
|
|
|
<span style="color: #232748;">检查结果:</span> |
|
|
|
<el-input style="width: 100%;border: 1px solid #232748;" type="textarea" v-model="pacsParams.result" |
|
|
|
:disabled="doctorBtnDisabled('save')" placeholder="请输入描述" |
|
|
|
:autosize="{ minRows: Math.floor((window.pageHeight - 350) / 24), maxRows: 20 }" /> |
|
|
|
:autosize="{ minRows: Math.floor((window.pageHeight - 500) / 24), maxRows: 20 }" /> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px;"> |
|
|
|
<span style="color: #232748;">检查结论:</span> |
|
|
|
@ -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() |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
//监听事件 |
|
|
|
|