From ec98f90fd5e08ce52e39df1a48f94262cec6c89d Mon Sep 17 00:00:00 2001
From: iriska-gri <79623434+iriska-gri@users.noreply.github.com>
Date: Tue, 2 Jul 2024 14:37:52 +0300
Subject: [PATCH] =?UTF-8?q?P-42=20=D1=81=D0=B5=D0=B1=D1=8F=20=D0=BD=D0=B5?=
=?UTF-8?q?=D0=BB=D1=8C=D0=B7=D1=8F=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B8=D1=82?=
=?UTF-8?q?=D1=8C=20=D0=B8=D0=B7=20=D1=83=D1=87=D0=B0=D1=81=D1=82=D0=BD?=
=?UTF-8?q?=D0=B8=D0=BA=D0=BE=D0=B2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../calendar_of_events/BigCalendar.vue | 1 +
.../UI_calendar/dialogCreate.vue | 214 +++----------
.../calendar-create-select.vue | 70 ++---
.../calendar_of_events/calendar-create.vue | 293 ++++++++++--------
.../calendar_of_events/calendar-my.vue | 7 +-
.../calendar_of_events/event-create.vue | 83 ++---
6 files changed, 271 insertions(+), 397 deletions(-)
diff --git a/src/front/src/components/calendar_of_events/BigCalendar.vue b/src/front/src/components/calendar_of_events/BigCalendar.vue
index a7454c646..20b9038d7 100644
--- a/src/front/src/components/calendar_of_events/BigCalendar.vue
+++ b/src/front/src/components/calendar_of_events/BigCalendar.vue
@@ -129,6 +129,7 @@ export default {
};
const getCalendar = () => {
+
axiosApiInstance
.get(`api/calendar_of_events/my_calendars/`)
.then((res) => {
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 d4cddb8bd..6589f8acf 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
@@ -1,5 +1,5 @@
-
+
{{ title }}
-
-
-
-
-
+
+
+
+
+
- Отменить
+ Отменить
-
-
- {{
- newOrOld? "Создать" : "Редактировать"
- }}
-
-
+
+ {{ newOrOld ? "Создать" : "Редактировать" }}
+
+
-
@@ -186,25 +60,21 @@ export default {
},
newOrOld: {
- type: Boolean,
- default: false,
- }
-
+ type: Boolean,
+ default: false,
+ },
},
- setup(props, {emit}) {
+ setup(props, { emit }) {
const form_valid = ref(null);
const transformation = () => {
- emit("postData", form_valid.value)
- }
-
+ emit("postData", form_valid.value.isValid);
+ };
return {
- form_valid,
- transformation
-
- }
-
+ form_valid,
+ transformation,
+ };
},
};
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 ff8045287..31d041164 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
@@ -1,4 +1,8 @@
+
+
-
-
{{ item.title }}
+
{{ x.title }}
@@ -91,60 +100,32 @@