This commit is contained in:
iriska-gri committed 2024-07-09 16:57:47 +03:00
1 parent 21c0216d67
commit 26b66e34bf
3 files changed
+32 -12

No files matched your search

+4 -4
View File
@@ -43,7 +43,7 @@
"vue-router": "^4.0.0",
"vue3-autocounter": "^1.0.6",
"vuelidate": "^0.7.7",
"vuetify": "^3.6.7",
"vuetify": "^3.6.11",
"webfontloader": "^1.0.0",
"yup": "^1.4.0"
},
@@ -21709,9 +21709,9 @@
}
},
"node_modules/vuetify": {
"version": "3.6.7",
"resolved": "https://registry.npmjs.org/vuetify/-/vuetify-3.6.7.tgz",
"integrity": "sha512-oj7zrNbjKFlSS38449K9/ad9mc/o25bxuTFT9rs2AtSNnOA+BOLIVJCAPlmLGWoQGslPh80RzckXDedoifs+TQ==",
"version": "3.6.11",
"resolved": "https://registry.npmjs.org/vuetify/-/vuetify-3.6.11.tgz",
"integrity": "sha512-DMreVZ6+WCVnvRoFVPGtC+Kc4afx+etcTLgX2AqUj6lQ4RrEx0TlQoNAW1oKPH4eViv2wfdvQ3xb/Yw1c86cTw==",
"engines": {
"node": "^12.20 || >=14.13"
},
+1 -1
View File
@@ -45,7 +45,7 @@
"vue-router": "^4.0.0",
"vue3-autocounter": "^1.0.6",
"vuelidate": "^0.7.7",
"vuetify": "^3.6.7",
"vuetify": "^3.6.11",
"webfontloader": "^1.0.0",
"yup": "^1.4.0"
},
@@ -99,24 +99,24 @@
</v-col>
<v-col class="d-flex flex-column">
<v-row no-gutters class="gap">
<time-select
<!-- <time-select
:date="propsEvent.event.date_start"
:max_date="propsEvent.event.date_end"
@update:date="propsEvent.event.date_start = $event"
:order="[2, 1]"
/>
/> -->
<!-- -->
<!-- -->
<v-col class="order-3 flex-grow-0">
<v-icon icon="mdi-minus pt-4" color="grey-darken-1" />
</v-col>
<time-select
<!-- <time-select
:date="propsEvent.event.date_end"
:order="[4, 5]"
:min_date="propsEvent.event.date_start"
@update:date="propsEvent.event.date_end = $event"
/>
/> -->
</v-row>
<v-row no-gutters>
<v-col>
@@ -216,14 +216,17 @@ export default {
});
const accountStore = useAccountStore();
const newStaff = computed({
get() {
console.log(propsEvent.value);
console.log(calendar.value, 'calendar')
let ns = [];
let indCal = propsEvent.value.mycalendars.findIndex(
(e) => e.id == propsEvent.value.event.calendar
(e) => e.id == calendar.value[0].id
);
console.log(indCal);
// console.log(indCal);
// let indCal = 0
staff.value.forEach((e) => {
let emp = { ...e };
emp.employees = e.employees.filter((n) => {
@@ -319,8 +322,15 @@ export default {
selected.push({
cl_name: propsEvent.value.mycalendars[ind].cl_name,
cl_color: propsEvent.value.mycalendars[ind].cl_color,
id: propsEvent.value.mycalendars[ind].id
});
}
else {
selected.push({
cl_name: propsEvent.value.mycalendars[0].cl_name,
cl_color: propsEvent.value.mycalendars[0].cl_color,
id: propsEvent.value.mycalendars[0].id})
}
return selected;
},
@@ -330,6 +340,16 @@ export default {
},
});
// const newStaff = computed({
// get() {
// let ns = []
// return ns
// },
// set() {
// }})
const titleCard = ref("");
const newEvent = ref(false);