From 794e4a9b25ea37d12a3dd5f15754ba4e2dd68075 Mon Sep 17 00:00:00 2001 From: iriska-gri <79623434+iriska-gri@users.noreply.github.com> Date: Thu, 4 Jul 2024 17:01:10 +0300 Subject: [PATCH] =?UTF-8?q?P-47=20=D0=94=D0=BE=D0=B4=D0=B5=D0=BB=D0=B0?= =?UTF-8?q?=D1=82=D1=8C=20=D0=B4=D0=B0=D1=82=D0=B5=D0=BF=D0=B8=D0=BA=D0=B5?= =?UTF-8?q?=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../calendar_of_events/BigCalendar.vue | 5 +- .../calendar-create-select.vue | 16 +- .../calendar_of_events/calendar-create.vue | 3 +- .../calendar_of_events/event-create.vue | 274 +++++++++++++++--- .../calendar_of_events/event-dialog-edit.vue | 2 +- 5 files changed, 242 insertions(+), 58 deletions(-) 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" + > - -