<!--
  @description: 查看评标结果统计信息详情
  @Modifier: haofengxian
  @routerPath: /statisticalAnalysis/statisticsBidEvaluationResultsDetail
  @date: 2020-7-17-10:57
-->
<template>
  <div>
    <div class="title p0-16 clearfix">
      <!-- 返回 -->
      <div class="title-back pointer" @click="back">
        <i class="iconfont icon-fanhui mr10" />
        查看评标结果统计信息
      </div>
    </div>
    <div class="p0-16">
      <div>
        <el-table
          ref="smallTable"
          v-loading="loading"
          :data="tableData"
        >
          <el-table-column
            type="index"
            label="序号"
            width="60px"
            align="center"
          />
          <el-table-column
            prop="type"
            align="center"
            label="类别"
            width="170"
          />
          <el-table-column
            prop="tenderNo"
            align="center"
            label="招标项目编号"
            width="170"
          />
          <el-table-column
            header-align="center"
            prop="tenderName"
            label="招标项目名称"
            min-width="230"
          />
          <el-table-column
            header-align="center"
            prop="packName"
            label="标段（包）名称"
            min-width="230"
          />
          <el-table-column
            prop="packNo"
            align="center"
            label="标段（包）编号"
            width="170"
          />
          <el-table-column
            header-align="center"
            prop="firstCalibrationNumber"
            label="第一中标候选人数量"
            width="170"
          />
          <el-table-column
            header-align="center"
            prop="averageBenchmarkRate"
            label="平均基准价下降率%"
            align="right"
            width="170"
          />
          <el-table-column
            header-align="center"
            prop="averageWinSpareRate"
            label="平均中标节资率%"
            width="170"
          />
          <el-table-column
            header-align="center"
            prop="bidOfferNumber"
            label="投标报价标段数量"
            width="170"
          />
          <el-table-column
            header-align="center"
            prop="merchantOfferRate"
            label="投标报价比例%"
            align="right"
            width="170"
          />
          <el-table-column
            header-align="center"
            prop="economicsSort"
            label="经济得分排序"
            width="100"
          />
          <el-table-column
            header-align="center"
            prop="economicsNumber"
            label="经济标段数量"
            width="100"
          />
          <el-table-column
            header-align="center"
            prop="economicsRate"
            label="经济比例%"
            width="100"
          />
          <el-table-column
            header-align="center"
            prop="businessSort"
            label="商务得分排序"
            width="100"
          />
          <el-table-column
            header-align="center"
            prop="businessNumber"
            label="商务标段数量"
            width="100"
          />
          <el-table-column
            header-align="center"
            prop="businessRate"
            label="商务比例%"
            width="90"
          />
          <el-table-column
            header-align="center"
            prop="tenacitySort"
            label="技术得分排序"
            width="100"
          />
          <el-table-column
            header-align="center"
            prop="tenacityNumber"
            label="技术标段数量"
            width="100"
          />
          <el-table-column
            header-align="center"
            prop="tenacityRate"
            label="技术比例%"
            width="90"
          />
          <el-table-column
            header-align="center"
            prop="remark"
            label="备注"
            width="90"
          />
        </el-table>
      </div>
    </div>
  </div>
</template>

<script>
/* 接口*/
import { queryEvaluationResultInfo } from '@api/statisticalAnalysis'
export default {
  name: 'CandidateNoticeInfo',
  data() {
    return {
      loading: true,
      tableData: []
    }
  },
  created() {
    this.getEvaluationResultInfo()
  },
  methods: {
    // 查询评标结果统计信息详情
    getEvaluationResultInfo() {
      this.tableData = []
      queryEvaluationResultInfo({ packId: this.$route.query.packId }).then(response => {
        this.loading = false
        this.tableData.push(response.data)
      }).catch(() => {
        this.loading = false
      })
    },
    // 返回
    back() {
      this.$router.push('/statisticalAnalysis/statisticsBidEvaluationResultsList')
    }
  }
}
</script>

<style scoped>

</style>
