|
@@ -92,7 +92,8 @@ export class ClinicalUsersManagementComponent implements OnInit {
|
92
|
this.hosId = this.tool.getCurrentHospital().id;
|
92
|
this.hosId = this.tool.getCurrentHospital().id;
|
93
|
this.name = "";
|
93
|
this.name = "";
|
94
|
this.num = "";
|
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
|
this.department = null;
|
97
|
this.department = null;
|
97
|
this.userGroup1 = null;
|
98
|
this.userGroup1 = null;
|
98
|
this.changeHosp1(this.hosId);
|
99
|
this.changeHosp1(this.hosId);
|