<template>
    <DatePicker confirm  v-model="searchModel.value" @on-ok="searchEvent"
        @on-change="changeEvent"
        :format="searchModel.format?searchModel.format:'yyyy-MM-dd HH:mm:ss'" type="datetimerange" :placeholder="searchModel.placeholder" style="float: right;width: 300px">
    </DatePicker>
</template>
<script lang="ts">
import { Component, Prop, Vue, Emit } from "vue-property-decorator";

@Component({
    components:{

    }
})
export default class TableSearchDate extends Vue {

    @Prop() searchModel : any ;

    @Prop() searchEvent : any ;

    @Prop() changeEvent : any ;
   
}
</script>

