fix: ปรับคะแนน KPI กรณีที่ผู้ขอประเมินมีสถานะทดลองงานอยู่
This commit is contained in:
parent
6164ff1e93
commit
d7db31234f
2 changed files with 7 additions and 7 deletions
|
|
@ -195,7 +195,7 @@ watch(
|
||||||
|
|
||||||
store.indicatorScoreVal =
|
store.indicatorScoreVal =
|
||||||
store.indicatorPercentVal *
|
store.indicatorPercentVal *
|
||||||
((store.dataProfile.isProbation
|
((store.dataEvaluation.isProbation
|
||||||
? store.indicatorProbationScore
|
? store.indicatorProbationScore
|
||||||
: store.indicatorScore) /
|
: store.indicatorScore) /
|
||||||
100);
|
100);
|
||||||
|
|
@ -476,11 +476,11 @@ onMounted(() => {
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="row text-body2 text-weight-bold">
|
<div class="row text-body2 text-weight-bold">
|
||||||
<div class="col-12 text-center row justify-center">
|
<div class="col-12 text-center row justify-center">{{ store.dataProfile.isProbation }}
|
||||||
<span
|
<span
|
||||||
>สรุปผลการประเมินผลสัมฤทธิ์ของงาน (คะแนนเต็ม
|
>สรุปผลการประเมินผลสัมฤทธิ์ของงาน (คะแนนเต็ม
|
||||||
{{
|
{{
|
||||||
store.dataProfile.isProbation
|
store.dataEvaluation.isProbation
|
||||||
? store.indicatorProbationScore
|
? store.indicatorProbationScore
|
||||||
: store.indicatorScore
|
: store.indicatorScore
|
||||||
}}
|
}}
|
||||||
|
|
@ -514,7 +514,7 @@ onMounted(() => {
|
||||||
name: `สรุปผลการประเมินสมรรถนะ (คะแนนเต็ม ${
|
name: `สรุปผลการประเมินสมรรถนะ (คะแนนเต็ม ${
|
||||||
store.dataEvaluation.posTypeName != 'อำนวยการ' &&
|
store.dataEvaluation.posTypeName != 'อำนวยการ' &&
|
||||||
store.dataEvaluation.posTypeName != 'บริหาร'
|
store.dataEvaluation.posTypeName != 'บริหาร'
|
||||||
? store.dataProfile.isProbation
|
? store.dataEvaluation.isProbation
|
||||||
? store.competencyProbationScore
|
? store.competencyProbationScore
|
||||||
: store.competencyScore
|
: store.competencyScore
|
||||||
: store.excusiveCompetencyScore
|
: store.excusiveCompetencyScore
|
||||||
|
|
@ -558,7 +558,7 @@ onMounted(() => {
|
||||||
:rows="[
|
:rows="[
|
||||||
{
|
{
|
||||||
name: `ผลการประเมินการพัฒนาตนเอง (คะแนนเต็ม ${
|
name: `ผลการประเมินการพัฒนาตนเอง (คะแนนเต็ม ${
|
||||||
store.dataProfile.isProbation
|
store.dataEvaluation.isProbation
|
||||||
? store.devProbationScore
|
? store.devProbationScore
|
||||||
: store.devScore
|
: store.devScore
|
||||||
} คะแนน)`,
|
} คะแนน)`,
|
||||||
|
|
@ -600,7 +600,7 @@ onMounted(() => {
|
||||||
สรุปผลการประเมินพฤติกรรมการปฏิบัติราชการ (สมรรถนะ+การพัฒนาตนเอง)
|
สรุปผลการประเมินพฤติกรรมการปฏิบัติราชการ (สมรรถนะ+การพัฒนาตนเอง)
|
||||||
(คะแนนเต็ม
|
(คะแนนเต็ม
|
||||||
{{
|
{{
|
||||||
store.dataProfile.isProbation
|
store.dataEvaluation.isProbation
|
||||||
? store.competencyDevProbationScore
|
? store.competencyDevProbationScore
|
||||||
: store.competencyDevScore
|
: store.competencyDevScore
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -209,7 +209,7 @@ function getData(type: string) {
|
||||||
store.competencyScoreVal =
|
store.competencyScoreVal =
|
||||||
weightAvg != 0
|
weightAvg != 0
|
||||||
? (resultAvg / weightAvg) *
|
? (resultAvg / weightAvg) *
|
||||||
(store.dataProfile.isProbation
|
(store.dataEvaluation.isProbation
|
||||||
? store.competencyProbationScore
|
? store.competencyProbationScore
|
||||||
: store.competencyScore)
|
: store.competencyScore)
|
||||||
: 0;
|
: 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue