Browse Source

checkpic

master
pengjun 1 year ago
parent
commit
4b3f2e521c
  1. 73
      src/components/doctorCheck/CheckPicture.vue

73
src/components/doctorCheck/CheckPicture.vue

@ -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()
}
},
//

Loading…
Cancel
Save