From 5b4f9bfce7bb198329c367b290f7fd59b2c0ea2d Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 13 Nov 2024 09:23:33 +0700 Subject: [PATCH 1/8] =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=9B=E0=B8=A3?= =?UTF-8?q?=E0=B8=B0=E0=B9=80=E0=B8=A1=E0=B8=B4=E0=B8=99=E0=B8=9C=E0=B8=A5?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=9B=E0=B8=8F=E0=B8=B4=E0=B8=9A?= =?UTF-8?q?=E0=B8=B1=E0=B8=95=E0=B8=B4=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=A3=E0=B8=B0=E0=B8=94=E0=B8=B1=E0=B8=9A?= =?UTF-8?q?=E0=B8=9A=E0=B8=B8=E0=B8=84=E0=B8=84=E0=B8=A5=20=3D>=20fix=20pa?= =?UTF-8?q?ging?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/14_KPI/views/list.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/modules/14_KPI/views/list.vue b/src/modules/14_KPI/views/list.vue index 92649125a..e7e14f7ae 100644 --- a/src/modules/14_KPI/views/list.vue +++ b/src/modules/14_KPI/views/list.vue @@ -112,7 +112,7 @@ function fetchRoundOption() { roundOp.value = list; store.formQuery.round = list[0].id; - await fetchList(); + await changRound(); } else { roundOp.value = []; store.formQuery.round = ""; @@ -152,7 +152,7 @@ async function fetchList() { }); } -function changRound() { +async function changRound() { formQuery.page = 1; fetchList(); } @@ -170,7 +170,7 @@ function clearYear() { year.value = null; store.formQuery.round = ""; roundOp.value = []; - fetchList(); + changRound(); } /** @@ -318,7 +318,6 @@ onMounted(async () => { map-options :options="columns" option-value="name" - style="min-width: 140px" /> From da3f829f6f01ce9e3970dde6ed97e517ba316847 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Wed, 13 Nov 2024 13:35:32 +0700 Subject: [PATCH 2/8] fix bug --- vite.config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 4c9d87af5..04645790c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -27,5 +27,4 @@ export default defineConfig({ server: { port: 3006, }, - base: "./", }); From 68ee66aed99b726e82cdc8a051168487edf25c06 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 13 Nov 2024 15:30:19 +0700 Subject: [PATCH 3/8] log logout --- src/api/02_organizational/api.organization.ts | 7 +++++-- src/views/MainLayout.vue | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/api/02_organizational/api.organization.ts b/src/api/02_organizational/api.organization.ts index 1d8d2aab3..0688fdab9 100644 --- a/src/api/02_organizational/api.organization.ts +++ b/src/api/02_organizational/api.organization.ts @@ -123,13 +123,14 @@ export default { * รายการคำร้องขอแก้ไขทะเบียนประวัติ */ requestEdit: `${orgProfile}/edit/`, - requestEditByType:(type:string)=> `${orgProfile}${type}/edit/`, + requestEditByType: (type: string) => `${orgProfile}${type}/edit/`, /** * ข้อมูลการพัฒนารายบุคคล IDP */ requestDevelopmentEdit: `${orgProfile}/development-request/`, - requestDevelopmentEditByType:(type:string)=> `${orgProfile}${type}/development-request/`, + requestDevelopmentEditByType: (type: string) => + `${orgProfile}${type}/development-request/`, /** * รายการเมนู @@ -151,4 +152,6 @@ export default { `${workflow}/keycloak/isofficer/${type}`, positionCondition: `${orgPos}/master/position-condition`, + + keycloakLogSSO: `${organization}/keycloak/log/sso`, }; diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index b45c9d7e4..07fc8edbf 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -418,7 +418,8 @@ const doLogout = () => { dialogConfirm( $q, async () => { - logout(); + await http.post(config.API.keycloakLogSSO, { text: "ออกจากระบบ" }); + await logout(); }, "ยืนยันการออกจากระบบ", "ต้องการออกจากระบบใช่หรือไม่?" From 35cd296a9a031986c6d091787a52cf259434762e Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 13 Nov 2024 15:53:31 +0700 Subject: [PATCH 4/8] =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B8=A3?= =?UTF-8?q?=E0=B8=B0=E0=B8=94=E0=B8=B1=E0=B8=9A=E0=B8=8A=E0=B8=B1=E0=B9=89?= =?UTF-8?q?=E0=B8=99=E0=B8=87=E0=B8=B2=E0=B8=99=E0=B8=A5=E0=B8=B9=E0=B8=81?= =?UTF-8?q?=E0=B8=88=E0=B9=89=E0=B8=B2=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AppointEmployee/DialogOrders.vue | 9 ++++++--- .../05_placement/views/07_appointEmployeeMain.vue | 7 +++++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/modules/05_placement/components/AppointEmployee/DialogOrders.vue b/src/modules/05_placement/components/AppointEmployee/DialogOrders.vue index cec42b761..2603c3ac7 100644 --- a/src/modules/05_placement/components/AppointEmployee/DialogOrders.vue +++ b/src/modules/05_placement/components/AppointEmployee/DialogOrders.vue @@ -113,7 +113,11 @@ const columns2 = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", format: (val: string) => { - return val === "SLIP" ? "เลื่อน" : val === "MOVE" ? "ย้าย" : "-"; + return val === "SLIP" + ? "ปรับระดับชั้นงาน" + : val === "MOVE" + ? "ย้าย" + : "-"; }, }, { @@ -221,7 +225,7 @@ watch( emit-value map-options use-input - style="width: 350px; max-width: auto" + style="width: 380px; max-width: auto" @update:model-value="filterSelectOrder" @filter="(inputValue:string, doneFn:Function) => filterSelector(inputValue, doneFn @@ -267,7 +271,6 @@ watch( map-options :options="columns2" option-value="name" - style="min-width: 140px" /> diff --git a/src/modules/05_placement/views/07_appointEmployeeMain.vue b/src/modules/05_placement/views/07_appointEmployeeMain.vue index fb06f0b9d..83aed4a80 100644 --- a/src/modules/05_placement/views/07_appointEmployeeMain.vue +++ b/src/modules/05_placement/views/07_appointEmployeeMain.vue @@ -121,7 +121,11 @@ const columns = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", format: (val: string) => { - return val === "SLIP" ? "เลื่อน" : val === "MOVE" ? "ย้าย" : "-"; + return val === "SLIP" + ? "ปรับระดับชั้นงาน" + : val === "MOVE" + ? "ย้าย" + : "-"; }, }, { @@ -342,7 +346,6 @@ onMounted(() => { map-options :options="columns" option-value="name" - style="min-width: 140px" class="col-xs-12 col-sm-3 col-md-2 q-ml-sm" /> From edbd250c54284b7b3e044c7ec76e65a59f4bbc0c Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 13 Nov 2024 16:49:38 +0700 Subject: [PATCH 5/8] =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=A5=E0=B8=B2=E0=B8=AD=E0=B8=AD=E0=B8=81?= =?UTF-8?q?=E0=B8=A5=E0=B8=B9=E0=B8=81=E0=B8=88=E0=B9=89=E0=B8=B2=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../06_retirement/components/resignEMP/Main.vue | 4 +++- src/modules/06_retirement/store/resignMain.ts | 11 +++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/modules/06_retirement/components/resignEMP/Main.vue b/src/modules/06_retirement/components/resignEMP/Main.vue index dd0d26dc0..0d475bdb7 100644 --- a/src/modules/06_retirement/components/resignEMP/Main.vue +++ b/src/modules/06_retirement/components/resignEMP/Main.vue @@ -7,7 +7,9 @@ const stroe = useDataStore();