|
|
|
@ -3,7 +3,8 @@ |
|
|
|
<div style="display: flex; flex-wrap: wrap;height:70px; width: 100%;overflow-y: auto;"> |
|
|
|
<div> |
|
|
|
<span class="query">条码号</span> |
|
|
|
<el-input ref="tmh" placeholder="条码号" v-model="prBase.patientRegisterNo" size="small" style="width: 120px;" clearable /> |
|
|
|
<el-input ref="tmh" placeholder="条码号" v-model="prBase.patientRegisterNo" size="small" style="width: 120px;" |
|
|
|
clearable /> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<span class="query">档案号</span> |
|
|
|
@ -158,9 +159,13 @@ export default { |
|
|
|
mounted() { |
|
|
|
// 监听来自 Electron 的调用 右击事件 |
|
|
|
if (this.$peisAPI) { |
|
|
|
try { |
|
|
|
this.$peisAPI.onContextMenuAction((data) => { |
|
|
|
this.onContextMenuDIY(data) |
|
|
|
}); |
|
|
|
} catch (error) { |
|
|
|
console.error(error) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 回车替代查询 |
|
|
|
@ -209,7 +214,7 @@ export default { |
|
|
|
postapi('/api/app/PatientRegister/GetPatientRegisterNoByCheckRequestNo', { checkRequestNo }).then(res => { |
|
|
|
if (res.code > 0) { |
|
|
|
this.prBase.patientRegisterNo = res.data.patientRegisterNo |
|
|
|
this.onQueryByPatientRegisterNo() |
|
|
|
this.onQueryByOnlyNo('patientRegisterNo') |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
@ -219,7 +224,7 @@ export default { |
|
|
|
postapi('/api/app/PatientRegister/GetPatientRegisterNoByLisRequestNo', { lisRequestNo }).then(res => { |
|
|
|
if (res.code > 0) { |
|
|
|
this.prBase.patientRegisterNo = res.data.patientRegisterNo |
|
|
|
this.onQueryByPatientRegisterNo() |
|
|
|
this.onQueryByOnlyNo('patientRegisterNo') |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|