<!--
  @description: 签到但未解密供应商
  @Modifier: hefei
  @routerPath: /bidding/bidOpening/bidOpeningMonitor/bidOpeningMonitorDetail/openBidNoDecryptData-detail
  @date: 2021/03/08 11:35:59
-->
<template>
  <div>
    <dl class="projectInfoDetail">
      <dd>
        <el-table
          v-loading="loading"
          :data="tableData"
        >
          <el-table-column
            type="index"
            label="序号"
            min-width="60px"
            align="center"
          />
          <el-table-column
            prop="packNo"
            label="标段（包）编号"
            header-align="center"
            min-width="140px"
          />
          <el-table-column
            prop="packName"
            label="标段（包）名称"
            header-align="center"
            min-width="140px"
          />
          <el-table-column
            prop="supplierName"
            label="供应商名称"
            min-width="140px"
            header-align="center"
          />
          <el-table-column
            prop="queryTime"
            label="查询时间"
            align="center"
            min-width="140px"
          />
        </el-table>
      </dd>
    </dl>
  </div>
</template>
<script>
/* api */
import { getOpenBidNoSignData } from '@/api/bidding/bidOpening' // 获取签到但未解密供应商
export default {
  name: 'OpenBidNoSignDataDetail',
  props: {
    bidSignDecrypt: {
      type: Object,
      default: function() {
        return {}
      }
    }
  },
  data() {
    return {
      loading: false, // 列表loading
      tableData: [] // 列表
    }
  },
  methods: {
    // 查询数据
    getOpenBidNoSignData() {
      this.tableData = []
      this.loading = true
      getOpenBidNoSignData(this.bidSignDecrypt).then(response => {
        this.loading = false
        this.tableData = response.data
      }).catch(() => {
        this.loading = false
      })
    }
  }
}
</script>
<style lang="less" scoped>

</style>
