From 93bdc791dc56319c25cd47ce95b8d0be600512c5 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 27 May 2024 15:29:13 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20ui=20Res?= =?UTF-8?q?ponensive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/01_dashboard/views/Dashboard.vue | 6 +- .../Tab/Dialog/01_FormIndicator.vue | 8 +- .../Tab/Dialog/04_FormCompetency.vue | 39 +++++- .../components/Tab/Dialog/DialogViewInfo.vue | 6 +- src/modules/08_KPI/components/Tab/TabMain.vue | 36 +++-- .../components/Tab/Topic/01_Indicator.vue | 117 ++++++++++++---- .../components/Tab/Topic/02_Competency.vue | 127 ++++++++++++++---- .../components/Tab/Topic/03_Develop.vue | 1 - src/views/MainLayout.vue | 6 +- 9 files changed, 266 insertions(+), 80 deletions(-) diff --git a/src/modules/01_dashboard/views/Dashboard.vue b/src/modules/01_dashboard/views/Dashboard.vue index 27b38e9..e0111e4 100644 --- a/src/modules/01_dashboard/views/Dashboard.vue +++ b/src/modules/01_dashboard/views/Dashboard.vue @@ -6,6 +6,7 @@ import router from "@/router"; import http from "@/plugins/http"; import config from "@/app.config"; import { useCounterMixin } from "@/stores/mixin"; +import keycloak from "@/plugins/keycloak"; import PopupReplyInbox from "@/components/PopupReplyInbox.vue"; import PopupDetailInbox from "@/components/PopupDetailInbox.vue"; @@ -13,7 +14,7 @@ const $q = useQuasar(); const mixin = useCounterMixin(); const { showLoader, hideLoader, date2Thai, messageError } = mixin; -const fullname = ref("ธัญลักษณ์"); +const fullname = ref(""); const inboxList = ref([ // { // no: 1, @@ -108,6 +109,9 @@ const items = ref([ ]); onMounted(async () => { await fetchlistInbox(1); + if (keycloak.tokenParsed != null) { + fullname.value = keycloak.tokenParsed.name; + } }); const fetchlistInbox = async (index: number) => { index === 1 && showLoader(); 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 90937c5..0f3a90e 100644 --- a/src/modules/08_KPI/components/Tab/Dialog/01_FormIndicator.vue +++ b/src/modules/08_KPI/components/Tab/Dialog/01_FormIndicator.vue @@ -462,7 +462,7 @@ const title = computed(() => {
-
+
{
-
+
รายละเอียดตัวชี้วัด
-
+
@@ -733,7 +733,7 @@ const title = computed(() => {
-
+
-
+
-
+
รายละเอียดสมรรถนะ
-
+
-
- + + - +
{{ props.row.point ? `ระดับ ${props.row.point}` : "" }} @@ -431,6 +405,95 @@ const isEditStep3 = computed(() => { + 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 6564cdb..1d91d35 100644 --- a/src/modules/08_KPI/components/Tab/Topic/02_Competency.vue +++ b/src/modules/08_KPI/components/Tab/Topic/02_Competency.vue @@ -266,7 +266,7 @@ onMounted(() => { - + +
diff --git a/src/modules/08_KPI/components/Tab/Topic/03_Develop.vue b/src/modules/08_KPI/components/Tab/Topic/03_Develop.vue index dcc510b..6da04f9 100644 --- a/src/modules/08_KPI/components/Tab/Topic/03_Develop.vue +++ b/src/modules/08_KPI/components/Tab/Topic/03_Develop.vue @@ -237,7 +237,6 @@ onMounted(() => { :paging="true" dense hide-pagination - class="custom-table2" no-data-label="ไม่มีข้อมูล" :visible-columns="visibleColumns" > diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index c058e0f..476b933 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -473,16 +473,16 @@ function onInfo(){ flat round color="white" - icon="mdi-view-dashboard-outline" + icon="mdi-home" @click="router.push(`/`)" /> - + /> -->