ปรับ ui หน้ารายการการลา (Admin)
This commit is contained in:
parent
651f2e51b4
commit
1b6a086bab
3 changed files with 4 additions and 7 deletions
|
|
@ -230,11 +230,6 @@ const monthYearThai = (val: DataDateMonthObject) => {
|
|||
</q-item-section>
|
||||
</q-item>
|
||||
</q-list>
|
||||
|
||||
<!-- show value filterVal -->
|
||||
<!-- <div class="q-px-sm q-mt-sm">
|
||||
Your selection is: <strong>{{ filterVal }}</strong>
|
||||
</div> -->
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="row q-gutter-sm q-pb-sm main-content">
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ const paramsId = route.params.id.toString();
|
|||
const modalApprove = ref(false);
|
||||
const dialogTitleUnapprove = ref<string>("ไม่อนุมัติ");
|
||||
const dialogTitle = ref<string>("อนุมัติ");
|
||||
const dialogLabel = ref<string>("เหตุผล");
|
||||
const closeDialog = () => {
|
||||
modalApprove.value = false;
|
||||
};
|
||||
|
|
@ -242,6 +243,7 @@ const openModal = async (data: string) => {
|
|||
if (data === "authority") {
|
||||
modalApprove.value = true;
|
||||
dialogTitle.value = "ส่งไปยังผู้มีอำนาจ";
|
||||
dialogLabel.value = "ความคิดเห็นผู้มีอำนาจ";
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -585,8 +587,8 @@ function clickSave() {
|
|||
<DialogReason
|
||||
:modal="modalApprove"
|
||||
:title="dialogTitle"
|
||||
:label="dialogLabel"
|
||||
:click-close="closeDialog"
|
||||
label="เหตุผล"
|
||||
:savaForm="clickSave"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ const leaveStore = useLeavelistDataStore();
|
|||
<template>
|
||||
<div class="toptitle text-dark col-12 row items-center">รายการลา</div>
|
||||
<div>
|
||||
<q-card flat bordered class="col-12 q-mt-sm q-pt-sm q-pa-md">
|
||||
<q-card flat bordered class="col-12">
|
||||
<q-tabs
|
||||
v-model="leaveStore.tabMenu"
|
||||
dense
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue