fix: ปรับคะแนน KPI กรณีที่ผู้ขอประเมินมีสถานะทดลองงานอยู่

This commit is contained in:
setthawutttty 2025-07-14 11:50:12 +07:00
parent 86a19fe147
commit ee139530b2
3 changed files with 31 additions and 5 deletions

View file

@ -182,7 +182,10 @@ function getData(type: any) {
} else {
store.competencyScoreVal =
weightAvg != 0
? (resultAvg / weightAvg) * store.competencyScore
? (resultAvg / weightAvg) *
(store.dataEvaluation.isProbation
? store.competencyProbationScore
: store.competencyScore)
: 0;
}