<!--
  @description:招标项目/采购项目-合同文件列表
  @Modifier:郝定康
  @routerPath:
  @date:2021-10-19 10:12:03
-->
<template>
  <div>
    <table class="tableData">
      <tr>
        <td>
          主合同文件
        </td>
        <td>
          <downloadFile :data="contractMainFile" />
        </td>
      </tr>
      <tr>
        <td>
          附件
        </td>
        <td>
          <downloadFile :data="contractAttachedFile" />
        </td>
      </tr>
    </table>
  </div>
</template>

<script>
/* 公共组件*/
import downloadFile from '@comp/common/updownload/downloadFile' // 附件回显
/* 公共混入*/
import { contractSigningMixins } from '../mixins/contractSigningMixins'
export default {
  name: 'ContractDocuments',
  components: {
    downloadFile
  },
  mixins: [contractSigningMixins],
  data() {
    return {
    }
  },
  created() {
    this.contractMainFile.bizId = this.$route.params.id ? this.$route.params.id : this.$route.query.id
    this.contractAttachedFile.bizId = this.$route.params.id ? this.$route.params.id : this.$route.query.id
  },
  methods: {
  }
}
</script>

<style>
</style>
