<template>
    <el-dialog v-if="visible" :visible.sync="visible" :close-on-click-modal="false" :fullscreen="true"
        :before-close="close" :title="$t(`trials:trials-workbench:inspectionManagement:dialogTitle:${isAudit}`)"
        custom-class="base-dialog-wrapper">
        <auditDocument :isManage="false" :AuditRecordId="AuditRecordId" :isAudit="isAudit" />
    </el-dialog>
</template>
<script>
import auditDocument from "@/views/trials/trials-workbench/components/auditDocument"
export default {
    props: {
        isAudit: {
            type: Boolean,
            default: false
        },
        visible: {
            type: Boolean,
            default: false
        },
        AuditRecordId: {
            type: String,
            default: ''
        }
    },
    components: { auditDocument },
    methods: {
        close(done) {
            this.$emit("update:visible", false)
            // done()
        }
    }
}
</script>
<style lang="scss" scoped>
::v-deep .el-dialog__body {
    margin-top: 0;
}
</style>