|
@@ -29,16 +29,30 @@ onMounted(() => {
|
|
|
patNo: huanZheXinXi.value.inpatientNo,
|
|
|
times: huanZheXinXi.value.admissTimes
|
|
|
})
|
|
|
-
|
|
|
getCurrentPersonnelInformation(patientData)
|
|
|
patientId = huanZheXinXi.value.inpatientNo
|
|
|
currentEmr.value = new EMRInteractive(patientData, editorEvents);
|
|
|
emrRef.value.parentElement.emr = currentEmr.value
|
|
|
window.addEventListener('beforeunload', monitorPageRefresh)
|
|
|
+
|
|
|
+
|
|
|
})
|
|
|
})
|
|
|
|
|
|
|
|
|
+let test = () => {
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+let emrEvent = [
|
|
|
+ {
|
|
|
+ loaded: (evt, view) => {
|
|
|
+ console.log(evt, view)
|
|
|
+ }
|
|
|
+ }
|
|
|
+]
|
|
|
+
|
|
|
+
|
|
|
const monitorPageRefresh = (event) => {
|
|
|
if (isEditorChange) {
|
|
|
event.returnValue = false;
|