From 5c3830fd8cd3230c1da38bc3ec48c13ff91228e5 Mon Sep 17 00:00:00 2001 From: iriska-gri <79623434+iriska-gri@users.noreply.github.com> Date: Fri, 19 Jul 2024 09:19:37 +0300 Subject: [PATCH] P-51 --- .../calendar_of_events/BigCalendar.vue | 2 +- .../UI_calendar/calendarFull.vue | 5 +- .../UI_calendar/dialogCreate.vue | 1 + .../calendar_of_events/event-create.vue | 127 ++++++++---------- 4 files changed, 63 insertions(+), 72 deletions(-) diff --git a/src/front/src/components/calendar_of_events/BigCalendar.vue b/src/front/src/components/calendar_of_events/BigCalendar.vue index 8d7d75f55..58cc75cbe 100644 --- a/src/front/src/components/calendar_of_events/BigCalendar.vue +++ b/src/front/src/components/calendar_of_events/BigCalendar.vue @@ -164,7 +164,7 @@ export default { getCalendar(); const getEvents = (idEvent) => { - console.log(idEvent, "idEvent2 раза"); + axiosApiInstance .get( `api/calendar_of_events/my_events/${ diff --git a/src/front/src/components/calendar_of_events/UI_calendar/calendarFull.vue b/src/front/src/components/calendar_of_events/UI_calendar/calendarFull.vue index 70bbad87a..11033698a 100644 --- a/src/front/src/components/calendar_of_events/UI_calendar/calendarFull.vue +++ b/src/front/src/components/calendar_of_events/UI_calendar/calendarFull.vue @@ -126,7 +126,6 @@ export default { if (objRule != null) { - console.log("????????????????????????????????????????????"); let rule = new RRule({ ...objRule.origOptions, // freq: objRule.origOptions.freq, @@ -136,7 +135,7 @@ export default { ? new Date(objRule.origOptions.until) : new Date("2024-08-01"), }); - console.log(rule, "objRuleobjRule"); + let actRule = rule.all(); actRule @@ -298,7 +297,7 @@ export default { new Date(day.date).setHours(0, 0, 0, 0) == new Date(ev.end).setHours(0, 0, 0, 0) ) { - console.log("33"); + return ""; } else if ( new Date(day.date).setHours(0, 0, 0, 0) != diff --git a/src/front/src/components/calendar_of_events/UI_calendar/dialogCreate.vue b/src/front/src/components/calendar_of_events/UI_calendar/dialogCreate.vue index dde2e60f4..d98803483 100644 --- a/src/front/src/components/calendar_of_events/UI_calendar/dialogCreate.vue +++ b/src/front/src/components/calendar_of_events/UI_calendar/dialogCreate.vue @@ -70,6 +70,7 @@ export default { const form_valid = ref(null); const transformation = () => { emit("postData", form_valid.value.isValid); + form_valid.value = null }; return { diff --git a/src/front/src/components/calendar_of_events/event-create.vue b/src/front/src/components/calendar_of_events/event-create.vue index 0a588aee2..6907a9a7c 100644 --- a/src/front/src/components/calendar_of_events/event-create.vue +++ b/src/front/src/components/calendar_of_events/event-create.vue @@ -122,26 +122,22 @@ density="compact" return-object item-title="type" - item-value="type" + item-value="id" > - - - + /> + - - +