ปีงบประมาณ

This commit is contained in:
setthawutttty 2024-01-16 15:52:51 +07:00
parent 7052a622d6
commit 40a2272881
2 changed files with 13 additions and 1 deletions

View file

@ -57,6 +57,7 @@ const visibleColumns = ref<string[]>([
"title",
"fullname",
"citizenId",
"year",
"caseType",
"caseNumber",
"description",
@ -115,6 +116,17 @@ const columns = ref<QTableProps["columns"]>([
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
{
name: "year",
align: "left",
label: "ปีงบประมาณ",
sortable: true,
field: "year",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
{
name: "caseType",
align: "left",

View file

@ -70,7 +70,7 @@ export const useAppealComplainStore = defineStore(
type: typeConvert(e.type),
title: e.title,
description: e.description,
year: e.year,
year: e.year + 543,
fullname: e.fullname,
citizenId: e.citizenId,
caseType: e.caseType,