<template>
    <span :class="label?'sel-span':''">
        <span v-if="label">{{$dict.tranByPubMap(label)}} :</span>
        <el-date-picker type="datetime"
            v-bind="$attrs" v-on="$listeners" :style="$attrs.elstyle" style="width:195px;" clearable
            value-format="yyyy-MM-dd HH:mm:ss" format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
    </span>
    
</template>


<script>

export default {
    props:["label"],
    data() {
        return {
            optList:[]
        }
    },

    mounted() {
    },
    computed: {
    },

    methods: {
    }
}
</script>

<style lang="less" scoped>
    .sel-span{
        display: inline-block;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 5px;
        >span{
            display: inline-block;
            white-space: nowrap;
            color:gray;
            font-size: 15px;
        }
    }
</style>