|
@@ -12,6 +12,7 @@
|
|
|
<el-button type="primary" icon="Postcard" @click="checkIdCard" style="margin-left: 8px">身份信息</el-button>
|
|
|
<el-button style="margin-left: 10px" type="success" icon="Document" @click="getRegInfo">登记信息</el-button>
|
|
|
<el-button style="margin-left: 10px" type="danger" icon="MagicStick" @click="toEmpiView">360视图</el-button>
|
|
|
+ <el-button style="margin-left: 10px" icon="Document" @click="openEmr">电子病历</el-button>
|
|
|
</template>
|
|
|
<template #aside>
|
|
|
<Overview ref="overview" :showSelection="isUploadPage"/>
|
|
@@ -42,6 +43,7 @@ import Overview from '../../../components/medical-insurance/patient-overview/Ind
|
|
|
import IdentifyImage from '../../../components/inpatient/IdentifyImage.vue'
|
|
|
import Registinfo from '../../../components/medical-insurance/registinfo/Index.vue'
|
|
|
import PageLayer from "@/layout/PageLayer";
|
|
|
+import {getEmrUrl} from "@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-init";
|
|
|
|
|
|
|
|
|
const search = initSearchParam()
|
|
@@ -108,6 +110,11 @@ function initSearchParam() {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+const openEmr = () => {
|
|
|
+ if (nullPatient()) return
|
|
|
+ window.open(getEmrUrl(patient.value.inpatientNo, patient.value.admissTimes, 4), '_blank')
|
|
|
+}
|
|
|
+
|
|
|
function makeOverview(val) {
|
|
|
return {
|
|
|
bedNo: val.bedNo,
|