[WIP] Добавил возможность замены смен, фикс стилей

This commit is contained in:
megavrilinvv
2023-01-24 16:50:09 +03:00
parent 7d5341e61a
commit a3eb8606f5
8 changed files with 166 additions and 71 deletions

View File

@@ -34,17 +34,6 @@
style="width: 174px"
@click="changeShowTime",
)
q-btn(
label="Замена смен",
color="primary",
no-caps,
padding="8px 24px",
)
q-menu(v-model="showForm")
form-change-shift(
v-model="showForm",
:times-shift="timesShift"
)
</template>
<script>
@@ -55,14 +44,14 @@ export default {
name: "ScheduleHeader",
components: { FormChangeShift },
props: {
startMonth: Object,
timesShift: Object,
changeShowTime: Function,
showTime: Boolean,
startMonth: Object,
replacementSheet: Object,
changeShowTime: Function,
changeShift: Function,
},
data() {
return {
showForm: false,
isCurrentMonth: true,
};
},
@@ -82,9 +71,6 @@ export default {
},
},
methods: {
openForm() {
this.showForm = true;
},
previousHandler() {
this.$emit("switch-previous-month");
},