ปีงบประมาณ
This commit is contained in:
parent
7052a622d6
commit
40a2272881
2 changed files with 13 additions and 1 deletions
|
|
@ -57,6 +57,7 @@ const visibleColumns = ref<string[]>([
|
||||||
"title",
|
"title",
|
||||||
"fullname",
|
"fullname",
|
||||||
"citizenId",
|
"citizenId",
|
||||||
|
"year",
|
||||||
"caseType",
|
"caseType",
|
||||||
"caseNumber",
|
"caseNumber",
|
||||||
"description",
|
"description",
|
||||||
|
|
@ -115,6 +116,17 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
sort: (a: string, b: string) =>
|
sort: (a: string, b: string) =>
|
||||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
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",
|
name: "caseType",
|
||||||
align: "left",
|
align: "left",
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ export const useAppealComplainStore = defineStore(
|
||||||
type: typeConvert(e.type),
|
type: typeConvert(e.type),
|
||||||
title: e.title,
|
title: e.title,
|
||||||
description: e.description,
|
description: e.description,
|
||||||
year: e.year,
|
year: e.year + 543,
|
||||||
fullname: e.fullname,
|
fullname: e.fullname,
|
||||||
citizenId: e.citizenId,
|
citizenId: e.citizenId,
|
||||||
caseType: e.caseType,
|
caseType: e.caseType,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue