ปิด/เปิด ให้ดาวน์โหลดใบสมัครสรรหา
This commit is contained in:
parent
5aa48d73d3
commit
55ab6e157f
2 changed files with 26 additions and 10 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue