รายการการประเมินผลการปฏิบัติราชการระดับบุคคล => fix paging

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-13 09:23:33 +07:00
parent aad09c302b
commit 5b4f9bfce7

View file

@ -112,7 +112,7 @@ function fetchRoundOption() {
roundOp.value = list;
store.formQuery.round = list[0].id;
await fetchList();
await changRound();
} else {
roundOp.value = [];
store.formQuery.round = "";
@ -152,7 +152,7 @@ async function fetchList() {
});
}
function changRound() {
async function changRound() {
formQuery.page = 1;
fetchList();
}
@ -170,7 +170,7 @@ function clearYear() {
year.value = null;
store.formQuery.round = "";
roundOp.value = [];
fetchList();
changRound();
}
/**
@ -318,7 +318,6 @@ onMounted(async () => {
map-options
:options="columns"
option-value="name"
style="min-width: 140px"
/>
</div>