แก้ฟิลเตอร์ จากล่างขึ้นบนถึง พ้นราชการ

This commit is contained in:
setthawutttty 2024-12-03 15:28:53 +07:00
parent 35422c6963
commit e9280ca4f3
21 changed files with 260 additions and 69 deletions

View file

@ -44,6 +44,7 @@ export const useDisciplineChannelDataStore = defineStore(
type.value = data;
}
const rows = ref<ChannelRows[]>([]);
const rowsData = ref<ChannelRows[]>([]);
/**
* API rows
@ -51,12 +52,14 @@ export const useDisciplineChannelDataStore = defineStore(
*/
function fetchData(data: ChannelRows[]) {
rows.value = data;
rowsData.value = data;
}
return {
visibleColumns,
columns,
rows,
rowsData,
fetchData,
type,
getType,