no message
This commit is contained in:
parent
0968f4d14e
commit
e35e4ac69a
1 changed files with 22 additions and 22 deletions
|
|
@ -753,7 +753,7 @@ export class KpiUserEvaluationController extends Controller {
|
|||
kpiPeriodId: kpiPeriodId,
|
||||
})
|
||||
// .andWhere({ createdUserId: request.user.sub })
|
||||
.andWhere({ profileId : profileId })
|
||||
.andWhere({ profileId: profileId })
|
||||
.andWhere(
|
||||
status == null || status == undefined ? "1=1" : "evaluationStatus LIKE :evaluationStatus",
|
||||
{
|
||||
|
|
@ -1106,13 +1106,13 @@ export class KpiUserEvaluationController extends Controller {
|
|||
await new CallAPI()
|
||||
.PostData(request, "org/profile/assessments", {
|
||||
date: new Date(),
|
||||
name: null,
|
||||
point1: null,
|
||||
point1Total: kpiUserEvaluation.totalPoint1,
|
||||
point2: null,
|
||||
point2Total: kpiUserEvaluation.totalPoint2_1 + kpiUserEvaluation.totalPoint2_2,
|
||||
pointSum: null,
|
||||
pointSumTotal: kpiUserEvaluation.summaryPoint,
|
||||
name: kpiUserEvaluation.evaluationResults,
|
||||
point1Total: kpiUserEvaluation.weightPoint1,
|
||||
point1: kpiUserEvaluation.totalPoint1,
|
||||
point2Total: kpiUserEvaluation.weightPoint2,
|
||||
point2: kpiUserEvaluation.totalPoint2_1 + kpiUserEvaluation.totalPoint2_2,
|
||||
pointSumTotal: kpiUserEvaluation.summaryWeight,
|
||||
pointSum: kpiUserEvaluation.summaryPoint,
|
||||
profileId: kpiUserEvaluation.profileId,
|
||||
})
|
||||
.then(async (x) => {});
|
||||
|
|
@ -1165,13 +1165,13 @@ export class KpiUserEvaluationController extends Controller {
|
|||
await new CallAPI()
|
||||
.PostData(request, "org/profile/assessments", {
|
||||
date: new Date(),
|
||||
name: null,
|
||||
point1: null,
|
||||
point1Total: kpiUserEvaluation.totalPoint1,
|
||||
point2: null,
|
||||
point2Total: kpiUserEvaluation.totalPoint2_1 + kpiUserEvaluation.totalPoint2_2,
|
||||
pointSum: null,
|
||||
pointSumTotal: kpiUserEvaluation.summaryPoint,
|
||||
name: kpiUserEvaluation.evaluationResults,
|
||||
point1Total: kpiUserEvaluation.weightPoint1,
|
||||
point1: kpiUserEvaluation.totalPoint1,
|
||||
point2Total: kpiUserEvaluation.weightPoint2,
|
||||
point2: kpiUserEvaluation.totalPoint2_1 + kpiUserEvaluation.totalPoint2_2,
|
||||
pointSumTotal: kpiUserEvaluation.summaryWeight,
|
||||
pointSum: kpiUserEvaluation.summaryPoint,
|
||||
profileId: kpiUserEvaluation.profileId,
|
||||
})
|
||||
.then(async (x) => {});
|
||||
|
|
@ -1217,13 +1217,13 @@ export class KpiUserEvaluationController extends Controller {
|
|||
await new CallAPI()
|
||||
.PostData(request, "org/profile/assessments", {
|
||||
date: new Date(),
|
||||
name: null,
|
||||
point1: null,
|
||||
point1Total: kpiUserEvaluation.totalPoint1,
|
||||
point2: null,
|
||||
point2Total: kpiUserEvaluation.totalPoint2_1 + kpiUserEvaluation.totalPoint2_2,
|
||||
pointSum: null,
|
||||
pointSumTotal: kpiUserEvaluation.summaryPoint,
|
||||
name: kpiUserEvaluation.evaluationResults,
|
||||
point1Total: kpiUserEvaluation.weightPoint1,
|
||||
point1: kpiUserEvaluation.totalPoint1,
|
||||
point2Total: kpiUserEvaluation.weightPoint2,
|
||||
point2: kpiUserEvaluation.totalPoint2_1 + kpiUserEvaluation.totalPoint2_2,
|
||||
pointSumTotal: kpiUserEvaluation.summaryWeight,
|
||||
pointSum: kpiUserEvaluation.summaryPoint,
|
||||
profileId: kpiUserEvaluation.profileId,
|
||||
})
|
||||
.then(async (x) => {});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue