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" >