<!--
  @description: 报名-报名详情信息
  @Modifier: 张慢慢
  @routerPath:
  @date: 2021-07-08-15:30
-->
<template>
  <div class="main">
    <table class="tableData">
      <tr>
        <td>招标项目编号</td>
        <td>
          {{ formData.tenderNo }}
        </td>
        <td>招标项目名称</td>
        <td>
          {{ formData.tenderName }}
        </td>
      </tr>
      <tr>
        <td>标段（包）编号</td>
        <td>
          {{ formData.packNo }}
        </td>
        <td>报名时间</td>
        <td>
          {{ formData.createTime }}
        </td>
      </tr>
      <tr>
        <td>联系人</td>
        <td>
          {{ formData.linker }}
        </td>
        <td>联系电话</td>
        <td>
          {{ formData.linkerPhone }}
        </td>
      </tr>
      <tr>
        <!-- <td>邮编</td>
        <td>
          {{ formData.tenderMethod }}
        </td> -->
        <td>身份证</td>
        <td>
          {{ formData.linkerId }}
        </td>
        <td>邮箱</td>
        <td>
          {{ formData.linkerEmail }}
        </td>
      </tr>
      <!-- <tr>
        <td>联系地址</td>
        <td colspan="3">
          {{ formData.projectAreaName }} {{ formData.palceAddress }}
        </td>
      </tr> -->
      <tr>
        <td>附件</td>
        <td colspan="3">
          <downloadFile ref="downLoad" :data="signupFileData" />
        </td>
      </tr>
      <tr>
        <td>审核状态</td>
        <td>
          {{ formData.auditStatus==='00'?'待审核':'审核通过' }}
        </td>
        <td>审核人</td>
        <td>
          {{ formData.auditUserRealName }}
        </td>
      </tr>
    </table>
  </div>
</template>

<script>
/* 接口*/
import { getSignupInfoBySignupId } from '@/api/bidding/biddocfee'// 获取报名信息
/* 公共组件 */
import downloadFile from '@comp/common/updownload/downloadFile' // 文件下载
import { tenderBidMixin } from './../mixins/tenderBidMixin' // 报名附件
export default {
  name: 'TenderApplyDetail',
  components: {
    downloadFile
  },
  mixins: [tenderBidMixin],
  props: {
    // 报名主键id
    signupId: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
      formData: {}

    }
  },
  created() {
    this.signupFileData.bizId = this.signupId // 获取附件id
    this.initData() // 获取报名信息
  },
  methods: {
    // 查询报名详情信息
    initData(tenderId) {
      const data = {
        signupId: this.signupId
      }
      getSignupInfoBySignupId(data).then(response => {
        this.formData = response.data
      }).catch(() => {
      })
    }
  }
}
</script>

<style lang="less" scoped>

</style>
