[WIP] Добавил возможность замены смен, фикс стилей
This commit is contained in:
@@ -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");
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user