sort สรรหา
This commit is contained in:
parent
383176f5be
commit
136754e910
10 changed files with 35 additions and 9 deletions
|
|
@ -56,6 +56,7 @@ const textTittleScore = ref<string>("");
|
|||
const textTittleCandidate = ref<string>("");
|
||||
const initialPagination = ref<Pagination>({
|
||||
rowsPerPage: 0,
|
||||
sortBy: "year",
|
||||
});
|
||||
const visibleColumns = ref<String[]>([
|
||||
"no",
|
||||
|
|
@ -105,6 +106,7 @@ const columns = ref<QTableProps["columns"]>([
|
|||
format(val, row) {
|
||||
return `${row.year + 543}`;
|
||||
},
|
||||
sort: (a: number, b: number) => b - a,
|
||||
},
|
||||
{
|
||||
name: "examCount",
|
||||
|
|
@ -442,7 +444,7 @@ onMounted(async () => {
|
|||
:visible-columns="visibleColumns"
|
||||
v-model:inputfilter="filter"
|
||||
v-model:inputvisible="visibleColumns"
|
||||
:pagination="initialPagination"
|
||||
v-model:pagination="initialPagination"
|
||||
:nornmalData="true"
|
||||
:add="clickAdd"
|
||||
:paging="true"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue