diff --git a/src/front/src/components/calendar_of_events/BigCalendar.vue b/src/front/src/components/calendar_of_events/BigCalendar.vue index 471aea576..f026f86c9 100644 --- a/src/front/src/components/calendar_of_events/BigCalendar.vue +++ b/src/front/src/components/calendar_of_events/BigCalendar.vue @@ -119,7 +119,8 @@ export default { const MyMonth = ref(selectdate.value.getMonth() + 1); const calendarForMy = ref([]); const eventFromCalendar = ref({}) - const idEvent = ref(null) + // const idEvent = ref(null) + const idEvent = ref(2) const getMonth = (month) => { MyMonth.value = month + 1; @@ -151,7 +152,7 @@ export default { .then((res) => { eventFromCalendar.value = res.data if (idEvent.value==null) { - eventFromCalendar.value.event = {name:'', participant: [], files: [], date_start: "", date_end: "", period: null, description: '', calendar: null} + eventFromCalendar.value.event = {name:'', participant: [accountStore.user.is_idEmployee], files: [], date_start: "", date_end: "", period: null, description: '', calendar: null} } // res.data.forEach( diff --git a/src/front/src/components/calendar_of_events/calendar-create-select.vue b/src/front/src/components/calendar_of_events/calendar-create-select.vue index 2140b7bf0..6f271fde4 100644 --- a/src/front/src/components/calendar_of_events/calendar-create-select.vue +++ b/src/front/src/components/calendar_of_events/calendar-create-select.vue @@ -17,7 +17,7 @@ - + + + Дата и время + + + + + + + + + + + + + + + - + + + + + + + + + + + + + - - + v-model="propsEvent.event.description" + > - -