From d0627e3c5c24c22a5ff3d9b4512c4d07f2187734 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Thu, 9 May 2024 13:00:54 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B9=81=E0=B8=AA=E0=B8=94=E0=B8=87=E0=B8=9C?= =?UTF-8?q?=E0=B8=A5=E0=B8=AA=E0=B8=A1=E0=B8=A3=E0=B8=A3=E0=B8=96=E0=B8=99?= =?UTF-8?q?=E0=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Tab/DialogEvaluate/02_Competenct.vue | 35 ++++++++++++++-- .../components/Tab/Topic/02_Competency.vue | 41 +++++++++++++++++-- src/modules/08_KPI/views/form.vue | 2 +- 3 files changed, 69 insertions(+), 9 deletions(-) diff --git a/src/modules/08_KPI/components/Tab/DialogEvaluate/02_Competenct.vue b/src/modules/08_KPI/components/Tab/DialogEvaluate/02_Competenct.vue index 86e645c..ae6c2a5 100644 --- a/src/modules/08_KPI/components/Tab/DialogEvaluate/02_Competenct.vue +++ b/src/modules/08_KPI/components/Tab/DialogEvaluate/02_Competenct.vue @@ -171,8 +171,26 @@ function onSubmit() {
-
- + + + +
+ +
+
+
+
+ +
-
รอ ทำ select
{{ props.row.point !== 0 ? props.row.point * 20 : "-" }} @@ -260,4 +277,14 @@ function onSubmit() { top: 0; } } +.q-btn-group--outline > .q-btn-item:not(:last-child):before { + border-right: 1px solid #c4c4c4; +} +.q-btn-group--outline > .q-btn-item.active { + color: #2196f3 !important; + background-color: #fff; +} +.q-btn-group--outline > .q-btn-item.active:not(:last-child):before { + border: 1px solid #2196f3; +} diff --git a/src/modules/08_KPI/components/Tab/Topic/02_Competency.vue b/src/modules/08_KPI/components/Tab/Topic/02_Competency.vue index 65f4374..9963619 100644 --- a/src/modules/08_KPI/components/Tab/Topic/02_Competency.vue +++ b/src/modules/08_KPI/components/Tab/Topic/02_Competency.vue @@ -107,6 +107,12 @@ const columns = ref([ }, ]); +const visibleColumns = ref( + store.tabOpen === 3 + ? ["name", "level", "point", "weight", "summary"] + : ["name", "level", "weight"] +); + const typeCompetency = ref(""); function onAdd(type: string) { typeCompetency.value = type; @@ -239,7 +245,7 @@ onMounted(() => {
- + @@ -266,6 +272,7 @@ onMounted(() => { hide-pagination class="custom-table2" no-data-label="ไม่มีข้อมูล" + :visible-columns="visibleColumns" >