<template>
  <div>
    <Modal v-model="showDetailModal" v-drag :width="700" title="人员信息" class="modal-footer-none">
      <div :style="{height}" style="overflow-y: auto">
        <table class="tableClass">
          <tbody>
          <tr>
            <th colspan="6" class="tableClass_back">人员信息</th>
          </tr>
          <tr>
            <th>姓名</th>
            <td>{{obj.realname}}</td>
            <th>联系方式</th>
            <td>{{obj.mobile}}</td>
          </tr>
          </tbody>
        </table>
      </div>
    </Modal>
  </div>
</template>
<script>
/**
 * 政府委托信息表详情
 */
export default {
  data() {
    return {
      obj: {
        firsted: 0,
        client: '',
        boreholeLocation: '',
        boreholeName: '',
        waterDepth: '',
        tabulater: '',
        testType: ''
      },
      showDetailModal: false,
      dispose: '',
      height: '',
      showMoney: false
    }
  },
  methods: {
    _open(obj, flag) {
      console.log('obj', obj)
      this.showDetailModal = true
      this.obj = obj.records[0]
      if (flag === 'showMoney') {
        this.showMoney = true
      } else {
        this.showMoney = false
      }
      this.height = '350px'
    }
  }
}
</script>
