รายการทุนการศึกษา/ฝึกอบรม

This commit is contained in:
STW_TTTY\stwtt 2024-04-19 11:10:06 +07:00
parent 1993d72e04
commit 52cf340b33

View file

@ -80,7 +80,7 @@ const visibleColumns = ref<string[]>(["scholarshipYear", "scholarshipType"]);
/** ดึงข้อมูล */
function getData() {
http
.get(config.API.developmentScholarship + `/user/${profilId.value}`)
.get(config.API.developmentScholarship + `/user/${profilId.value}?year=${year.value}&type=${type.value}`)
.then((res) => {
rows.value = res.data.result;
})
@ -264,6 +264,7 @@ onMounted(async () => {
bordered
:paging="true"
dense
hide-pagination
class="custom-table2"
:visible-columns="visibleColumns"
v-model:pagination="pagination"