ปิด/เปิด ให้ดาวน์โหลดใบสมัครสรรหา

This commit is contained in:
Warunee Tamkoo 2025-11-26 17:39:18 +07:00
parent 5aa48d73d3
commit 55ab6e157f
2 changed files with 26 additions and 10 deletions

View file

@ -33,6 +33,7 @@ const examId = ref<string>(route.params.examId.toString());
const visible = ref<boolean>(false); // card
const dataNum = ref<DataNumObject[]>([]); //
const isFee = ref<boolean>(false);
const isShowExaminfo = ref<boolean>(false);
const rows = ref<any[]>([]);
const visibleColumns = ref<String[]>([
"no",
@ -283,6 +284,10 @@ async function fetchData(loading: boolean = true) {
isShowExamInfo: r.isShowExamInfo,
});
});
isShowExaminfo.value = data.data.some(
(item: any) => item.isShowExamInfo === true
);
}
loading ?? hideLoader();
})
@ -493,6 +498,7 @@ onMounted(async () => {
@update:change-page="changePage"
:max-page="maxPage"
:is-fee="isFee"
:is-show-examinfo="isShowExaminfo"
>
<template #columns="props">
<q-tr :props="props" class="cursor-pointer">