
<template>
  <el-dialog
    :title="title"
    :visible.sync="dialogVisible"
    width="1000px"
    append-to-body
    @close="dialogClose"
  >
    <RuoYiIframe :src="src" />
  </el-dialog>
</template>

<script>
import RuoYiIframe from '@/components/RuoYiIframe/index.vue'
export default {
  components: {
    RuoYiIframe
  },
  data() {
    return {
      dialogVisible: false,
      src: '',
      title: ''
    }
  },
  methods: {
    dialogClose() {
      this.src = ''
    }
  }
}
</script>
