From 157cce6919be7fe8d616125f37315991606d4d2f Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 16 Oct 2025 09:57:10 +0700 Subject: [PATCH 1/5] style(registry-officer):display colums training --- .../components/detail/Achievement/02_Train.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/modules/04_registryPerson/components/detail/Achievement/02_Train.vue b/src/modules/04_registryPerson/components/detail/Achievement/02_Train.vue index b1fda246c..e96d954e3 100644 --- a/src/modules/04_registryPerson/components/detail/Achievement/02_Train.vue +++ b/src/modules/04_registryPerson/components/detail/Achievement/02_Train.vue @@ -147,7 +147,8 @@ const baseColumns = ref([ sortable: true, field: "place", headerStyle: "font-size: 14px", - style: "font-size: 14px", + style: "font-size: 14px; width: 250px;", + classes: "text-html", sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, @@ -169,7 +170,7 @@ const baseColumns = ref([ sortable: true, field: "department", headerStyle: "font-size: 14px", - style: "font-size: 14px", + style: "font-size: 14px; ", sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, @@ -550,7 +551,7 @@ onMounted(() => { -
+
{{ col.value ? col.value : "-" }}
From 3210bbf68734d6bccf1e784ce7b1e9cbbc99e320 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 17 Oct 2025 10:02:24 +0700 Subject: [PATCH 2/5] fix:filter examResult --- .../03_recruiting/components/Table.vue | 33 ++++- .../03_recruiting/views/01_compete/Detail.vue | 120 ++++-------------- .../views/02_qualify/DisableDetail.vue | 72 ++++------- 3 files changed, 82 insertions(+), 143 deletions(-) diff --git a/src/modules/03_recruiting/components/Table.vue b/src/modules/03_recruiting/components/Table.vue index 7c7f200c8..847679f5c 100644 --- a/src/modules/03_recruiting/components/Table.vue +++ b/src/modules/03_recruiting/components/Table.vue @@ -7,7 +7,11 @@ const attrs = ref(useAttrs()); const table = ref(null); const filterRef = ref(null); -const filter = defineModel("filter", { required: true }); +const filter = defineModel("filter", { required: false }); +const examResult = defineModel("examResult", { + required: false, + default: "", +}); const pagination = defineModel("pagination", { required: true }); const props = defineProps({ @@ -44,6 +48,13 @@ const props = defineProps({ }, }); +const optionsStatus = ref([ + { label: "ทั้งหมด", value: "" }, + { label: "ขส.", value: "missed_exam" }, + { label: "ผ่าน", value: "pass" }, + { label: "ไม่ผ่าน", value: "notpass" }, +]); + const emit = defineEmits([ "update:inputfilter", "update:inputvisible", @@ -92,6 +103,7 @@ watch( } ); +