seimin 1 年之前
父節點
當前提交
5a1d87f311
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/app/views/barcode-prefabrication/barcode-prefabrication.component.ts

+ 1 - 1
src/app/views/barcode-prefabrication/barcode-prefabrication.component.ts

@@ -59,6 +59,7 @@ export class BarcodePrefabricationComponent implements OnInit {
59 59
     });
60 60
     this.coopBtns = this.tool.initCoopBtns(this.route);
61 61
     this.initForm();
62
+    this.getAllHospital();
62 63
     this.getCodeType();
63 64
     this.getSnConfigs();
64 65
     this.getClinicalWasteType();
@@ -90,7 +91,6 @@ export class BarcodePrefabricationComponent implements OnInit {
90 91
   getCodeType() {
91 92
     this.mainService.getDictionary("list", "precastCode_code_type").subscribe((data) => {
92 93
       this.codeTypes = data;
93
-      this.getAllHospital();
94 94
     });
95 95
   }
96 96