<template>
    <el-dialog title="批量填报" append-to-body :modelValue="openShow" width="70%" @close="closeDialog">

        
        <template #footer>
            <span class="dialog-footer">
                <el-button @click="closeDialog">取 消</el-button>
                <el-button type="primary" @click="submit">确 定</el-button>
            </span>
        </template>
    </el-dialog>
</template>
<script>
export default {
    props: {
        showDialog: {
            type: Boolean,
            default: false
        },
    },
    data() {
        return {
            openShow:false
        }
    },
    mounted(){
        this.openShow = this.showDialog
    },
    methods:{
        closeDialog(){
            this.openShow = false
            this.$emit('closeDialog');
        }
    }
}
</script>
<style lang="scss" scoped></style>