<!--
  @description: 新版招标公告-标书费、保证金列表弹框
  @Modifier: 张慢慢
  @routerPath:
  @date: 2021/06/15-10:38
-->
<template>
  <div>
    <el-dialog
      v-dialogDrag
      :visible.sync="dialog.dialogVisible"
      :close-on-click-modal="false"
      append-to-body
      title="查看报名"
      width="840px"
      custom-class="el-dialog__body-p8 el-dialog_table"
    >
      <!-- <tenderApplyDetail :signup-id="signupId" /> -->
      <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.linkerTel }}
            </td>
          </tr>
          <tr>
            <!-- <td>邮编</td>
        <td>
          {{ formData.tenderMethod }}
        </td> -->
            <td>身份证</td>
            <td>
              {{ formData.linkerIdCard }}
            </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>
              {{ filterDictText(signupAuditList,formData.signupAuditStatus) }}
            </td>
            <td>审核人</td>
            <td>
              {{ formData.auditUserRealName }}
            </td>
          </tr>
        </table>
      </div>
    </el-dialog>
  </div>
</template>

<script>
/* 组件 */
import tenderApplyDetail from './tenderApply-detail' // 详情页面
import downloadFile from '@comp/common/updownload/downloadFile' // 文件下载
/* 公共方法 */
import { tenderBidMixin } from './../mixins/tenderBidMixin' // 报名附件
import { tenderBidGroupMixin } from '../mixins/tenderBidGroupMixin' // 字典
import { filterDictText } from '@/assets/js/utils'
export default {
  name: 'TenderApplyDialog',
  components: {
    tenderApplyDetail, // 详情页面
    downloadFile
  },
  mixins: [tenderBidMixin, tenderBidGroupMixin],
  props: {

  },
  data() {
    return {
      dialog: {
        dialogVisible: false
      },
      formData: '' // 报名信息
    }
  },
  methods: {
    filterDictText,
    // 打开弹框
    open(data) {
      this.formData = data // 报名id
      this.signupFileData.bizId = this.formData.signupId // 获取附件id
      this.dialog.dialogVisible = true // 打开弹框
    }
  }
}
</script>

<style lang="less" scoped>

</style>

