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
|
? false
|
||||||
: true,
|
: true,
|
||||||
// isSpecial: isSpecial,
|
// 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 });
|
return new HttpSuccess({ data: formattedData, total: total });
|
||||||
|
|
@ -974,7 +974,7 @@ export class OrganizationUnauthorizeController extends Controller {
|
||||||
calculateRetireDate(item.birthDate).getFullYear() != body.year
|
calculateRetireDate(item.birthDate).getFullYear() != body.year
|
||||||
? false
|
? false
|
||||||
: true,
|
: 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 });
|
return new HttpSuccess({ data: formattedData, total: total });
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue