fix
This commit is contained in:
parent
00de87822a
commit
31efc01015
1 changed files with 2 additions and 2 deletions
|
|
@ -523,7 +523,7 @@ export class OrganizationUnauthorizeController extends Controller {
|
|||
? false
|
||||
: true,
|
||||
// isSpecial: isSpecial,
|
||||
isGood: profileAssessment?.profileId.includes(item.current_holderId) ? true : false,
|
||||
isGood: profileAssessment?.profileId?.includes(item.current_holderId) ? true : false,
|
||||
};
|
||||
});
|
||||
return new HttpSuccess({ data: formattedData, total: total });
|
||||
|
|
@ -974,7 +974,7 @@ export class OrganizationUnauthorizeController extends Controller {
|
|||
calculateRetireDate(item.birthDate).getFullYear() != body.year
|
||||
? false
|
||||
: true,
|
||||
isGood: profileAssessment?.profileId.includes(item.current_holderId) ? true : false,
|
||||
isGood: profileAssessment?.profileEmployeeId?.includes(item.current_holderId) ? true : false,
|
||||
};
|
||||
});
|
||||
return new HttpSuccess({ data: formattedData, total: total });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue