[WIP] Добавил отображение времени текущей даты при замене смен, скрыл отображение выделенной ячейки при сохранении/удалении

This commit is contained in:
megavrilinvv
2023-01-25 17:03:01 +03:00
parent 082f92937d
commit 48f78626c1
5 changed files with 70 additions and 33 deletions

View File

@@ -26,7 +26,7 @@
v-for="day in result",
:key="day",
:id="schedule.id + day",
@click="choiceCell(day, schedule.id, schedule); clearSelect(selectEmployee)",
@click="choiceCell(day, schedule.id, schedule); clearSelect(selectEmployee); setActiveCell()",
:class="choiceState(day, schedule.id)",
:style="{backgroundColor: choiceDay(day, schedule.id) ? choiceColor(day, schedule) : '', width: `calc(100% / ${result.length})`}"
)
@@ -43,19 +43,20 @@ export default {
components: { FormChangeShift },
props: {
serialized: Array,
trimOwnerName: Function,
result: Array,
buttons: Array,
scheduleList: Array,
employees: Array,
showTime: Boolean,
trimOwnerName: Function,
choiceCell: Function,
clearSelect: Function,
selectEmployee: Object,
choiceState: Function,
buttons: Array,
showTime: Boolean,
scheduleList: Array,
openForm: Function,
changeShift: Function,
setActiveCell: Function,
replacementSheet: Object,
employees: Array,
selectEmployee: Object,
},
data() {
return {