xiaochan 10 kuukautta sitten
vanhempi
commit
161add5d27

+ 2 - 1
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/EmrMain.vue

@@ -143,6 +143,7 @@ import { getServerDateApi, getUuid } from "@/api/public-api";
 import {
   audit,
   deletePatientEmrByDocumentId,
+  EmrPatientData,
   hotSearchSorting,
   insertEmrData,
   submitMedicalRecord,
@@ -907,7 +908,7 @@ const emptyEditor = () => {
   emrStore.store.categoryCode = "";
   emrStore.store.templateName = "";
   emrStore.store.parent = "";
-  emrStore.store.emrPatientData = {};
+  emrStore.store.emrPatientData = {} as EmrPatientData;
   editor!.execute("resetBlankEditor");
   isEmpty = true;
 };

+ 5 - 1
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/plugins/opinion/index.ts

@@ -13,7 +13,11 @@ const opinion = (): Install => {
       store.store.rightComp[rightCompIndex.opinion] = {
         name: "审核",
         comp: shallowRef(EmrAuditV2),
-        width: 550,
+        paneProps: {
+          value: 400,
+          min: 100,
+          max: 500,
+        },
       };
     },
 

+ 1 - 1
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-func/useEmrStore.ts

@@ -62,7 +62,7 @@ export const useEmrStore = (patId: string) => {
     // 病历的编码
     categoryCode: "",
     // 如果不是模板就有这个
-    emrPatientData: {} as EmrPatientData | {},
+    emrPatientData: {} as EmrPatientData,
     parent: "",
     isEditorChange: false,
   });