ข้อมูลทะเบียนประวัติ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-03-08 13:11:20 +07:00
parent 9fda47fb9c
commit b7a71dbb45
10 changed files with 111 additions and 1282 deletions

View file

@ -96,7 +96,7 @@ const formFilter = reactive<DataFilterPerson>({
page: 1,
pageSize: 10,
keyword: "",
rootId: ""
rootId: "",
});
const maxPage = ref<number>(1);
@ -109,7 +109,7 @@ function closeModal() {
/** function เรียกรายชื่อ คนเลื่อนเงินเดือน*/
function fetchListPerson() {
showLoader();
showLoader();
formFilter.rootId = store.rootId;
http
.post(config.API.salaryListPerson, formFilter)
@ -180,9 +180,9 @@ function searchData() {
/** callblack function เรียกข้อมูลรายชื่อคนเลื่อนเงินเดือน เมื่อมีการเปิด Popup*/
watch(
() => modal.value,
async () => {
() => {
if (modal.value) {
await fetchListPerson();
fetchListPerson();
}
}
);