From d601fee5e540cdfd85f4c0ad0747a95e897c1336 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Mon, 23 Jun 2025 09:59:03 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B9=81=E0=B8=AA=E0=B8=94=E0=B8=87=E0=B8=9C?= =?UTF-8?q?=E0=B8=A5=E0=B9=83=E0=B8=99=E0=B8=AB=E0=B8=99=E0=B9=89=E0=B8=B2?= =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5=E0=B8=A2=E0=B8=99?= =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95=E0=B8=B4?= =?UTF-8?q?=E0=B8=9C=E0=B8=B9=E0=B9=89=E0=B8=9E=E0=B9=89=E0=B8=99=E0=B8=88?= =?UTF-8?q?=E0=B8=B2=E0=B8=81=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/04_registryPerson/views/detailView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/04_registryPerson/views/detailView.vue b/src/modules/04_registryPerson/views/detailView.vue index e81ff334f..0d48df7f3 100644 --- a/src/modules/04_registryPerson/views/detailView.vue +++ b/src/modules/04_registryPerson/views/detailView.vue @@ -370,12 +370,12 @@ async function fetchDataPersonal() { (r: DataOption) => r.id == res.data.result.leaveReason ); if (reason.length > 0) { - leaveReason.value = `(พ้นจากราชการด้วยสาเหตุ : ${reason[0].name})`; + leaveReason.value = `(พ้นจากราชการ : ${reason[0].name})`; } else if ( res.data.result.leaveReason !== null && res.data.result.leaveReason !== "" ) { - leaveReason.value = `(พ้นจากราชการด้วยสาเหตุ : ${res.data.result.leaveReason})`; + leaveReason.value = `(พ้นจากราชการ : ${storeRegistry.convertTypeRetired(res.data.result.leaveType)})`; } reasonStatus.value = reason.length > 0 ? true : false; }