浏览代码

新的属性

xiaochan 9 月之前
父节点
当前提交
560dfc96db

+ 2 - 0
src/api/zhu-yuan-yi-sheng/emr-patient.ts

@@ -33,6 +33,8 @@ export interface EmrPatientData {
   reviewDoctors?: any[] | null;
   reviewTime?: string | null;
   type?: string;
+  signComplete: boolean;
+  archivePath?: string;
 
   _id?: string;
 }

+ 5 - 0
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrSidebar.tsx

@@ -289,6 +289,11 @@ const EmrSidebar = defineComponent({
         courseJumpId: val.courseJumpId,
       };
 
+      if (val.signComplete && val.archivePath) {
+        window.open(val.archivePath, "_blank");
+        return;
+      }
+
       if (editor) {
         emrMitt.emit("loadDocument", params);
         return;