<script setup>
import LiveCall from '@/components/liveCall/index.vue'
const dialogVisible = ref(false);
const open = (row) => {
    dialogVisible.value = true;
};
defineExpose({
    open,
});

</script>

<template>
    <el-dialog v-model="dialogVisible" title="历史通话记录" width="1000"  :before-close="handleClose" class="box">
        <LiveCall />
        <template #footer>
            <div class="dialog-footer">
                <el-button type="primary" @click="dialogVisible = false">
                    关闭
                </el-button>
            </div>
        </template>
    </el-dialog>
</template>

<style>
.box{
    height: 65vh;
}
</style>
