<template>
  <div >
    <div class="content">
      <dataTable :table-data="tableData" :columns="columns" :page-obj="pageObj" :breads="breads" :checklist="checklist">
        <el-table-column slot="operate" label="操作" align="center" fixed="right" width="200">
          <template slot-scope="scope">
            <el-button type="text" size="small" @click="see(scope.row)">查看中标公告</el-button>
          </template>
        </el-table-column>
      </dataTable>
    </div>
  </div>
</template>

<script>
import dataTable from '@components/dataTable.vue'
export default {
  name: 'failList',
  components: {
    dataTable
  },
  data() {
    return {
      checklist: [{
        title: '中标供应商',
        type: 'input',
        model: 'name'
      }],		
      breads: ['招投标管理', '供应商中标统计'],
      tableData: [{
        name: '胡彦斌',
        project: '胡彦斌',
        data: '2017-10-01 12：00',
        remark: '重新确定中标人'
      }, {
        name: '胡彦斌',
        project: '胡彦斌',
        data: '2017-10-01 12：00',
        remark: '重新确定中标人'
      }, {
        name: '胡彦斌',
        project: '胡彦斌',
        data: '2017-10-01 12：00',
        remark: '重新确定中标人'
      }, {
        name: '胡彦斌',
        project: '胡彦斌',
        data: '2017-10-01 12：00',
        remark: '重新确定中标人'
      }],
      columns: [{
        label: '中标供应商',
        prop: 'name'
      },
      {
        label: '中标项目',
        prop: 'project'
      },
      {
        label: '中标时间',
        prop: 'data',
        sortable: true
      },
      {
        label: '备注',
        prop: 'remark'
      },
      {
        slot: 'operate'
      }
      ], // 操作列
     
      pageObj: {
        size: 10,
        total: 1,
        currentPage: 1,
        sizes: [100, 200, 300],
        func: (currentPage) => {
          this.pageTurning(currentPage)
        }
      }
    }
  },
  methods: {
    see() {
      this.$router.push('/admin/bid/failDetail')
    }
  }
}
</script>

<style scoped>
	
</style>

