<template>
  <div>
    <el-dialog
      :title="visuals.Scenario[0]+'场景应对流程'"
      :visible.sync="dialogVisible"
      width="1200px"
      :before-close="handleClose">
      <visual :visuals='visuals'></visual>
    </el-dialog>
  </div>
</template>

<script>
import visual from '@/views/home/components/visual.vue'
export default {
  name:'showDialog',
  components: {
    visual
  },
  props: {
   
  },
  data() {
    return {
        dialogVisible:false,
        visuals:{
          Scenario:[]
        }
    };
  },
  watch: {},
  computed: {},
  created() {},
  mounted() {},
  methods: {
    //打开弹窗
    open(val){
        this.visuals = val
        this.dialogVisible = true
    },
    //关闭弹窗
    handleClose(){
        this.dialogVisible = false
    }
  },
};
</script>
<style lang="scss" scoped>
</style>