|
|
@ -37,7 +37,8 @@ export class EdituserComponent implements OnInit { |
|
|
|
organization: [null, [Validators.required]], |
|
|
|
organization: [null, [Validators.required]], |
|
|
|
role: [roleData1, [Validators.required]], |
|
|
|
role: [roleData1, [Validators.required]], |
|
|
|
role2: [roleData2], |
|
|
|
role2: [roleData2], |
|
|
|
phonenum: [null, [Validators.required]] |
|
|
|
phonenum: [null, [Validators.required]], |
|
|
|
|
|
|
|
remarks: [null] |
|
|
|
}); |
|
|
|
}); |
|
|
|
if (this.listOfData.length == 0) { |
|
|
|
if (this.listOfData.length == 0) { |
|
|
|
this.getAllRoles() |
|
|
|
this.getAllRoles() |
|
|
|