no message
This commit is contained in:
parent
2446c755e6
commit
13f2b56d2b
1 changed files with 2 additions and 2 deletions
|
|
@ -194,7 +194,7 @@ export class OrganizationUnauthorizeController extends Controller {
|
|||
const latestProfileAssessment = item.current_holder.profileAssessments
|
||||
? item.current_holder.profileAssessments.sort((a: any, b: any) => b.date - a.date)[0]
|
||||
: null;
|
||||
const pointSumtotal = latestProfileAssessment ? latestProfileAssessment.pointSumTotal : null;
|
||||
const pointSum = latestProfileAssessment ? latestProfileAssessment.pointSum : null;
|
||||
return {
|
||||
id: item.id,
|
||||
profileId: item.current_holder.id,
|
||||
|
|
@ -223,7 +223,7 @@ export class OrganizationUnauthorizeController extends Controller {
|
|||
child3: item.orgChild3?.orgChild3Name ? item.orgChild3.orgChild3Name : null,
|
||||
child4Id: item.orgChild4Id,
|
||||
child4: item.orgChild4?.orgChild4Name ? item.orgChild4.orgChild4Name : null,
|
||||
result: pointSumtotal,
|
||||
result: pointSum,
|
||||
duration: null,
|
||||
isPunish:
|
||||
item.current_holder.profileDisciplines.filter(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue