<template>
  <div>
    <div class="content">
      <dataTable  :columns="columns"  :breads="breads" :checklist="checklist" :pageObj="pageObj" url="/tender-management/bidder/list">
        <el-table-column slot="operate" label="操作" align="center" fixed="right" width="100">
          <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 {
  components: {
    dataTable
  },
  data() {
    return {
      checklist: [{
        title: '单位名称',
        type: 'input',
        model: 'companyName'
      }],
      breads: ['供应商管理', '供应商列表'],
      columns: [{
        label: '单位名称',
        prop: 'companyName'
      },
      {
        label: '行业类型',
        prop: 'industry'
      },
      {
        label: '联系人',
        prop: 'contacts'
      },
      {
        slot: 'operate'
      }
      ], // 操作列
      pageObj: {
        size: 10,
        currentPage: 1,
        func: (currentPage) => {
          this.pageTurning(currentPage)
        }
      }
    }
  },
  methods: {
    see() {
      this.$router.push('/purchaser/supply/allSupplySee')
    }
  }
}
</script>

<style scoped>

</style>
