Datenstruktur

main
manueltauber 2023-06-01 11:41:54 +02:00
parent 36a5a9be34
commit 6a9dd38280
1 changed files with 21 additions and 6 deletions

View File

@ -275,12 +275,27 @@ export class DataService {
);
}
res.push({resourceId: resp.resourceId, approvalStatus: this.validateApproval(resp.approvalStatus), statusReason: resp.statusReason,
changeNr: resp.changeNr, resourceName: resp.resourceName,
vertrag: resp.contract, vertragName: this.getContractName(resp.contract), isExpand: false,
isRes: true, state: resp.state, stateName: this.getStateNameById(resp.state),
supportGroup: resp.supportGroup, tasks: tasks, supportGroupId: resp.supportGroupId,
implementerEdit: resp.implementerEdit, flagApprove: resp.flagApprove, flagCancel: resp.flagChancel, flagPermit: resp.flagPermit, flagReject: resp.flagReject
res.push({
resourceId: resp.resourceId,
approvalStatus: this.validateApproval(resp.approvalStatus),
statusReason: resp.statusReason,
changeNr: resp.changeNr,
resourceName: resp.resourceName,
vertrag: resp.contract,
vertragName: this.getContractName(resp.contract),
isExpand: false,
isRes: true,
state: resp.state,
stateName: this.getStateNameById(resp.state),
supportGroup: resp.supportGroup,
tasks: tasks,
supportGroupId: resp.supportGroupId,
implementerEdit: resp.implementerEdit,
flagApprove: resp.flagApprove,
flagCancel: resp.flagChancel,
flagPermit: resp.flagPermit,
flagReject: resp.flagReject,
changeImplementerLogin: resp.changeImplementerLogin
});