change profile.salary
This commit is contained in:
parent
376b50f729
commit
5bc6101e12
3 changed files with 4 additions and 5 deletions
|
|
@ -4569,8 +4569,7 @@ export class ProfileController extends Controller {
|
||||||
node: null,
|
node: null,
|
||||||
nodeId: null,
|
nodeId: null,
|
||||||
type: profile.employeeClass,
|
type: profile.employeeClass,
|
||||||
salary:
|
salary: profile.amount,
|
||||||
profile && profile.profileSalary.length > 0 ? profile.profileSalary[0].amount : null,
|
|
||||||
};
|
};
|
||||||
if (_profile.child4Id != null) {
|
if (_profile.child4Id != null) {
|
||||||
_profile.node = 4;
|
_profile.node = 4;
|
||||||
|
|
|
||||||
|
|
@ -1970,7 +1970,7 @@ export class ProfileEmployeeController extends Controller {
|
||||||
child4ShortName: child4 == null ? null : child4.orgChild4ShortName,
|
child4ShortName: child4 == null ? null : child4.orgChild4ShortName,
|
||||||
node: null,
|
node: null,
|
||||||
nodeId: null,
|
nodeId: null,
|
||||||
salary: profile && profile.profileSalary.length > 0 ? profile.profileSalary[0].amount : null,
|
salary: profile.amount,
|
||||||
};
|
};
|
||||||
return new HttpSuccess(_profile);
|
return new HttpSuccess(_profile);
|
||||||
}
|
}
|
||||||
|
|
@ -3970,7 +3970,7 @@ export class ProfileEmployeeController extends Controller {
|
||||||
node: null,
|
node: null,
|
||||||
nodeId: null,
|
nodeId: null,
|
||||||
posNo: shortName,
|
posNo: shortName,
|
||||||
salary: profile && profile.profileSalary.length > 0 ? profile.profileSalary[0].amount : null,
|
salary: profile.amount,
|
||||||
education:
|
education:
|
||||||
profile && profile.profileEducations.length > 0
|
profile && profile.profileEducations.length > 0
|
||||||
? `${profile.profileEducations[0].degree ?? ""}/${profile.profileEducations[0].field ?? ""}`
|
? `${profile.profileEducations[0].degree ?? ""}/${profile.profileEducations[0].field ?? ""}`
|
||||||
|
|
|
||||||
|
|
@ -1861,7 +1861,7 @@ export class ProfileEmployeeTempController extends Controller {
|
||||||
? null
|
? null
|
||||||
: profile.current_holders.find((x) => x.orgRevisionId == orgRevisionPublish.id)?.orgChild4
|
: profile.current_holders.find((x) => x.orgRevisionId == orgRevisionPublish.id)?.orgChild4
|
||||||
.orgChild4Name,
|
.orgChild4Name,
|
||||||
salary: profile && profile.profileSalary.length > 0 ? profile.profileSalary[0].amount : null,
|
salary: profile.amount,
|
||||||
};
|
};
|
||||||
return new HttpSuccess(_profile);
|
return new HttpSuccess(_profile);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue