Merge branch 'develop' into devTee
This commit is contained in:
commit
7bb72d96f9
13 changed files with 277 additions and 160 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