From 446de98fc2b38ff10f86f4603b1c5be4def84fd8 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 9 May 2024 15:44:33 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=9A=E0=B8=9A=E0=B8=9B=E0=B8=A3?= =?UTF-8?q?=E0=B8=B0=E0=B9=80=E0=B8=A1=E0=B8=B4=E0=B8=99=20=3D>=20?= =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1=20Dialog=20?= =?UTF-8?q?=E0=B8=84=E0=B8=B3=E0=B8=AD=E0=B8=98=E0=B8=B4=E0=B8=9A=E0=B8=B2?= =?UTF-8?q?=E0=B8=A2=E0=B8=9C=E0=B8=A5=E0=B8=AA=E0=B8=B3=E0=B9=80=E0=B8=A3?= =?UTF-8?q?=E0=B9=87=E0=B8=88=E0=B8=82=E0=B8=AD=E0=B8=87=E0=B8=87=E0=B8=B2?= =?UTF-8?q?=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Tab/Dialog/01_FormIndicator.vue | 1 - .../components/Tab/Dialog/DialogViewInfo.vue | 111 ++++++++++++++++++ .../components/Tab/Topic/01_Indicator.vue | 28 +++++ 3 files changed, 139 insertions(+), 1 deletion(-) create mode 100644 src/modules/08_KPI/components/Tab/Dialog/DialogViewInfo.vue diff --git a/src/modules/08_KPI/components/Tab/Dialog/01_FormIndicator.vue b/src/modules/08_KPI/components/Tab/Dialog/01_FormIndicator.vue index c6cdf50..cd4d865 100644 --- a/src/modules/08_KPI/components/Tab/Dialog/01_FormIndicator.vue +++ b/src/modules/08_KPI/components/Tab/Dialog/01_FormIndicator.vue @@ -16,7 +16,6 @@ const $q = useQuasar(); const route = useRoute(); const mixin = useCounterMixin(); const store = useKpiDataStore(); - const { showLoader, hideLoader, diff --git a/src/modules/08_KPI/components/Tab/Dialog/DialogViewInfo.vue b/src/modules/08_KPI/components/Tab/Dialog/DialogViewInfo.vue new file mode 100644 index 0000000..12c71e8 --- /dev/null +++ b/src/modules/08_KPI/components/Tab/Dialog/DialogViewInfo.vue @@ -0,0 +1,111 @@ +divdiv + + + + + 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 9508edc..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"; @@ -123,6 +124,7 @@ 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; @@ -134,6 +136,11 @@ function onAdd(edit: boolean = false, id: string = "") { // } } +function onClickView(id: string) { + kpiUserPlannedId.value = id; + modalViewInfo.value = true; +} + function onEvaluate() { modalEvaluate.value = true; } @@ -249,6 +256,7 @@ watch( >