[WIP] Фикс бага сброса дней и стилей

This commit is contained in:
megavrilinvv
2023-03-06 12:01:03 +03:00
parent 95f1c478af
commit a81dba8429
4 changed files with 7 additions and 7 deletions

View File

@@ -43,7 +43,7 @@
color="primary",
style="width: 144px",
padding="4px 24px",
@click="createSchedules",
@click="createSchedules(); clearCell()",
no-caps
)
q-btn(
@@ -72,6 +72,7 @@ export default {
times: Object,
createSchedules: Function,
deleteSchedule: Function,
clearCell: Function,
},
data() {
return {

View File

@@ -1,8 +1,5 @@
<template lang="pug">
.schedule.flex-col(
:style="themeCell",
v-click-outside="clearCell"
)
.schedule.flex-col(:style="themeCell")
schedule-table-header(:result="result")
schedule-table-body(
:serialized="serialized",
@@ -36,6 +33,7 @@
:create-schedules="createSchedules",
:delete-schedule="deleteSchedule",
:template="template"
:clear-cell="clearCell"
)
</template>

View File

@@ -19,7 +19,7 @@
:serialized="serialized",
:change-shift="changeShift"
)
.name-employee.flex.justify-center.items-center.cursor-pointer
.name-employee.flex.justify-center.items-center
span {{trimOwnerName(schedule.last_name, schedule.first_name, schedule.patronymic)}}
.row.flex
.cell.flex.flex-col.items-center.justify-center.w-11.h-11.cursor-pointer.transition(

View File

@@ -4,7 +4,7 @@
)
.edit.flex.items-center.justify-center.h-11.w-11(v-if="selectEmployee.label")
.flex.icon-edit
.flex.justify-center.items-center.cursor-pointer(
.flex.justify-center.items-center(
:class="{'select-name': selectEmployee.label}",
:style="{color: 'var(--btn-blue-color)'}"
)
@@ -68,6 +68,7 @@ export default {
.edit
border-bottom: 1.5px solid var(--border-light-grey-color-1)
border-left: 1.5px solid var(--border-light-grey-color-1)
border-right: 1.5px solid var(--border-light-grey-color-1)
.schedule-select
border-right: 8px solid var(--bg-ligth-blue-color)