|
|
@ -111,7 +111,8 @@ export class OrganizationComponent implements OnInit { |
|
|
|
parentId: node ? Number(node.key) : null, |
|
|
|
parentId: node ? Number(node.key) : null, |
|
|
|
displayName: instance.validateForm.value.name, |
|
|
|
displayName: instance.validateForm.value.name, |
|
|
|
isGasStation: instance.validateForm.value.isGasStation, |
|
|
|
isGasStation: instance.validateForm.value.isGasStation, |
|
|
|
isSkipAudit: !instance.validateForm.value.isParticipationAudit |
|
|
|
isSkipAudit: !instance.validateForm.value.isParticipationAudit, |
|
|
|
|
|
|
|
level: instance.validateForm.value.OrgnizationLevel, |
|
|
|
} |
|
|
|
} |
|
|
|
this.http.post('/api/services/app/Organization/Create', body).subscribe(data => { |
|
|
|
this.http.post('/api/services/app/Organization/Create', body).subscribe(data => { |
|
|
|
resolve(data) |
|
|
|
resolve(data) |
|
|
@ -154,7 +155,8 @@ export class OrganizationComponent implements OnInit { |
|
|
|
parentId: node.origin.parentId, |
|
|
|
parentId: node.origin.parentId, |
|
|
|
displayName: instance.validateForm.value.name, |
|
|
|
displayName: instance.validateForm.value.name, |
|
|
|
isGasStation: instance.validateForm.value.isGasStation, |
|
|
|
isGasStation: instance.validateForm.value.isGasStation, |
|
|
|
isSkipAudit: !instance.validateForm.value.isParticipationAudit |
|
|
|
isSkipAudit: !instance.validateForm.value.isParticipationAudit, |
|
|
|
|
|
|
|
level: instance.validateForm.value.OrgnizationLevel |
|
|
|
} |
|
|
|
} |
|
|
|
this.http.put('/api/services/app/Organization/Update', body).subscribe(data => { |
|
|
|
this.http.put('/api/services/app/Organization/Update', body).subscribe(data => { |
|
|
|
resolve(data) |
|
|
|
resolve(data) |
|
|
|