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,
|
kpiPeriodId: kpiPeriodId,
|
||||||
})
|
})
|
||||||
// .andWhere({ createdUserId: request.user.sub })
|
// .andWhere({ createdUserId: request.user.sub })
|
||||||
.andWhere({ profileId : profileId })
|
.andWhere({ profileId: profileId })
|
||||||
.andWhere(
|
.andWhere(
|
||||||
status == null || status == undefined ? "1=1" : "evaluationStatus LIKE :evaluationStatus",
|
status == null || status == undefined ? "1=1" : "evaluationStatus LIKE :evaluationStatus",
|
||||||
{
|
{
|
||||||
|
|
@ -1106,13 +1106,13 @@ export class KpiUserEvaluationController extends Controller {
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
.PostData(request, "org/profile/assessments", {
|
.PostData(request, "org/profile/assessments", {
|
||||||
date: new Date(),
|
date: new Date(),
|
||||||
name: null,
|
name: kpiUserEvaluation.evaluationResults,
|
||||||
point1: null,
|
point1Total: kpiUserEvaluation.weightPoint1,
|
||||||
point1Total: kpiUserEvaluation.totalPoint1,
|
point1: kpiUserEvaluation.totalPoint1,
|
||||||
point2: null,
|
point2Total: kpiUserEvaluation.weightPoint2,
|
||||||
point2Total: kpiUserEvaluation.totalPoint2_1 + kpiUserEvaluation.totalPoint2_2,
|
point2: kpiUserEvaluation.totalPoint2_1 + kpiUserEvaluation.totalPoint2_2,
|
||||||
pointSum: null,
|
pointSumTotal: kpiUserEvaluation.summaryWeight,
|
||||||
pointSumTotal: kpiUserEvaluation.summaryPoint,
|
pointSum: kpiUserEvaluation.summaryPoint,
|
||||||
profileId: kpiUserEvaluation.profileId,
|
profileId: kpiUserEvaluation.profileId,
|
||||||
})
|
})
|
||||||
.then(async (x) => {});
|
.then(async (x) => {});
|
||||||
|
|
@ -1165,13 +1165,13 @@ export class KpiUserEvaluationController extends Controller {
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
.PostData(request, "org/profile/assessments", {
|
.PostData(request, "org/profile/assessments", {
|
||||||
date: new Date(),
|
date: new Date(),
|
||||||
name: null,
|
name: kpiUserEvaluation.evaluationResults,
|
||||||
point1: null,
|
point1Total: kpiUserEvaluation.weightPoint1,
|
||||||
point1Total: kpiUserEvaluation.totalPoint1,
|
point1: kpiUserEvaluation.totalPoint1,
|
||||||
point2: null,
|
point2Total: kpiUserEvaluation.weightPoint2,
|
||||||
point2Total: kpiUserEvaluation.totalPoint2_1 + kpiUserEvaluation.totalPoint2_2,
|
point2: kpiUserEvaluation.totalPoint2_1 + kpiUserEvaluation.totalPoint2_2,
|
||||||
pointSum: null,
|
pointSumTotal: kpiUserEvaluation.summaryWeight,
|
||||||
pointSumTotal: kpiUserEvaluation.summaryPoint,
|
pointSum: kpiUserEvaluation.summaryPoint,
|
||||||
profileId: kpiUserEvaluation.profileId,
|
profileId: kpiUserEvaluation.profileId,
|
||||||
})
|
})
|
||||||
.then(async (x) => {});
|
.then(async (x) => {});
|
||||||
|
|
@ -1217,13 +1217,13 @@ export class KpiUserEvaluationController extends Controller {
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
.PostData(request, "org/profile/assessments", {
|
.PostData(request, "org/profile/assessments", {
|
||||||
date: new Date(),
|
date: new Date(),
|
||||||
name: null,
|
name: kpiUserEvaluation.evaluationResults,
|
||||||
point1: null,
|
point1Total: kpiUserEvaluation.weightPoint1,
|
||||||
point1Total: kpiUserEvaluation.totalPoint1,
|
point1: kpiUserEvaluation.totalPoint1,
|
||||||
point2: null,
|
point2Total: kpiUserEvaluation.weightPoint2,
|
||||||
point2Total: kpiUserEvaluation.totalPoint2_1 + kpiUserEvaluation.totalPoint2_2,
|
point2: kpiUserEvaluation.totalPoint2_1 + kpiUserEvaluation.totalPoint2_2,
|
||||||
pointSum: null,
|
pointSumTotal: kpiUserEvaluation.summaryWeight,
|
||||||
pointSumTotal: kpiUserEvaluation.summaryPoint,
|
pointSum: kpiUserEvaluation.summaryPoint,
|
||||||
profileId: kpiUserEvaluation.profileId,
|
profileId: kpiUserEvaluation.profileId,
|
||||||
})
|
})
|
||||||
.then(async (x) => {});
|
.then(async (x) => {});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue