<!--
  @description:集约化评标计划-集约化评标分组--审批意见
  @Modifier: 肖文龙
  @routerPath:
  @date: 2020年3月16日16:15:41
-->
<template>
  <div>
    <el-table
      ref="smallTable"
      v-loading="loading"
      :data="tableData"
    >
      <el-table-column
        type="index"
        label="序号"
        width="45px"
        align="center"
      />
      <el-table-column
        prop="tenderNo"
        align="center"
        label="审批时间"
        width="140"
      />
      <el-table-column
        header-align="center"
        prop="tenderName"
        label="发起人"
        min-width="150"
      />
      <el-table-column
        header-align="center"
        label="处理人"
        min-width="150"
      />
      <el-table-column
        header-align="center"
        prop="tenderMethod"
        label="审批状态"
        min-width="120"
        align="right"
      />
      <el-table-column
        header-align="center"
        prop="tenderMethod"
        label="审批意见"
        min-width="200"
        align="right"
      />
      <el-table-column
        header-align="center"
        prop="managerName"
        label="审批附件"
        min-width="120"
        align="right"
      />
    </el-table>
    <!-- 分页 -->
    <pagination :pagination-data="paginationData" />
  </div>
</template>

<script>
/* api*/
import { } from '@/api/intensiveeval/intensiveeval'
/* 混合开发*/
import { groupMixin } from '@/views/intensiveeval/mixins/intensiveevalGroupMixin'// 字典信息
import { ListMixin } from '@/mixins/ListMixin'// 分页
/* 组件*/
import pagination from '@comp/common/pagination/pagination'// 分页
export default {
  name: 'ApprovalOpinionDetail',
  components: {
    pagination
  },
  mixins: [groupMixin, ListMixin],
  data() {
    return {
      loading: false, // 刷新loading
      searchForm: {
        pageNo: 1,
        pageSize: 10
      },
      // 评标委员会列表
      tableData: [{ tenderNo: '1' }]
    }
  },
  created() {
    // this.loadData()
  },
  methods: {
    // 获取数据
    loadData(data) {
      this.loading = true
      // const params = this.getQueryParams()// 查询条件
      // listTenderProjectPages(params).then(response => {
      //   this.tableData = response.data.records
      //   this.paginationData.total = response.data.total
      //   for (let i = 0; i < this.tableData.length; i++) {
      //     this.tableData[i].createTime = this.$Moment(this.tableData[i].createTime).format('YYYY-MM-DD')
      //   }
      //   this.loading = false
      // }).catch(() => {

      // })
    },
    // 查询条件
    getQueryParams() {
      const param = Object.assign({}, this.searchForm)
      param.pageNo = this.paginationData.pageNo
      param.pageSize = this.paginationData.pageSize
      return param
    }
  }
}
</script>

<style lang="less" scoped>

</style>
