เพิ่ม pageing
This commit is contained in:
parent
3cde135b74
commit
83da5192b2
2 changed files with 3 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ async function getSearch() {
|
||||||
};
|
};
|
||||||
await http
|
await http
|
||||||
.post(
|
.post(
|
||||||
config.API.orgSearchPersonal(),
|
config.API.orgSearchPersonal()+`?page=${pagination.value.page}&pageSize=${pagination.value.rowsPerPage}`,
|
||||||
body
|
body
|
||||||
)
|
)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|
|
||||||
|
|
@ -203,10 +203,12 @@ function selectType() {
|
||||||
if (empType.value !== "officer") {
|
if (empType.value !== "officer") {
|
||||||
store.formFilter.isShowRetire = null;
|
store.formFilter.isShowRetire = null;
|
||||||
store.formFilter.isProbation = null;
|
store.formFilter.isProbation = null;
|
||||||
|
store.formFilter.keyword = "";
|
||||||
fetchOptionGroup();
|
fetchOptionGroup();
|
||||||
} else {
|
} else {
|
||||||
store.formFilter.isShowRetire = false;
|
store.formFilter.isShowRetire = false;
|
||||||
store.formFilter.isProbation = false;
|
store.formFilter.isProbation = false;
|
||||||
|
store.formFilter.keyword = "";
|
||||||
fetchType();
|
fetchType();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue