ปรับ interfeac

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-10-19 15:39:18 +07:00
parent 09b1b9f492
commit cfc073e30c
16 changed files with 462 additions and 277 deletions

View file

@ -16,7 +16,7 @@ export const useLeavelistDataStore = defineStore("leave", () => {
const mainData = ref<any>([])
const rows = ref<any>([])
const loadTable = ref<boolean>(false)
async function fecthList(data: any) {
async function fetchList(data: any) {
let datalist = data.map((e: any) => ({
leaveType: e.leaveType,
name: e.name,
@ -161,7 +161,7 @@ export const useLeavelistDataStore = defineStore("leave", () => {
amounttab2,
//ข้อมูลในตาราง
rows,
fecthList,
fetchList,
loadTable,
//filter table
filterTable,