Merge branch 'develop' of github.com:Frappet/hrms-mgt into develop
This commit is contained in:
commit
7a52cdfc4d
10 changed files with 38 additions and 12 deletions
|
|
@ -184,7 +184,11 @@ watch(
|
|||
Number(resultAssigned.value);
|
||||
|
||||
store.indicatorScoreVal =
|
||||
store.indicatorPercentVal * (store.indicatorScore / 100);
|
||||
store.indicatorPercentVal *
|
||||
((store.dataEvaluation.isProbation
|
||||
? store.indicatorProbationScore
|
||||
: store.indicatorScore) /
|
||||
100);
|
||||
|
||||
if (store.isUpdate && store.tabMain === "3") {
|
||||
http
|
||||
|
|
@ -435,7 +439,11 @@ onMounted(async () => {
|
|||
<div class="col-12 text-center row justify-center">
|
||||
<span
|
||||
>สรุปผลการประเมินผลสัมฤทธิ์ของงาน (คะแนนเต็ม
|
||||
{{ store.indicatorScore }}
|
||||
{{
|
||||
store.dataEvaluation.isProbation
|
||||
? store.indicatorProbationScore
|
||||
: store.indicatorScore
|
||||
}}
|
||||
คะแนน)</span
|
||||
>
|
||||
<div class="text-primary q-pl-md">
|
||||
|
|
@ -466,7 +474,9 @@ onMounted(async () => {
|
|||
name: `สรุปผลการประเมินสมรรถนะ (คะแนนเต็ม ${
|
||||
store.dataEvaluation.posTypeName != 'อำนวยการ' &&
|
||||
store.dataEvaluation.posTypeName != 'บริหาร'
|
||||
? store.competencyScore
|
||||
? store.dataEvaluation.isProbation
|
||||
? store.competencyProbationScore
|
||||
: store.competencyScore
|
||||
: store.excusiveCompetencyScore
|
||||
} คะแนน)`,
|
||||
value: store.competencyScoreVal.toFixed(2),
|
||||
|
|
@ -544,7 +554,13 @@ onMounted(async () => {
|
|||
<div class="col-12 text-center row justify-center">
|
||||
<span
|
||||
>สรุปผลการประเมินพฤติกรรมการปฏิบัติราชการ (สมรรถนะ+การพัฒนาตนเอง)
|
||||
(คะแนนเต็ม {{ store.competencyDevScore }} คะแนน)</span
|
||||
(คะแนนเต็ม
|
||||
{{
|
||||
store.dataEvaluation.isProbation
|
||||
? store.competencyDevProbationScore
|
||||
: store.competencyDevScore
|
||||
}}
|
||||
คะแนน)</span
|
||||
>
|
||||
<div class="text-primary q-pl-md">
|
||||
{{ (store.competencyScoreVal + store.devScoreVal).toFixed(2) }}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue