휴가 클릭시 좌측 메뉴에 선택 활성화 되게
This commit is contained in:
parent
fc6c828624
commit
94356aba09
@ -97,7 +97,6 @@
|
|||||||
const calendarDatepicker = ref(null);
|
const calendarDatepicker = ref(null);
|
||||||
//const dailyWeatherList = ref([]);
|
//const dailyWeatherList = ref([]);
|
||||||
|
|
||||||
|
|
||||||
const selectedProject = ref(null);
|
const selectedProject = ref(null);
|
||||||
const checkedInProject = ref(null);
|
const checkedInProject = ref(null);
|
||||||
|
|
||||||
@ -587,7 +586,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleClickVacation = () => {
|
const handleClickVacation = () => {
|
||||||
router.push({ path: 'Vacation' });
|
router.push('/vacation');
|
||||||
};
|
};
|
||||||
|
|
||||||
// 달력 뷰 변경 감지 (월 변경 시 데이터 다시 가져오기)
|
// 달력 뷰 변경 감지 (월 변경 시 데이터 다시 가져오기)
|
||||||
@ -606,7 +605,7 @@
|
|||||||
selectedProject.value = newProject.PROJCTSEQ;
|
selectedProject.value = newProject.PROJCTSEQ;
|
||||||
checkedInProject.value = newProject;
|
checkedInProject.value = newProject;
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
@ -636,13 +635,10 @@
|
|||||||
window.addEventListener('wheel', handleWheelEvent);
|
window.addEventListener('wheel', handleWheelEvent);
|
||||||
window.addEventListener('click', colorToday);
|
window.addEventListener('click', colorToday);
|
||||||
|
|
||||||
datePickerStore.initDatePicker(
|
datePickerStore.initDatePicker(fullCalendarRef, async (year, month, options) => {
|
||||||
fullCalendarRef,
|
// 데이터 다시 불러오기
|
||||||
async (year, month, options) => {
|
await fetchData();
|
||||||
// 데이터 다시 불러오기
|
});
|
||||||
await fetchData();
|
|
||||||
}
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user