add field commandDate & education
This commit is contained in:
parent
fb40df8a2a
commit
6d13f7b598
4 changed files with 30 additions and 7 deletions
|
|
@ -5278,11 +5278,15 @@ export class ProfileController extends Controller {
|
|||
"current_holders",
|
||||
"current_holders.orgRoot",
|
||||
"profileSalary",
|
||||
"profileEducations"
|
||||
],
|
||||
order: {
|
||||
profileSalary: {
|
||||
order: "DESC",
|
||||
},
|
||||
// profileSalary: {
|
||||
// order: "DESC",
|
||||
// },
|
||||
profileEducations: {
|
||||
createdAt: "DESC"
|
||||
}
|
||||
},
|
||||
});
|
||||
if (!profile) {
|
||||
|
|
@ -5461,6 +5465,9 @@ export class ProfileController extends Controller {
|
|||
isPosmasterAct: data.length > 0,
|
||||
posmasterAct: data,
|
||||
salary: profile ? profile.amount : null,
|
||||
education: profile && profile.profileEducations.length > 0
|
||||
? `${profile.profileEducations[0].degree ?? ""}-${profile.profileEducations[0].field ?? ""}`
|
||||
: "-"
|
||||
};
|
||||
|
||||
if (_profile.child4Id != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue