<template>
    <el-dialog :title="title" :visible.sync="dialogVisible" width="55%">
        <span slot="footer" class="dialog-footer">
        <el-button @click="cancel">关 闭</el-button>
        </span>
    </el-dialog>
</template>

<script>
    export default {
        name: 'JixiaoModal',
        props: {
        // 接受父组件传来的委托id
        weituoId: String
        },
        data () {
            return {
                title:'委托详情',
                // 弹窗
                dialogVisible: false,
                // 弹窗内容
                currentDbEdit: {},
            }
        },
        methods: {
            open() {
                this.dialogVisible = true
            },
            cancel(){
                // this.currentDbEdit = {}
                this.dialogVisible = false
            },
        }
    }

</script>
