fix [P-290]: добавлены фильтры для событий
This commit is contained in:
1 parent
d8b228c1fc
commit
67b201a5fe
11 files changed
+812
-360
No files matched your search
@@ -66,9 +66,8 @@
|
||||
</v-expansion-panel>
|
||||
<v-dialog v-model="showDialog" min-width="636" max-width="800">
|
||||
<calendar-create
|
||||
@closeDialog="showDialog = false"
|
||||
@closeDialog="handleCloseDialog"
|
||||
:calendar="calendar"
|
||||
@update:calendar="calendar = $event"
|
||||
@getCalendar="$emit('getCalendar')"
|
||||
/>
|
||||
</v-dialog>
|
||||
@@ -104,7 +103,7 @@ export default {
|
||||
const calendarStore = useCalendarStore();
|
||||
const { toggleCalendarVisibility, hiddenCalendarIds } = calendarStore;
|
||||
|
||||
const calendar = ref({});
|
||||
const calendar = ref(null);
|
||||
const openGroup = ref([0]);
|
||||
const trans = ref(false);
|
||||
const hover = ref(0);
|
||||
@@ -118,11 +117,19 @@ export default {
|
||||
cl_descr: '',
|
||||
};
|
||||
} else {
|
||||
calendar.value = cal;
|
||||
calendar.value = { ...cal };
|
||||
}
|
||||
showDialog.value = true;
|
||||
};
|
||||
|
||||
const handleCloseDialog = () => {
|
||||
showDialog.value = false;
|
||||
};
|
||||
|
||||
const resetCalendar = () => {
|
||||
calendar.value = {};
|
||||
};
|
||||
|
||||
const toggleVisiblityEvents = (cal) => {
|
||||
toggleCalendarVisibility(cal.id);
|
||||
};
|
||||
@@ -145,6 +152,8 @@ export default {
|
||||
openGroup,
|
||||
trans,
|
||||
hover,
|
||||
handleCloseDialog,
|
||||
resetCalendar,
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user