WIP Поправила меню и формы

This commit is contained in:
Daria Golova
2023-01-24 16:45:13 +03:00
parent 59a1f884ab
commit 4aac8a3f35
7 changed files with 39 additions and 70 deletions

View File

@@ -1,7 +1,5 @@
<template lang="pug">
.flex.flex-col.gap-y-6.pt-6.pb-7.px-8.event-form.fixed.right-6.bottom-6(
v-click-outside="closeForm"
)
.flex.flex-col.gap-y-6.pt-6.pb-7.px-8.event-form.fixed.right-6.bottom-6
.flex.justify-between
span.title.text-xl.font-bold Замена смен
.flex.pt-2
@@ -48,12 +46,21 @@ import BaseInput from "@/components/base/BaseInput.vue";
export default {
name: "FormChangeShift",
components: { BaseSelect, BaseInput },
props: { closeForm: Function, timesShift: Object },
emits: ["update:model-value"],
props: {
timesShift: Object,
modelValue: Boolean,
},
data() {
return {
currentEmployee: { label: "", id: null },
};
},
methods: {
closeForm() {
this.$emit("update:model-value", false);
},
},
};
</script>