This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-row class="fill-height">
|
<div v-resize="onResize" class="my-n8">
|
||||||
<v-col>
|
<!-- <v-row dense>
|
||||||
|
<v-col> -->
|
||||||
<v-sheet height="64">
|
<v-sheet height="64">
|
||||||
<v-toolbar flat>
|
<v-toolbar flat>
|
||||||
<v-btn outlined class="mr-4" color="grey darken-2" @click="setToday">
|
<v-btn outlined class="mr-4" color="grey darken-2" @click="setToday">
|
||||||
@@ -43,7 +44,7 @@
|
|||||||
</v-toolbar>
|
</v-toolbar>
|
||||||
</v-sheet>
|
</v-sheet>
|
||||||
<!-- HEIGHT="600" -->
|
<!-- HEIGHT="600" -->
|
||||||
<v-sheet>
|
<v-sheet :height="calendarHeight">
|
||||||
<v-calendar
|
<v-calendar
|
||||||
ref="calendar"
|
ref="calendar"
|
||||||
v-model="focus"
|
v-model="focus"
|
||||||
@@ -87,8 +88,9 @@
|
|||||||
</v-card>
|
</v-card>
|
||||||
</v-menu>
|
</v-menu>
|
||||||
</v-sheet>
|
</v-sheet>
|
||||||
</v-col>
|
<!-- </v-col>
|
||||||
</v-row>
|
</v-row> -->
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -151,18 +153,16 @@ export default {
|
|||||||
serverError: {}
|
serverError: {}
|
||||||
},
|
},
|
||||||
rights: window.$gz.role.defaultRightsObject(),
|
rights: window.$gz.role.defaultRightsObject(),
|
||||||
ayaType: window.$gz.type.Memo,
|
calendarHeight: 600
|
||||||
composing: false,
|
|
||||||
replyMode: false,
|
|
||||||
pickListSelectedUserId: null,
|
|
||||||
items: [],
|
|
||||||
toUsers: []
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$refs.calendar.checkChange();
|
this.$refs.calendar.checkChange();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
onResize() {
|
||||||
|
this.calendarHeight = window.innerHeight * 0.84;
|
||||||
|
},
|
||||||
viewDay({ date }) {
|
viewDay({ date }) {
|
||||||
this.focus = date;
|
this.focus = date;
|
||||||
this.type = "day";
|
this.type = "day";
|
||||||
|
|||||||
Reference in New Issue
Block a user