เพิ่ม filter แก้ไข store ปรับ ui

This commit is contained in:
AnandaTon 2023-10-31 15:36:13 +07:00
parent cb4850ec27
commit e0112b45ed
7 changed files with 481 additions and 459 deletions

View file

@ -4,7 +4,6 @@
<div class="toptitle text-white col-12 row items-center">
<q-btn icon="mdi-arrow-left" unelevated round dense flat color="primary" class="q-mr-sm" @click="router.go(-1)" />
<div>รายการลา</div>
{{ dateMonth }}
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-11 row q-col-gutter-md">
@ -155,7 +154,7 @@ import type { DataDateMonthObject } from "@/modules/05_leave/interface/request/C
const router = useRouter()
const currentTab = ref<string>("calendar") // tab calendar= list=
const dateMonth = ref<DataDateMonthObject>({
month: new Date().getMonth(), // Months are 0-based in JavaScript, so we add 1 to get the actual month.
month: new Date().getMonth(),
year: new Date().getFullYear(),
})
const dateYear = ref<number>(new Date().getFullYear())