fix:add keyword filter
This commit is contained in:
parent
8d9059ad32
commit
7be8cd2446
3 changed files with 15 additions and 6 deletions
|
|
@ -22,7 +22,7 @@ const { messageError, success, showLoader, hideLoader, onSearchDataTable } =
|
|||
mixin;
|
||||
|
||||
const initialPagination = ref<Pagination>({
|
||||
page:1,
|
||||
page: 1,
|
||||
rowsPerPage: 10,
|
||||
sortBy: "year",
|
||||
});
|
||||
|
|
@ -355,9 +355,10 @@ async function fetchData() {
|
|||
await http
|
||||
.post(config.API.getExamResultById(importId.value), {
|
||||
examAttribute: "",
|
||||
keyword: filter.value,
|
||||
examResult: "",
|
||||
page:initialPagination.value.page,
|
||||
pageSize:initialPagination.value.rowsPerPage,
|
||||
page: initialPagination.value.page,
|
||||
pageSize: initialPagination.value.rowsPerPage,
|
||||
})
|
||||
.then((res) => {
|
||||
let header = res.data.result.header;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue