KPI => รายงาน fix bug
This commit is contained in:
parent
8c9afd9b66
commit
e4912c45de
1 changed files with 7 additions and 3 deletions
|
|
@ -324,17 +324,21 @@ const columns = ref<QTableProps["columns"]>([
|
|||
]);
|
||||
|
||||
function onClickModal() {
|
||||
modal.value = !modal.value;
|
||||
modal.value = true;
|
||||
if ((modal.value = true)) {
|
||||
fetchListPerson();
|
||||
}
|
||||
}
|
||||
|
||||
function onCloseModal() {
|
||||
modal.value = false;
|
||||
}
|
||||
|
||||
function fetchListPerson() {}
|
||||
|
||||
function onSelectPerson(id: string) {
|
||||
persanalId.value = id;
|
||||
modal.value = false;
|
||||
onCloseModal();
|
||||
fetchReport();
|
||||
}
|
||||
|
||||
|
|
@ -624,7 +628,7 @@ onMounted(() => {
|
|||
|
||||
<q-dialog v-model="modal" persistent>
|
||||
<q-card style="width: 900px; max-width: 80vw">
|
||||
<DialogHeader :tittle="'เลือกราชชื่อ'" :close="onClickModal" />
|
||||
<DialogHeader :tittle="'เลือกราชชื่อ'" :close="onCloseModal" />
|
||||
<q-separator />
|
||||
<q-card-section class="q-col-gutter-sm">
|
||||
<div class="col-12">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue