71 lines
2.3 KiB
Vue
71 lines
2.3 KiB
Vue
<script setup lang="ts">
|
|
import { useRouter } from "vue-router";
|
|
|
|
const router = useRouter();
|
|
|
|
function nextPage(type: string) {
|
|
router.push(`/statistics-report/${type}`);
|
|
}
|
|
</script>
|
|
<template>
|
|
<div class="toptitle text-dark col-12 row items-center">รายงานสถิติ</div>
|
|
<div>
|
|
<q-card flat bordered class="col-12 q-mt-sm">
|
|
<div class="q-pa-md">
|
|
<q-item clickable dense class="hover-green" @click="nextPage('time-records')">
|
|
<q-item-section avatar>
|
|
<q-icon color="primary" name="mdi-file" size="xs" />
|
|
</q-item-section>
|
|
<q-item-section class="text-dark">
|
|
รายงานสรุปบันทึกการลงเวลาปฏิบัติงาน
|
|
</q-item-section>
|
|
</q-item>
|
|
|
|
<!-- <q-item
|
|
clickable
|
|
dense
|
|
class="hover-green"
|
|
@click="nextPage('monthly')"
|
|
>
|
|
<q-item-section avatar>
|
|
<q-icon color="primary" name="mdi-file" size="xs" />
|
|
</q-item-section>
|
|
<q-item-section class="text-dark">
|
|
รายงานสรุปบันทึกการลงเวลาปฏิบัติงานเป็นรายเดือน
|
|
</q-item-section>
|
|
</q-item> -->
|
|
|
|
<!-- <q-item clickable dense class="hover-green" @click="nextPage('yearly')">
|
|
<q-item-section avatar>
|
|
<q-icon color="primary" name="mdi-file" size="xs" />
|
|
</q-item-section>
|
|
<q-item-section class="text-dark">
|
|
รายงานสรุปบันทึกการลงเวลาปฏิบัติงานเป็นรายปี
|
|
</q-item-section>
|
|
</q-item> -->
|
|
|
|
<q-item
|
|
clickable
|
|
dense
|
|
class="hover-green"
|
|
@click="nextPage('leaveday')"
|
|
>
|
|
<q-item-section avatar>
|
|
<q-icon color="primary" name="mdi-file" size="xs" />
|
|
</q-item-section>
|
|
<q-item-section class="text-dark"> บัญชีแสดงวันลา </q-item-section>
|
|
</q-item>
|
|
</div>
|
|
</q-card>
|
|
</div>
|
|
</template>
|
|
|
|
<style lang="scss" scoped>
|
|
.q-item.hover-green:hover {
|
|
background-color: #d5f1ee57;
|
|
border-radius: 2px;
|
|
}
|
|
.q-item.hover-green {
|
|
padding: 10px;
|
|
}
|
|
</style>
|