From bb549016fe999b33e443d8899fae840e4be6f6b8 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Thu, 2 May 2024 14:55:45 +0700 Subject: [PATCH] show year of scholarship list --- src/modules/15_development/views/Scholarship.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/modules/15_development/views/Scholarship.vue b/src/modules/15_development/views/Scholarship.vue index e1cccdc20..dd5459d38 100644 --- a/src/modules/15_development/views/Scholarship.vue +++ b/src/modules/15_development/views/Scholarship.vue @@ -24,6 +24,18 @@ const { showLoader, hideLoader, messageError } = useCounterMixin(); /** หัวตาราง */ const rows = ref([]); const columns = ref([ + { + name: "year", + align: "left", + label: "ปีงบประมาณ ", + sortable: true, + field: "year", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + format(val) { + return val + 543; + }, + }, { name: "citizenId", align: "left", @@ -81,6 +93,7 @@ const columns = ref([ }, ]); const visibleColumns = ref([ + "year", "citizenId", "fullName", "position",