ui การลา

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-10-09 09:31:01 +07:00
parent acbec63df7
commit 333515f570
7 changed files with 79 additions and 56 deletions

View file

@ -3,18 +3,19 @@ q
import { ref } from "vue";
import type { QTableProps } from "quasar";
import { useRouter } from "vue-router";
//import Stores
import { useCounterMixin } from "@/stores/mixin";
import { useLeavelistDataStore } from "@/modules/09_leave/stores/LeaveStore";
const mixin = useCounterMixin();
const leaveStore = useLeavelistDataStore();
const router = useRouter();
const { date2Thai } = mixin;
const { optionYear, searchDataFn, filterOption } = leaveStore;
const { optionYear, searchDataFn, filterOption } = leaveStore; // funtion stores
// TABLE
const columns = ref<QTableProps["columns"]>([
{
name: "no",