This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-26 17:07:53 +07:00
parent d0e7154d35
commit 1e892b89f4

View file

@ -100,10 +100,10 @@ const yearOptions = ref<any>([{ id: "", year: "ทั้งหมด" }]);
//
async function fetchRetirement(type: string, year: any) {
showLoader();
rows.value = [];
await http
.get(config.API.retirement(type, year))
.then((res) => {
rows.value = [];
let data = res.data.result;
rows.value = data.map((items: any) => ({
id: items.id,
@ -335,7 +335,6 @@ onMounted(async () => {
map-options
:options="columns"
option-value="name"
style="min-width: 140px"
class="col-xs-12 col-sm-3 col-md-2"
/>