This commit is contained in:
2019-03-06 00:03:37 +00:00
parent 7287842d92
commit 52f13bdb8a

View File

@@ -1,17 +1,17 @@
<template> <template>
<div> <div>
<v-layout row wrap>
<v-layout row wrap >
<v-flex xs6> <v-flex xs6>
<v-dialog v-model="modal" persistent lazy full-width width="290px"> <v-dialog v-model="modal" persistent lazy full-width width="290px">
<v-text-field <template v-slot:activator="{ on }">
slot="activator" <v-text-field
v-model="formatDate" v-on="on"
v-bind:label="label" prepend-icon="fa-calendar-alt"
v-model="formatDate"
prepend-icon="fa-calendar-alt" v-bind:label="label"
readonly readonly
></v-text-field> ></v-text-field>
</template>
<v-date-picker v-model="dateOnly" @input="modal = false"> <v-date-picker v-model="dateOnly" @input="modal = false">
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn flat color="primary" @click="modal = false">Close</v-btn> <v-btn flat color="primary" @click="modal = false">Close</v-btn>
@@ -20,13 +20,9 @@
</v-flex> </v-flex>
<v-flex xs6> <v-flex xs6>
<v-dialog v-model="modal2" persistent lazy full-width width="290px"> <v-dialog v-model="modal2" persistent lazy full-width width="290px">
<v-text-field <template v-slot:activator="{ on }">
slot="activator" <v-text-field v-on="on" v-model="formatTime" label prepend-icon="fa-clock" readonly></v-text-field>
v-model="formatTime" </template>
label
prepend-icon="fa-clock"
readonly
></v-text-field>
<v-time-picker v-model="timeOnly"> <v-time-picker v-model="timeOnly">
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn flat color="primary" @click="modal2 = false">OK</v-btn> <v-btn flat color="primary" @click="modal2 = false">OK</v-btn>
@@ -40,7 +36,7 @@
v-bind:label="label" v-bind:label="label"
prepend-icon="fa-calendar-alt" prepend-icon="fa-calendar-alt"
disabled disabled
></v-text-field> --> ></v-text-field>-->
</div> </div>
</template> <script> </template> <script>
export default { export default {