diff --git a/src/front/src/components/calendar_of_events/BigCalendar.vue b/src/front/src/components/calendar_of_events/BigCalendar.vue
index 91bbc2804..c4fbc6e96 100644
--- a/src/front/src/components/calendar_of_events/BigCalendar.vue
+++ b/src/front/src/components/calendar_of_events/BigCalendar.vue
@@ -120,8 +120,8 @@ export default {
const MyMonth = ref(selectdate.value.getMonth() + 1);
const calendarForMy = ref([]);
const eventFromCalendar = ref({})
- const idEvent = ref(null)
- // const idEvent = ref(1)
+ // const idEvent = ref(null)
+ const idEvent = ref(2)
const getMonth = (month) => {
MyMonth.value = month + 1;
diff --git a/src/front/src/components/calendar_of_events/UI_calendar/periodEvents.vue b/src/front/src/components/calendar_of_events/UI_calendar/periodEvents.vue
index aa57334bc..4773354bb 100644
--- a/src/front/src/components/calendar_of_events/UI_calendar/periodEvents.vue
+++ b/src/front/src/components/calendar_of_events/UI_calendar/periodEvents.vue
@@ -32,15 +32,15 @@ export default {
},
set(newValue) {
chek.value = newValue;
- newValue == true
- ? (propsDateEvent.value.date_end = new Date(
- new Date(propsDateEvent.value.date_start).setHours(23, 59, 0)
+ if(newValue == true)
+ (propsDateEvent.value.date_end = new Date(
+ new Date(propsDateEvent.value.date_end).setHours(23, 59, 0)
)) &&
(propsDateEvent.value.date_start = new Date(
new Date(propsDateEvent.value.date_start).setHours(0, 0, 0)
))
- : (propsDateEvent.value.date_end = new Date())&&(propsDateEvent.value.date_start = new Date())
-
+ // : (propsDateEvent.value.date_end = new Date())&&(propsDateEvent.value.date_start = new Date())
+ emit('chekUp', newValue)
console.log(propsDateEvent.value.date_start, 'propsDateEvent.value.date_start');
},
diff --git a/src/front/src/components/calendar_of_events/UI_calendar/timeSelect copy.vue b/src/front/src/components/calendar_of_events/UI_calendar/timeSelect copy.vue
new file mode 100644
index 000000000..dfd8b56a1
--- /dev/null
+++ b/src/front/src/components/calendar_of_events/UI_calendar/timeSelect copy.vue
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/front/src/components/calendar_of_events/UI_calendar/timeSelect.vue b/src/front/src/components/calendar_of_events/UI_calendar/timeSelect.vue
index 7b57a6d16..7e3f9c21c 100644
--- a/src/front/src/components/calendar_of_events/UI_calendar/timeSelect.vue
+++ b/src/front/src/components/calendar_of_events/UI_calendar/timeSelect.vue
@@ -19,7 +19,6 @@
v-bind="props"
readonly
hide-details
- :disabled="disbleTime"
>
+ />
@@ -66,7 +65,7 @@
:active="menutime"
:focus="menutime"
hide-details
- :disabled="disbleTime"
+ :disabled="chek"
>