period
This commit is contained in:
parent
664e42816e
commit
5273ddef9e
1 changed files with 2 additions and 1 deletions
|
|
@ -1971,7 +1971,7 @@ export class KpiUserEvaluationController extends Controller {
|
|||
// await new permission().PermissionCreate(request, "SYS_RESULT");//USER
|
||||
const kpiUserEvaluations = await this.kpiUserEvalutionRepository.find({
|
||||
where: { id: In(requestBody.id) },
|
||||
relations: ["kpiUserDevelopments", "kpiUserDevelopments.developmentProjects"],
|
||||
relations: ["kpiPeriod", "kpiUserDevelopments", "kpiUserDevelopments.developmentProjects"],
|
||||
});
|
||||
|
||||
await Promise.all(
|
||||
|
|
@ -1981,6 +1981,7 @@ export class KpiUserEvaluationController extends Controller {
|
|||
.PostData(request, "/org/profile/assessments", {
|
||||
date: new Date(),
|
||||
name: kpiUserEvaluation.evaluationResults,
|
||||
period: kpiUserEvaluation?.kpiPeriod?.durationKPI ?? null,
|
||||
point1Total: kpiUserEvaluation.weightPoint1,
|
||||
point1: kpiUserEvaluation.totalPoint1,
|
||||
point2Total: kpiUserEvaluation.weightPoint2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue