From 7f4db651fc3f6c8c11c4164d5e2b9801e7605088 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 17 Mar 2025 10:33:01 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20isHigh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../01_Information/05_Educations.vue | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/modules/10_registry/01_Information/05_Educations.vue b/src/modules/10_registry/01_Information/05_Educations.vue index 943a411..435c123 100644 --- a/src/modules/10_registry/01_Information/05_Educations.vue +++ b/src/modules/10_registry/01_Information/05_Educations.vue @@ -42,6 +42,7 @@ const visibleColumns = ref([ "other", "fundName", "isEducation", + "isHigh", "endDate", "startDate", "finishDate", @@ -120,6 +121,20 @@ const columns = ref([ sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, + { + name: "isHigh", + align: "left", + label: "วุฒิการศึกษาสูงสุด", + sortable: true, + field: "isHigh", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + format: (v) => (v === true ? "ใช่" : v === false ? "ไม่ใช่" : "-"), + sort: (a: string, b: string) => + a + .toString() + .localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), + }, { name: "degree", align: "left", @@ -320,6 +335,20 @@ const columnsHistory = ref([ sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, + { + name: "isHigh", + align: "left", + label: "วุฒิการศึกษาสูงสุด", + sortable: true, + field: "isHigh", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + format: (v) => (v === true ? "ใช่" : v === false ? "ไม่ใช่" : "-"), + sort: (a: string, b: string) => + a + .toString() + .localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), + }, { name: "degree", align: "left", @@ -455,6 +484,7 @@ const visibleColumnsHistory = ref([ "other", "fundName", "isEducation", + "isHigh", "endDate", "startDate", "finishDate",