seimin 1 year ago
parent
commit
6691e7345b

+ 2 - 1
src/app/views/clinical-users-management/clinical-users-management.component.ts

@@ -92,7 +92,8 @@ export class ClinicalUsersManagementComponent implements OnInit {
92 92
     this.hosId = this.tool.getCurrentHospital().id;
93 93
     this.name = "";
94 94
     this.num = "";
95
-    this.userType = null;
95
+    let userType = this.userTypes.find(v=>v.value == 1);
96
+    this.userType = userType ? String(userType.id) : null;
96 97
     this.department = null;
97 98
     this.userGroup1 = null;
98 99
     this.changeHosp1(this.hosId);