รายการการประเมินผลการปฏิบัติราชการระดับบุคคล => fix paging
This commit is contained in:
parent
aad09c302b
commit
5b4f9bfce7
1 changed files with 3 additions and 4 deletions
|
|
@ -112,7 +112,7 @@ function fetchRoundOption() {
|
||||||
|
|
||||||
roundOp.value = list;
|
roundOp.value = list;
|
||||||
store.formQuery.round = list[0].id;
|
store.formQuery.round = list[0].id;
|
||||||
await fetchList();
|
await changRound();
|
||||||
} else {
|
} else {
|
||||||
roundOp.value = [];
|
roundOp.value = [];
|
||||||
store.formQuery.round = "";
|
store.formQuery.round = "";
|
||||||
|
|
@ -152,7 +152,7 @@ async function fetchList() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function changRound() {
|
async function changRound() {
|
||||||
formQuery.page = 1;
|
formQuery.page = 1;
|
||||||
fetchList();
|
fetchList();
|
||||||
}
|
}
|
||||||
|
|
@ -170,7 +170,7 @@ function clearYear() {
|
||||||
year.value = null;
|
year.value = null;
|
||||||
store.formQuery.round = "";
|
store.formQuery.round = "";
|
||||||
roundOp.value = [];
|
roundOp.value = [];
|
||||||
fetchList();
|
changRound();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -318,7 +318,6 @@ onMounted(async () => {
|
||||||
map-options
|
map-options
|
||||||
:options="columns"
|
:options="columns"
|
||||||
option-value="name"
|
option-value="name"
|
||||||
|
|
||||||
style="min-width: 140px"
|
style="min-width: 140px"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue