<!--
  @description: 自然人详情
  @Modifier: haofengxian
  @routerPath:
  @date: 2020-9-23-18:37
-->
<template>
  <table class="tableData">
    <tr>
      <td>地区</td>
      <td>{{ filterDictText(areaList, formData.area) }}</td>
      <td>注册类型</td>
      <td>{{ filterDictText(registerTypeList, formData.registerType) }}</td>
    </tr>
    <tr>
      <td>姓名</td>
      <td>{{ formData.linker.linkname }}</td>
      <td>身份证</td>
      <td>{{ formData.linker.linkerID }}</td>
    </tr>
    <tr>
      <td>身份证</td>
      <td>{{ formData.linker.linkerID }}</td>
      <td>联系电话</td>
      <td>{{ formData.linker.linktel }}</td>
    </tr>
    <tr>
      <td>联系地址</td>
      <td>{{ formData.linker.address }}</td>
      <td>电子邮箱</td>
      <td>{{ formData.linker.email }}</td>
    </tr>
    <tr>
      <td>邮政编码</td>
      <td>{{ formData.linker.linkPostCode }}</td>
      <td>开户银行</td>
      <td>
        {{ formData.finance.bankname }}
      </td>
    </tr>
    <tr>
      <td>基本账户账号</td>
      <td colspan="3">
        {{ formData.finance.bankaccount }}
      </td>
    </tr>
    <tr>
      <td>身份证扫描件</td>
      <td colspan="3">
        <downloadFile :data="idUpLoadIdData" />
      </td>
    </tr>
  </table>
</template>

<script>
// 组件
import downloadFile from '@comp/common/updownload/downloadFile' // 获取附件信息 下载组件
import { filterDictText } from '@/assets/js/utils'// 常用方法
import { organizationGroupMixin } from '../mixins/organizationGroupMixin'
export default {
  name: 'NaturalPerson',
  components: {
    downloadFile // 下载组件
  },
  mixins: [organizationGroupMixin],
  props: {
    formData: {
      type: Object,
      default: function() {
        return {}
      }
    },
    idUpLoadIdData: {
      type: Object,
      default: function() {
        return {}
      }
    }
  },
  methods: {
    filterDictText
  }
}
</script>

<style scoped>

</style>
