<template>
  <div>
    <el-dialog
      title="查看SQl"
      :visible.sync="sqlFormVisible"
      :before-close="close"
      width="66%">
        <div>
          <p>{{sql}}</p>
        </div>
    </el-dialog>
  </div>
</template>
<script>
export default {
  data () {
    return {

    }
  },
  props: {
    sqlFormVisible: Boolean,
    sql: String
  },

  methods: {
    close () {
      this.$emit('close')
    },

  },

  watch: {

  }
}
</script>
<style lang="scss" scoped>
.mrg-t{
  margin-top: 20px
}
.pad-t {
  display: inline-block;
  padding-top: 9px;
}
.break {
  width: 112px;
  display: inline-block;
  word-wrap: break-word;
  padding-top: 10px;
}
.form-item {
  display: inline-block;
  margin-left: 10px;
  em{
    font-style: normal;
    color: #9c9d9e
  }
}
  .table-item{
    display: inline-block !important;
  }
.span{
    display: inline-block !important;
    margin-left: 15px;
  }
</style>
