From 8ede2c6d09c619feafe69e70ba6b4445b634dc21 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 2 Dec 2024 16:06:25 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B9=80=E0=B8=87=E0=B8=B4=E0=B8=99?= =?UTF-8?q?=E0=B9=80=E0=B8=94=E0=B8=B7=E0=B8=AD=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/04_registryPerson/views/detailView.vue | 2 -- .../components/05_salaryListsEmployee/DialogAddPerson.vue | 8 +++++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/04_registryPerson/views/detailView.vue b/src/modules/04_registryPerson/views/detailView.vue index 0b9a2d93a..fcfa508ff 100644 --- a/src/modules/04_registryPerson/views/detailView.vue +++ b/src/modules/04_registryPerson/views/detailView.vue @@ -102,8 +102,6 @@ const baseItemsMenu = ref([ ]); const itemsMenu = computed(() => { - console.log(leaveReason.value); - if ( leaveReason.value === "(พ้นจากราชการด้วยสาเหตุ: ได้รับโทษทางวินัย ให้ออกจากราชการไว้ก่อน)" || diff --git a/src/modules/13_salary/components/05_salaryListsEmployee/DialogAddPerson.vue b/src/modules/13_salary/components/05_salaryListsEmployee/DialogAddPerson.vue index ac13456c6..4dbd8cb5d 100644 --- a/src/modules/13_salary/components/05_salaryListsEmployee/DialogAddPerson.vue +++ b/src/modules/13_salary/components/05_salaryListsEmployee/DialogAddPerson.vue @@ -71,11 +71,11 @@ const columns = ref([ style: "font-size: 14px", }, { - name: "posTypeName", + name: "posType", align: "left", label: "กลุ่มงาน", sortable: true, - field: "posTypeName", + field: "posType", headerStyle: "font-size: 14px", style: "font-size: 14px", }, @@ -87,6 +87,9 @@ const columns = ref([ field: "posLevelName", headerStyle: "font-size: 14px", style: "font-size: 14px", + format(val, row) { + return `${row.posTypeShort}${row.posLevel}`; + }, }, ]); /** ข้อมูุลค้นหา*/ @@ -227,7 +230,6 @@ watch(