<template>
  <div>
    <a-row>
      <a-col :span="24">
        <div class="tb-title">
          <span>项目组成员 <strong>(注：项目负责人填写到第一行)</strong></span>
        </div>
      </a-col>
    </a-row>
    <a-row type="flex" class="row_center">
      <a-col :span="1" class="bg-gray">
        <div class="special-middle">
          <div>序号</div>
        </div>
      </a-col>
      <a-col :span="1" class="bg-gray">
        <div class="special-middle">
          <div>姓名</div>
        </div>
      </a-col>
      <a-col :span="1" class="bg-gray">
        <div class="special-middle">
          <div>性别</div>
        </div>
      </a-col>
      <a-col :span="1" class="bg-gray">
        <div class="special-middle">
          <div>出生年月</div>
        </div>
      </a-col>
      <a-col :span="1" class="bg-gray">
        <div class="special-middle">
          <div>证件类型</div>
        </div>
      </a-col>
      <a-col :span="3" class="bg-gray">
        <div class="special-middle">
          <div>证件号码</div>
        </div>
      </a-col>
      <a-col :span="1" class="bg-gray">
        <div class="special-middle">
          <div>民族</div>
        </div>
      </a-col>
      <a-col :span="2" class="bg-gray">
        <div class="special-middle">
          <div>国别或地区</div>
        </div>
      </a-col>
      <a-col :span="2" class="bg-gray">
        <div class="special-middle">
          <div>工作单位</div>
        </div>
      </a-col>
      <a-col :span="1" class="bg-gray">
        <div class="special-middle">
          <div>职称</div>
        </div>
      </a-col>
      <a-col :span="1" class="bg-gray">
        <div class="special-middle">
          <div>最高学位</div>
        </div>
      </a-col>
      <a-col :span="1" class="bg-gray">
        <div class="special-middle">
          <div>电子邮箱</div>
        </div>
      </a-col>
      <a-col :span="1" class="bg-gray">
        <div class="special-middle">
          <div>手机</div>
        </div>
      </a-col>
      <!-- <a-col :span="1" class="bg-gray">
        <div class="special-middle">
          <div >电话</div>
        </div>
      </a-col>
      <a-col :span="1" class="bg-gray">
        <div class="special-middle">
          <div >传真</div>
        </div>
      </a-col> -->
      <a-col :span="3" class="bg-gray">
        <div class="special-middle">
          <div>项目分工</div>
        </div>
      </a-col>
      <a-col :span="2" class="bg-gray">
        <div class="special-middle">
          <div>每年工作（月）</div>
        </div>
      </a-col>
      <a-col :span="2" class="bg-gray">
        <div class="special-middle">
          <div>从事专业</div>
        </div>
      </a-col>
    </a-row>
    <div>
      <a-row v-for="(item, index) in dataList" :key="'memberEdit'+index" type="flex" class="row_center">
        <a-col :span="1">
          <div class="special-middle">
            <div>
              {{ index + 1 }}
            </div>
          </div>
        </a-col>
        <a-col :span="1">
          <div class="special-middle">
            <div>
              {{ item.name }}
            </div>
          </div>
        </a-col>
        <a-col :span="1">
          <div class="special-middle">
            <div>
              {{ item.sex }}
            </div>
          </div>
        </a-col>
        <a-col :span="1">
          <div class="special-middle">
            <div>
              {{ moment(item.birthday).format('YYYY-MM-DD') }}
            </div>
          </div>
        </a-col>
        <a-col :span="1">
          <div class="special-middle">
            <div>
              {{ item.certificateTypeName }}
            </div>
          </div>
        </a-col>
        <a-col :span="3">
          <div class="special-middle">
            <div>
              {{ item.certId }}
            </div>
          </div>
        </a-col>
        <a-col :span="1">
          <div class="special-middle">
            <div>
              {{ item.nationName }}
            </div>
          </div>
        </a-col>
        <a-col :span="2">
          <div class="special-middle">
            <div>
              {{ item.country }}
            </div>
          </div>
        </a-col>
        <a-col :span="2">
          <div class="special-middle">
            <div>
              {{ item.workUnit }}
            </div>
          </div>
        </a-col>
        <a-col :span="1">
          <div class="special-middle">
            <div>
              {{ item.titleName }}
            </div>
          </div>
        </a-col>
        <a-col :span="1">
          <div class="special-middle">
            <div>
              {{ item.degreeName }}
            </div>
          </div>
        </a-col>
        <a-col :span="1">
          <div class="special-middle">
            <div>
              {{ item.email }}
            </div>
          </div>
        </a-col>
        <a-col :span="1">
          <div class="special-middle">
            <div>
              {{ item.mobile }}
            </div>
          </div>
        </a-col>
        <!-- <a-col :span="1">
        <div class="special-middle">
          <div>
            {{ item.telephone }}
          </div>
        </div>
      </a-col>
      <a-col :span="1">
        <div class="special-middle">
          <div>
            {{ item.fax }}
          </div>
        </div>
      </a-col> -->
        <a-col :span="3">
          <div class="special-middle">
            <div>
              {{ item.projWork }}
            </div>
          </div>
        </a-col>
        <a-col :span="2">
          <div class="special-middle">
            <div>
              {{ item.forMonths }}
            </div>
          </div>
        </a-col>
        <a-col :span="2">
          <div class="special-middle">
            <div>
              {{ item.specName }}
            </div>
          </div>
        </a-col>
      </a-row>
    </div>
  </div>
</template>

<script>
//用法 <proj-group-member :members.sync="formData.members" />
import moment from 'moment'

export default {
  name: 'projectMemberInfo',
  data () {
    return {
    }
  },
  props: {
    dataList: {
      type: Array,
      default: () => {
        return []
      }
    },
  },
  components: {
    
  },
  created () {
  },
  methods: {
    moment,
  }
}
</script>
<style scoped lang="less">
</style> 
