From d82d138c76e1cd93c6c41a1638e2c16b74fa3958 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 8 May 2026 10:42:10 +0700 Subject: [PATCH 1/3] fix(issues): statusOptions value --- src/modules/07_issues/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/07_issues/store.ts b/src/modules/07_issues/store.ts index 30809595..0c983f7d 100644 --- a/src/modules/07_issues/store.ts +++ b/src/modules/07_issues/store.ts @@ -16,7 +16,7 @@ export const useIssueStore = defineStore("issue", () => { { label: "Dev กำลังดำเนินการ", value: "IN_PROGRESS" }, { label: "แก้ไขแล้ว", value: "RESOLVED" }, { label: "Helpdesk กำลังดำเนินการ", value: "HELPDESK_IN_PROGRESS" }, - { label: "แจ้งกลับแล้ว", value: "REPLIED " }, + { label: "แจ้งกลับแล้ว", value: "REPLIED" }, { label: "ปิดแล้ว", value: "CLOSED" }, ]); From 7489c9d2aa12fb21d5b689499a895235826b4adf Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 26 May 2026 15:00:49 +0700 Subject: [PATCH 2/3] fix: default profileImg --- src/views/MainLayout.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index d9b71c84..0907b056 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -357,7 +357,7 @@ async function fetchKeycloakPosition() { }); } -const profileImg = ref(""); +const profileImg = ref(avatar); async function getImg(id: string, pathName: string) { await http .get(config.API.fileByFile("ทะเบียนประวัติ", "โปรไฟล์", id, pathName)) From dfd20c97dcd5f8e2a1174c5d96b000b6c7af4438 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Thu, 28 May 2026 09:52:24 +0700 Subject: [PATCH 3/3] update manage web services list add access --- src/modules/06_webservices/view/listView.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/modules/06_webservices/view/listView.vue b/src/modules/06_webservices/view/listView.vue index 56fb82db..8ee8bdb5 100644 --- a/src/modules/06_webservices/view/listView.vue +++ b/src/modules/06_webservices/view/listView.vue @@ -37,6 +37,7 @@ const visibleColumns = ref([ "amount", "createdAt", "createdFullName", + "accessType", ]); const columns = ref([ { @@ -62,6 +63,22 @@ const columns = ref([ .join(""); }, }, + { + name: "accessType", + align: "left", + label: "การเข้าถึง", + sortable: true, + field: "accessType", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + format(val, row) { + if (val === "ALL") { + return `ทั้งหมด`; + } else { + return `${val} (${row.orgName})`; + } + }, + }, { name: "amount", align: "left", @@ -147,7 +164,7 @@ function serchDataTable() { rows.value = onSearchDataTable( keyword.value, rowsMain.value, - columns.value ? columns.value : [] + columns.value ? columns.value : [], ); }