|
@@ -11,9 +11,10 @@
|
|
|
<el-button type="primary" icon="Search" @click="searchPatient">检索</el-button>
|
|
|
</span>
|
|
|
<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>
|
|
|
+ <el-button type="success" icon="Document" @click="getRegInfo">登记信息</el-button>
|
|
|
+ <el-button type="primary" icon="Tickets" @click="beforeGetTreatinfo">待遇检查</el-button>
|
|
|
+ <el-button type="danger" icon="MagicStick" @click="toEmpiView">360视图</el-button>
|
|
|
+ <el-button icon="Document" @click="openEmr">电子病历</el-button>
|
|
|
<bloodSugar :pat-no="patient.inpatientNo" :times="patient.admissTimes" :old-button="false"/>
|
|
|
</template>
|
|
|
<template #aside>
|
|
@@ -30,6 +31,9 @@
|
|
|
<Registinfo v-if="showRegisterInfo" :params="patient" @close="showRegisterInfo = false"></Registinfo>
|
|
|
<IdentifyImage v-if="showIdCardImg" :pat-no="patient.inpatientNo" :times="patient.admissTimes"
|
|
|
@close="showIdCardImg = false"></IdentifyImage>
|
|
|
+ <Insuinfo v-if="showPsnInsuinfo" :params="checkTreatmentParams" @close="showPsnInsuinfo = false"
|
|
|
+ @row-click="checkTreatmentinfos"/>
|
|
|
+ <Treatmentinfo v-if="showTreatmentinfos" :params="checkTreatmentParams" @close="showTreatmentinfos = false"/>
|
|
|
</template>
|
|
|
</page-layer>
|
|
|
</template>
|
|
@@ -50,6 +54,10 @@ import {
|
|
|
getEmrUrl
|
|
|
} from "@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/emr-init";
|
|
|
import BloodSugar from "@/views/hospitalization/zhu-yuan-yi-sheng/yi-zhu-lu-ru/components/BloodSugar.vue";
|
|
|
+import Treatmentinfo from "@/components/medical-insurance/treatmentinfo/Index.vue";
|
|
|
+import Insuinfo from "@/components/medical-insurance/insuinfo/Index.vue";
|
|
|
+import {ElMessage} from "element-plus";
|
|
|
+import {getDatetime} from "@/utils/date";
|
|
|
|
|
|
|
|
|
const search = initSearchParam()
|
|
@@ -135,4 +143,37 @@ function makeOverview(val) {
|
|
|
status: val.mdtrtId || val.injurySerialNo ? 1 : 0,
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+const showPsnInsuinfo = ref(false)
|
|
|
+const showTreatmentinfos = ref(false)
|
|
|
+const checkTreatmentParams = ref({})
|
|
|
+const beforeGetTreatinfo = () => {
|
|
|
+ if (nullPatient()) return
|
|
|
+ if (!patient.value.medType) {
|
|
|
+ ElMessage({
|
|
|
+ message: '医疗类别不能为空!',
|
|
|
+ type: 'warning',
|
|
|
+ duration: 2600,
|
|
|
+ showClose: true,
|
|
|
+ })
|
|
|
+ return true
|
|
|
+ }
|
|
|
+ checkTreatmentParams.value = {
|
|
|
+ medType: patient.value.medType,
|
|
|
+ patNo: patient.value.patNo,
|
|
|
+ times: patient.value.admissTimes,
|
|
|
+ ledgerSn: patient.value.ledgerSn,
|
|
|
+ socialNo: patient.value.socialNo,
|
|
|
+ name: patient.value.name,
|
|
|
+ admdvs: patient.value.admdvs,
|
|
|
+ }
|
|
|
+ showPsnInsuinfo.value = true
|
|
|
+}
|
|
|
+const checkTreatmentinfos = (row) => {
|
|
|
+ checkTreatmentParams.value.psnNo = row.psnNo
|
|
|
+ checkTreatmentParams.value.begntime = getDatetime()
|
|
|
+ checkTreatmentParams.value.insutype = row.insutype
|
|
|
+ showPsnInsuinfo.value = false
|
|
|
+ showTreatmentinfos.value = true
|
|
|
+}
|
|
|
</script>
|