fix
This commit is contained in:
parent
a0e3e88e7e
commit
fced27b6f5
9 changed files with 201 additions and 35 deletions
|
|
@ -32,6 +32,7 @@ const yearly = ref<number | null>(null);
|
|||
const examId = ref<string>(route.params.examId.toString());
|
||||
const visible = ref<boolean>(false); //เปิดปิด card สรุปข้อมูล
|
||||
const dataNum = ref<DataNumObject[]>([]); //จำนวนสรุปจำนวนข้อมูลหลัก
|
||||
const isFee = ref<boolean>(false);
|
||||
const rows = ref<any[]>([]);
|
||||
const visibleColumns = ref<String[]>([
|
||||
"no",
|
||||
|
|
@ -279,6 +280,7 @@ async function fetchData(loading: boolean = true) {
|
|||
position: `${r.positionName}${r.positionLevelName}`,
|
||||
positionLevel: r.positionLevelName,
|
||||
check: false,
|
||||
isShowExamInfo: r.isShowExamInfo,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
@ -303,6 +305,7 @@ async function fetchPeriodExam() {
|
|||
yearly.value = data.year;
|
||||
statusPayment.value = data.status;
|
||||
setSeat.value = data.setSeat;
|
||||
isFee.value = data.fee === 0 ? false : true;
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
@ -489,10 +492,14 @@ onMounted(async () => {
|
|||
:page="page"
|
||||
@update:change-page="changePage"
|
||||
:max-page="maxPage"
|
||||
:is-fee="isFee"
|
||||
>
|
||||
<template #columns="props">
|
||||
<q-tr :props="props" class="cursor-pointer">
|
||||
<q-td auto-width v-if="checkPermission($route)?.attrIsUpdate">
|
||||
<q-td
|
||||
auto-width
|
||||
v-if="checkPermission($route)?.attrIsUpdate && isFee"
|
||||
>
|
||||
<q-checkbox v-model="props.selected" />
|
||||
</q-td>
|
||||
<q-td
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue