แสดงปีปัจจุบัน แสดงตัวอย่างการลา
This commit is contained in:
parent
2920faf584
commit
cb4850ec27
2 changed files with 213 additions and 228 deletions
|
|
@ -4,6 +4,7 @@
|
|||
<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">
|
||||
|
|
@ -153,7 +154,10 @@ import type { DataDateMonthObject } from "@/modules/05_leave/interface/request/C
|
|||
|
||||
const router = useRouter()
|
||||
const currentTab = ref<string>("calendar") //ระบุ tab ใช้งานอยู่ calendar=รายการ list=รายการ
|
||||
const dateMonth = ref<number>(new Date().getFullYear())
|
||||
const dateMonth = ref<DataDateMonthObject>({
|
||||
month: new Date().getMonth(), // Months are 0-based in JavaScript, so we add 1 to get the actual month.
|
||||
year: new Date().getFullYear(),
|
||||
})
|
||||
const dateYear = ref<number>(new Date().getFullYear())
|
||||
|
||||
const mixin = useCounterMixin() //เรียกฟังก์ชันกลาง
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue