fix
This commit is contained in:
parent
2c5423e4ff
commit
b859a81995
1 changed files with 8 additions and 8 deletions
|
|
@ -290,14 +290,14 @@ export class KpiUserEvaluationController extends Controller {
|
|||
evaluatorId: item.evaluatorId,
|
||||
commanderId: item.commanderId,
|
||||
commanderHighId: item.commanderHighId,
|
||||
root: item.org?item.org:null,
|
||||
rootId: item.orgId?item.orgId:null,
|
||||
position: item.position?item.position:null,
|
||||
root: item.org ? item.org : null,
|
||||
rootId: item.orgId ? item.orgId : null,
|
||||
position: item.position ? item.position : null,
|
||||
// posTypeId: item.posTypeId,
|
||||
posTypeName: item.posTypeName?item.posTypeName:null,
|
||||
posTypeName: item.posTypeName ? item.posTypeName : null,
|
||||
// posLevelId: item.posLevelId,
|
||||
posLevelName: item.posLevelName?item.posLevelName:null,
|
||||
organization: organization?organization:null,
|
||||
posLevelName: item.posLevelName ? item.posLevelName : null,
|
||||
organization: organization ? organization : null,
|
||||
};
|
||||
});
|
||||
return new HttpSuccess({ data: mapData, total });
|
||||
|
|
@ -1385,7 +1385,7 @@ export class KpiUserEvaluationController extends Controller {
|
|||
Promise.all(
|
||||
kpiUserEvaluations.map(async (kpiUserEvaluation) => {
|
||||
kpiUserEvaluation.evaluationStatus = "KP7";
|
||||
await new CallAPI()
|
||||
new CallAPI()
|
||||
.PostData(request, "/org/profile/assessments", {
|
||||
date: new Date(),
|
||||
name: kpiUserEvaluation.evaluationResults,
|
||||
|
|
@ -1398,7 +1398,7 @@ export class KpiUserEvaluationController extends Controller {
|
|||
profileId: kpiUserEvaluation.profileId,
|
||||
})
|
||||
.then(async (x) => {});
|
||||
await new CallAPI()
|
||||
new CallAPI()
|
||||
.PostData(request, "/placement/noti/profile", {
|
||||
subject: `${kpiUserEvaluation.prefix}${kpiUserEvaluation.firstName} ${kpiUserEvaluation.lastName} ระดับผลการประเมินการปฏิบัติราชการระดับบุคคลของคุณอยู่ในเกณฑ์ ${kpiUserEvaluation.summaryPoint}`,
|
||||
body: `${kpiUserEvaluation.prefix}${kpiUserEvaluation.firstName} ${kpiUserEvaluation.lastName} ระดับผลการประเมินการปฏิบัติราชการระดับบุคคลของคุณอยู่ในเกณฑ์ ${kpiUserEvaluation.summaryPoint}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue