WIP Исправила event create

This commit is contained in:
Daria Golova
2022-11-08 11:35:36 +03:00
parent a27ff0ea06
commit dd3d0f8572
2 changed files with 17 additions and 12 deletions

View File

@@ -319,18 +319,22 @@ export default {
start: this.mergeDate(this.eventDate, this.startTime), start: this.mergeDate(this.eventDate, this.startTime),
end: this.mergeDate(this.eventDate, this.endTime), end: this.mergeDate(this.eventDate, this.endTime),
kind: this.kind, kind: this.kind,
employees: this.findPerson( employees: [
this.ownersData, this.findPerson(
this.ownersList, this.ownersData,
this.employees, this.ownersList,
"employee" this.employees,
), "employee"
members: this.findPerson( ),
this.membersData, ],
this.membersList, members: [
this.members, this.findPerson(
"person" this.membersData,
), this.membersList,
this.members,
"person"
),
],
}; };
this.postCreateEvent(this.eventData); this.postCreateEvent(this.eventData);
this.clearForm(); this.clearForm();

View File

@@ -356,6 +356,7 @@ export default {
<style lang="sass" scoped> <style lang="sass" scoped>
.schedule .schedule
position: relative position: relative
border-top-left-radius: 4px
background-color: var(--default-white) background-color: var(--default-white)
width: calc(100% - (var(--sidebar-width) + 8px)) width: calc(100% - (var(--sidebar-width) + 8px))
height: calc(100vh - 56px - 8px) height: calc(100vh - 56px - 8px)