|
|
@@ -345,7 +345,7 @@ import EmrWebSocket from "@/components/zhu-yuan-yi-sheng/emr/web-socket/EmrWebSo
|
|
|
import {stringIsBlank, stringNotBlank} from "@/utils/blank-utils";
|
|
|
import {isDev} from "@/utils/public";
|
|
|
import {forcedKickingOutOfPersonnelByDocumentId, isThereADoctorEditing} from "@/api/zhu-yuan-yi-sheng/emr-socket";
|
|
|
-import {computed, nextTick, onDeactivated, onMounted, ref, watch, unref} from "vue";
|
|
|
+import {computed, nextTick, onDeactivated, onMounted, ref, watch, unref} from "vue";
|
|
|
import EmrFirstPageOfMedicalRecord from "@/components/zhu-yuan-yi-sheng/emr/EmrFirstPageOfMedicalRecord.vue";
|
|
|
import EmrResultReturns
|
|
|
from "@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrResultReturns.vue";
|
|
|
@@ -559,7 +559,7 @@ const emrEvent = {
|
|
|
}
|
|
|
|
|
|
// 只有是空的才触发
|
|
|
- if (getId() === null) {
|
|
|
+ if (getId() === null || typeof getId() === 'undefined') {
|
|
|
tempData.data = unref(patientData)
|
|
|
}
|
|
|
|