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