fix bug kpi
This commit is contained in:
parent
63611d0811
commit
1fa38897cf
7 changed files with 82 additions and 69 deletions
|
|
@ -311,17 +311,14 @@ export const useKpiDataStore = defineStore("KPIDate", () => {
|
|||
const indicatorWeight1Total = ref<number>(0); // น้ำหนักรวมมิติที่ 1 ต้องไม่เกิน 100%
|
||||
const indicatorWeight2Total = ref<number>(0); // น้ำหนักรวมมิติที่ 2 ต้องไม่เกิน 20
|
||||
|
||||
const indicatorPercent = ref<number>(100); // รวมผลการประเมิน (ร้อยละ)
|
||||
const indicatorPercentVal = ref<number>(0); // รวมผลการประเมิน (ร้อยละ) ที่ได้จริง
|
||||
const indicatorScore = ref<number>(70); // สรุปผลการประเมินผลสัมฤทธิ์ของงาน ( คะแนนเต็ม indicatorScore คะแนน)
|
||||
const competencyScore = ref<number>(20); // ผลการประเมินสมรรถนะ (competencyScore คะแนน)
|
||||
const devScore = ref<number>(10); // ผลการประเมินการพัฒนาตนเอง (devScore คะแนน)
|
||||
const devScoreVal = ref<number>(0); // ผลการประเมินการพัฒนาตนเองที่ได้กี่คะแนน
|
||||
const competencyDevScore = ref<number>(30); // สรุปผลการประเมินพฤติกรรมการปฏิบัติราชการ (สมรรถนะ+การพัฒนาตนเอง) (คะแนนเต็ม competencyDevScore คะแนน)
|
||||
const competencyDevScoreVal = ref<number>(0); // สรุปผลการประเมินพฤติกรรมการปฏิบัติราชการ (สมรรถนะ+การพัฒนาตนเอง)ที่ได้กี่คะแนน
|
||||
const devScore = ref<number>(10); // ผลการประเมินการพัฒนาตนเอง (devScore คะแนน)
|
||||
|
||||
// SUMMARY EXCLUSIVE CASE
|
||||
const excusiveIndicatorPercent = ref<number>(100); // รวมผลการประเมิน (ร้อยละ) แต่ละมิติต้องไม่เกิน 100%
|
||||
const excusiveIndicator1PercentVal = ref<number>(0); // รวมผลการประเมิน (ร้อยละ) มิติที่ 1 ที่ได้จริง
|
||||
const excusiveIndicator1Weight = ref<number>(60); // น้ำหนักของมิติที่ 1
|
||||
const excusiveIndicator1ScoreVal = ref<number>(0); // คะแนนมิติที่ 1 ที่ได้จริง
|
||||
|
|
@ -355,7 +352,6 @@ export const useKpiDataStore = defineStore("KPIDate", () => {
|
|||
indicatorWeightTotal,
|
||||
indicatorWeight1Total,
|
||||
indicatorWeight2Total,
|
||||
indicatorPercent,
|
||||
indicatorPercentVal,
|
||||
indicatorScore,
|
||||
indicatorScoreVal,
|
||||
|
|
@ -364,9 +360,7 @@ export const useKpiDataStore = defineStore("KPIDate", () => {
|
|||
devScore,
|
||||
devScoreVal,
|
||||
competencyDevScore,
|
||||
competencyDevScoreVal,
|
||||
excusiveCompetencyScore,
|
||||
excusiveIndicatorPercent,
|
||||
excusiveIndicator1PercentVal,
|
||||
excusiveIndicator1Weight,
|
||||
excusiveIndicator1ScoreVal,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue