[WIP] Добавил отображение времени текущей даты при замене смен, скрыл отображение выделенной ячейки при сохранении/удалении
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user