{{ props.row.point ? `ระดับ ${props.row.point}` : "" }}
@@ -283,4 +308,19 @@ 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: #cde6fb !important;
+}
+.q-btn-group--outline > .q-btn-item + .q-btn-item.active:before {
+ border-left: 1px solid #2196f3 !important;
+ background-color: #cde6fb;
+}
+.q-btn-group--outline > .q-btn-item.active:not(:last-child):before {
+ border: 1px solid #2196f3;
+ background-color: #cde6fb;
+}
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 ae6c2a5..9299127 100644
--- a/src/modules/08_KPI/components/Tab/DialogEvaluate/02_Competenct.vue
+++ b/src/modules/08_KPI/components/Tab/DialogEvaluate/02_Competenct.vue
@@ -282,9 +282,14 @@ function onSubmit() {
}
.q-btn-group--outline > .q-btn-item.active {
color: #2196f3 !important;
- background-color: #fff;
+ background-color: #cde6fb !important;
+}
+.q-btn-group--outline > .q-btn-item + .q-btn-item.active:before {
+ border-left: 1px solid #2196f3 !important;
+ background-color: #cde6fb;
}
.q-btn-group--outline > .q-btn-item.active:not(:last-child):before {
border: 1px solid #2196f3;
+ background-color: #cde6fb;
}
diff --git a/src/modules/08_KPI/components/Tab/Topic/01_Indicator.vue b/src/modules/08_KPI/components/Tab/Topic/01_Indicator.vue
index 5d34234..1427d89 100644
--- a/src/modules/08_KPI/components/Tab/Topic/01_Indicator.vue
+++ b/src/modules/08_KPI/components/Tab/Topic/01_Indicator.vue
@@ -10,6 +10,7 @@ import type { QTableProps } from "quasar";
import Dialog from "@/modules/08_KPI/components/Tab/Dialog/01_FormIndicator.vue";
import Dialog03 from "@/modules/08_KPI/components/Tab/Dialog/03_FormIndicatorSpecial.vue";
import DialogEvaluate from "@/modules/08_KPI/components/Tab/DialogEvaluate/01_Indicator.vue";
+import DialogViewInfo from "@/modules/08_KPI/components/Tab/Dialog/DialogViewInfo.vue";
import { useCounterMixin } from "@/stores/mixin";
import { useKpiDataStore } from "@/modules/08_KPI/store";
@@ -36,14 +37,18 @@ const props = defineProps({
fetchList: { type: Function, required: true },
});
-const visibleColumns = ref
([
- "includingName",
- "target",
- "point",
- "weight",
- "achievement",
- "evaluationResults",
-]);
+const visibleColumns = ref(
+ store.tabOpen === 3
+ ? [
+ "includingName",
+ "target",
+ "point",
+ "weight",
+ "achievement",
+ "evaluationResults",
+ ]
+ : ["includingName", "target", "weight"]
+);
const columns = ref([
{
name: "includingName",
@@ -119,17 +124,23 @@ const modal = ref(false);
const modalAssigned = ref(false);
const isStatusEdit = ref(false);
const modalEvaluate = ref(false);
+const modalViewInfo = ref(false);
function onAdd(edit: boolean = false, id: string = "") {
isStatusEdit.value = edit;
kpiUserPlannedId.value = id;
// if (numpage.value !== 3) {
- modal.value = true;
+ modal.value = true;
// } else if (numpage.value == 3) {
// modalAssigned.value = true;
// }
}
+function onClickView(id: string) {
+ kpiUserPlannedId.value = id;
+ modalViewInfo.value = true;
+}
+
function onEvaluate() {
modalEvaluate.value = true;
}
@@ -191,7 +202,10 @@ watch(
{{ title }}
เพิ่มข้อมูล
-
+