salary - get list persons by agency rootId

This commit is contained in:
Warunee Tamkoo 2024-03-08 09:34:14 +07:00
parent cbf34695b8
commit 8b0eeb5f95
3 changed files with 8 additions and 0 deletions

View file

@ -96,6 +96,7 @@ const formFilter = reactive<DataFilterPerson>({
page: 1,
pageSize: 10,
keyword: "",
rootId: ""
});
const maxPage = ref<number>(1);
@ -109,6 +110,9 @@ function closeModal() {
/** function เรียกรายชื่อ คนเลื่อนเงินเดือน*/
function fetchListPerson() {
showLoader();
console.log(store.rootId);
formFilter.rootId = store.rootId;
http
.post(config.API.salaryListPerson, formFilter)
.then((res) => {