|
|
|
@ -38,7 +38,7 @@ export class EdituserComponent implements OnInit {
|
|
|
|
|
role: [roleData1, [Validators.required]], |
|
|
|
|
role2: [roleData2], |
|
|
|
|
phonenum: [null, [Validators.required]], |
|
|
|
|
remarks: [null] |
|
|
|
|
note: [null] |
|
|
|
|
}); |
|
|
|
|
if (this.listOfData.length == 0) { |
|
|
|
|
this.getAllRoles() |
|
|
|
@ -132,6 +132,7 @@ export class EdituserComponent implements OnInit {
|
|
|
|
|
organizationUnitId: this.validateForm.value.organization, |
|
|
|
|
roleNames: roleNames, |
|
|
|
|
phoneNumber: this.validateForm.value.phonenum, |
|
|
|
|
note:this.validateForm.value.note, |
|
|
|
|
isActive: true |
|
|
|
|
} |
|
|
|
|
this.http.put(this.editUrl, body).subscribe((data:any) => { |
|
|
|
|