<template>
  <el-dialog :visible.sync="visible" :title="title" width="600px">
    <el-row>
      <el-col>
        {{ '行业类型：'+ form.INDUSTRY_TYPE_ONE_NAME + ' - ' + form.INDUSTRY_TYPE_TWO_NAME + ' - ' + form.INDUSTRY_TYPE_THREE_NAME + ' - ' + form.INDUSTRY_TYPE_FOUR_NAME }}
      </el-col>
      <el-col>
        {{ '检查隐患类型：'+ form.HIDDEN_TYPES_NAME }}
      </el-col>
      <el-col>
        {{ '隐患区域(风险单元名称)：'+ form.RISK_UNIT_NAME }}
      </el-col>
      <el-col>
        {{ '隐患部位：'+ form.HIDDEN_PART }}
      </el-col>
      <el-col>
        {{ '隐患描述：'+ form.INSPECTION_BASIS }}
      </el-col>
      <el-col>
        {{ '检查依据：'+ form.HIDDEN_DESCR }}
      </el-col>
      <el-col>
        {{ '依据内容：'+ form.INSPECTION_INFO }}
      </el-col>
      <el-col>
        {{ '整改建议：'+ form.RECTIFYDESCR }}
      </el-col>
    </el-row>
    <div slot="footer" class="dialog-footer">
      <el-button @click="close">取 消</el-button>
    </div>
  </el-dialog>
</template>
<script>
import Pagination from '@/components/Pagination' // 通过 el-pagination二次打包
import waves from '@/directive/waves'
export default {
  components: { Pagination },
  directives: { waves },
  props: {
    title: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
      loading: true,
      visible: false,
      form: {
        INDUSTRY_TYPE_ONE_NAME: '',
        INDUSTRY_TYPE_TWO_NAME: '',
        INDUSTRY_TYPE_THREE_NAME: '',
        INDUSTRY_TYPE_FOUR_NAME: '',
        HIDDEN_TYPES_NAME: ''
      }
    }
  },
  created() {
  },
  methods: {
    init(e) {
      this.visible = true
      if (e) {
        this.form = e
      }
    },
    close() {
      this.visible = false
    }
  }
}

</script>
