<template>
  <div class="app-container">
    <van-nav-bar
      title="招标公告"
      left-arrow
      fixed
      placeholder
      @click-left="onClickLeft"
    />
    <p class="title">{{attestationDetail.projectName}}</p>
    <van-row>
      <van-col>招标方名称：{{attestationDetail.tenderName}}</van-col>
    </van-row>
    <van-row>
      <van-col>资金来源：{{attestationDetail.moneySource}}</van-col>
    </van-row>
    <van-row>
      <van-col>招标代理公司：{{attestationDetail.agentName}}</van-col>
    </van-row>
    <van-row>
      <van-col>联系人：{{attestationDetail.linkman}}</van-col>
    </van-row>
    <van-row>
      <van-col>联系电话：{{attestationDetail.linkphone}}</van-col>
    </van-row>
    <van-row>
      <van-col>联系地址：{{attestationDetail.linkaddress}}</van-col>
    </van-row>
    <van-row>
      <van-col>招标方意见：{{attestationDetail.tenderOpinion}}</van-col>
    </van-row>
    <van-row>
      <van-col>代理公司意见：{{attestationDetail.agentOpinion}}</van-col>
    </van-row>
    <van-row>
      <van-col>建设地点：{{attestationDetail.address}}</van-col>
    </van-row>
    <van-row>
      <van-col>建设工期：{{attestationDetail.timeLimit}}</van-col>
    </van-row>
    <van-row>
      <van-col>项目规模：{{attestationDetail.scale}}</van-col>
    </van-row>
    <van-row>
      <van-col>招标内容：{{attestationDetail.tenderContent}}</van-col>
    </van-row>
    <van-row>
      <van-col>投标人要求：{{attestationDetail.condition}}</van-col>
    </van-row>
    <van-row>
      <van-col>保证金：{{attestationDetail.deposit}}</van-col>
    </van-row>
    <van-row>
      <van-col>招标文件价格(元)：{{attestationDetail.price}}</van-col>
    </van-row>
    <van-row>
      <van-col>招标发布日期：{{attestationDetail.logintime}}</van-col>
    </van-row>
    <van-row>
      <van-col>招标书领取开始日期：{{attestationDetail.startTime}}</van-col>
    </van-row>
    <van-row>
      <van-col>招标书领取结束日期：{{attestationDetail.stopTime}}</van-col>
    </van-row>
  </div>
</template>

<script>
import { tenderDetail } from "@/api/notice/index";
export default {
  name: "noticeDetail",
  data() {
    return {
      attestationDetail:''
    };
  },
  created() {
    this.getDetail();
  },
  methods: {
    //成交公告集合
    getDetail(){
      tenderDetail(this.$route.query.id,{translate_dict:1}).then(response => {
        this.attestationDetail = response.data;
        // //公司性质字典
        // this.getDicts("company_nature").then(res => {
        //   this.attestationDetail.companyNature = this.selectDictLabel(res.data,response.data.companyNature);
        // });
      });
    },

  },
};
</script>

<style scoped lang="scss">
.app-container {
  padding: 0.5rem 5%;
}
.title{
  font-size: 0.5rem;
  margin-bottom: 0.5rem;
}
.van-row{
  margin-bottom: 0.4rem;
}
.van-col{
  font-size: 0.4rem;
  color: #666666;
}
</style>
