From 55bda1ae17a8f74e508ba81515c5efaa4baf02a3 Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Thu, 25 Apr 2024 10:01:00 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=84=E0=B8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Tab/Dialog/04_FormCompetency.vue | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/modules/08_KPI/components/Tab/Dialog/04_FormCompetency.vue b/src/modules/08_KPI/components/Tab/Dialog/04_FormCompetency.vue index 0248217..413b667 100644 --- a/src/modules/08_KPI/components/Tab/Dialog/04_FormCompetency.vue +++ b/src/modules/08_KPI/components/Tab/Dialog/04_FormCompetency.vue @@ -25,6 +25,7 @@ const store = useKpiDataStore(); const expectedLevel = ref(); const weight = ref(null); +const mixin = useCounterMixin(); const { showLoader, hideLoader, @@ -32,7 +33,7 @@ const { messageError, dialogMessageNotify, success, -} = useCounterMixin(); +} = mixin; const modal = defineModel("modal", { required: true }); const idProps = defineModel("id", { required: true }); const competencyType = defineModel("competencyType", { @@ -165,7 +166,7 @@ function onSubmit() { } function getData() { - showLoader(); + showLoader() http .get(config.API.KpiCapacity + `?type=${type.value}`) .then((res) => { @@ -179,7 +180,7 @@ function getData() { formScore.score5 = data.capacityDetails[4].description; }) .finally(() => { - hideLoader(); + hideLoader() }); } @@ -224,7 +225,7 @@ watch( if (idProps.value) { setTimeout(() => { getDataById(); - }, 100); + }, 1000); } else { if (type.value == "HEAD") { expectedLevel.value = store.defaultCompetencyCoreLevel; @@ -414,8 +415,10 @@ watch(
-
ระดับคะแนน
-
ผลสำเร็จของงาน
+
ระดับสมรรถนะ
+
+ พฤติกรรมที่คาดหวัง/พฤติกรรมย่อย +