เพิ่ม isHigh
This commit is contained in:
parent
6efe622a76
commit
7f4db651fc
1 changed files with 30 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ const visibleColumns = ref<string[]>([
|
||||||
"other",
|
"other",
|
||||||
"fundName",
|
"fundName",
|
||||||
"isEducation",
|
"isEducation",
|
||||||
|
"isHigh",
|
||||||
"endDate",
|
"endDate",
|
||||||
"startDate",
|
"startDate",
|
||||||
"finishDate",
|
"finishDate",
|
||||||
|
|
@ -120,6 +121,20 @@ 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: "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",
|
name: "degree",
|
||||||
align: "left",
|
align: "left",
|
||||||
|
|
@ -320,6 +335,20 @@ const columnsHistory = 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: "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",
|
name: "degree",
|
||||||
align: "left",
|
align: "left",
|
||||||
|
|
@ -455,6 +484,7 @@ const visibleColumnsHistory = ref<string[]>([
|
||||||
"other",
|
"other",
|
||||||
"fundName",
|
"fundName",
|
||||||
"isEducation",
|
"isEducation",
|
||||||
|
"isHigh",
|
||||||
"endDate",
|
"endDate",
|
||||||
"startDate",
|
"startDate",
|
||||||
"finishDate",
|
"finishDate",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue