ซ่อน columns วุฒิการศึกษา ออกคำสั่ง Step 2
This commit is contained in:
parent
4bcd247df8
commit
415fb817f6
1 changed files with 11 additions and 12 deletions
|
|
@ -75,21 +75,21 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "name",
|
name: "name",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ชื่อ-สกุล",
|
label: "ชื่อ-นามสกุล",
|
||||||
field: "name",
|
field: "name",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
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: "education",
|
// name: "education",
|
||||||
align: "left",
|
// align: "left",
|
||||||
label: "วุฒิการศึกษาในการออกคำสั่ง",
|
// label: "วุฒิการศึกษาในการออกคำสั่ง",
|
||||||
field: "education",
|
// field: "education",
|
||||||
sortable: true,
|
// sortable: true,
|
||||||
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" }),
|
||||||
},
|
// },
|
||||||
]);
|
]);
|
||||||
const rows = ref<ResponseData[]>([]);
|
const rows = ref<ResponseData[]>([]);
|
||||||
const rows2 = ref<ResponseData[]>([]);
|
const rows2 = ref<ResponseData[]>([]);
|
||||||
|
|
@ -515,7 +515,6 @@ const pagination = ref({
|
||||||
<q-th v-for="col in props.cols" :key="col.name" :props="props">
|
<q-th v-for="col in props.cols" :key="col.name" :props="props">
|
||||||
<span class="text-weight-medium">{{ col.label }}</span>
|
<span class="text-weight-medium">{{ col.label }}</span>
|
||||||
</q-th>
|
</q-th>
|
||||||
|
|
||||||
<q-th auto-width />
|
<q-th auto-width />
|
||||||
<q-th auto-width />
|
<q-th auto-width />
|
||||||
<q-th auto-width />
|
<q-th auto-width />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue