แก้รายงานสรุปจำนวนผลงานการประเมิน

This commit is contained in:
Bright 2025-03-18 11:32:47 +07:00
parent ce25a2ede1
commit bbf28f9d2d
3 changed files with 39 additions and 3 deletions

View file

@ -444,7 +444,16 @@ export class EvaluationController {
}
const before = null;
await new CallAPI()
.GetData(request, `/org/profile/keycloak/commander/${request.user.sub}`)
.then(async (x) => {
evaluation.rootDnaId = x.rootDnaId;
evaluation.child1DnaId = x.child1DnaId;
evaluation.child2DnaId = x.child2DnaId;
evaluation.child3DnaId = x.child3DnaId;
evaluation.child4DnaId = x.child4DnaId;
})
.catch();
evaluation.step = "PREPARE_DOC_V1";
evaluation.type = requestBody.type == "EXPERT" ? "EXPERT" : "SPECIAL_EXPERT";
evaluation.fullName = requestBody.fullName;