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