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

@ -11,6 +11,7 @@ const { fecthList, clearFilter } = leaveStore;
onMounted(() => {
fecthLeaveList();
});
// API
function fecthLeaveList() {
const data = [
{
@ -38,7 +39,7 @@ function fecthLeaveList() {
status: "2",
},
];
fecthList(data);
fecthList(data); // stores
}
// Tab
function changTab() {

View file

@ -66,7 +66,7 @@ function fecthWorkList() {
status: "1",
},
];
fecthList(listData);
fecthList(listData); // stores
}
</script>
<template>