ui การลา
This commit is contained in:
parent
acbec63df7
commit
333515f570
7 changed files with 79 additions and 56 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ function fecthWorkList() {
|
|||
status: "1",
|
||||
},
|
||||
];
|
||||
fecthList(listData);
|
||||
fecthList(listData); // ส่งข้อมูลไปยัง stores
|
||||
}
|
||||
</script>
|
||||
<template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue