Browse Source

医废科室交接类型

seimin 1 year ago
parent
commit
1c6d6a1e89

+ 12 - 1
src/app/views/medical-waste-page-control/medical-waste-page-control.component.ts

@@ -32,7 +32,7 @@ export class MedicalWastePageControlComponent implements OnInit {
32 32
       fun.call(this, v[1]);
33 33
     });
34 34
     this.getTaskTypes();
35
-    this.getDepts();
35
+    this.getDeptHandoverType();
36 36
     this.getWasteHandoverType();
37 37
     this.getConfig();
38 38
   }
@@ -94,6 +94,7 @@ export class MedicalWastePageControlComponent implements OnInit {
94 94
         searchType: 1,// 简单查询
95 95
         dept: e,
96 96
         cascadeHosId: this.hosId,
97
+        deptHandoverType: this.dept_handover_type.find(v => v.value == 'clinicalWaste')
97 98
       }
98 99
     };
99 100
     this.otherPageControlService
@@ -105,6 +106,16 @@ export class MedicalWastePageControlComponent implements OnInit {
105 106
         }
106 107
       });
107 108
   }
109
+  //获取科室交接类型
110
+  dept_handover_type:any = [];
111
+  getDeptHandoverType() {
112
+    this.otherPageControlService
113
+      .getDictionary("dept_handover_type")
114
+      .subscribe((data) => {
115
+        this.dept_handover_type = data;
116
+        this.getDepts();
117
+      });
118
+  }
108 119
   //获取批次号生成规则
109 120
   waste_handover_type:any = [];
110 121
   getWasteHandoverType() {