เพิ่ม 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
|
||||
.post(
|
||||
config.API.orgSearchPersonal(),
|
||||
config.API.orgSearchPersonal()+`?page=${pagination.value.page}&pageSize=${pagination.value.rowsPerPage}`,
|
||||
body
|
||||
)
|
||||
.then((res) => {
|
||||
|
|
|
|||
|
|
@ -203,10 +203,12 @@ function selectType() {
|
|||
if (empType.value !== "officer") {
|
||||
store.formFilter.isShowRetire = null;
|
||||
store.formFilter.isProbation = null;
|
||||
store.formFilter.keyword = "";
|
||||
fetchOptionGroup();
|
||||
} else {
|
||||
store.formFilter.isShowRetire = false;
|
||||
store.formFilter.isProbation = false;
|
||||
store.formFilter.keyword = "";
|
||||
fetchType();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue