fix:sortBy ,descending

- ทำ sortBy เฉพาะ API ที่มีการทำ paging
This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-09-15 13:52:27 +07:00
parent 4308f8887f
commit 1f18b56fbf
13 changed files with 98 additions and 67 deletions

View file

@ -56,7 +56,7 @@ const columns = ref<QTableProps["columns"]>([
name: "no",
align: "left",
label: "ลำดับ",
sortable: true,
sortable: false,
field: "no",
headerStyle: "font-size: 14px",
style: "font-size: 14px; width:5px;",
@ -74,7 +74,7 @@ const columns = ref<QTableProps["columns"]>([
name: "type",
align: "left",
label: "ประเภท",
sortable: true,
sortable: false,
field: "type",
headerStyle: "font-size: 14px",
style: "font-size: 14px; width:15%;",
@ -83,7 +83,7 @@ const columns = ref<QTableProps["columns"]>([
name: "year",
align: "left",
label: "ปีงบประมาณ",
sortable: true,
sortable: false,
field: "year",
headerStyle: "font-size: 14px",
style: "font-size: 14px",