<!--
  @description:采购人-缴纳保证金---审核信息列表
  @Modifier:gmy
  @routerPath:
  @date:2020/5/5-13:27
-->
<template>
  <div>
    <p class="title">
      审核信息
    </p>
    <el-table
      :data="reviewList"
      :border="true"
      style="width: 100%;min-height:100px;"
    >
      <el-table-column
        label="审核时间"
        prop="auditTime"
        width="180"
        align="center"
      />
      <el-table-column
        label="审核人"
        prop="auditUserRealName"
        width="120"
        align="center"
      />
      <el-table-column
        label="审核状态"
        prop="reviewState"
        width="140"
        align="center"
      >
        <template slot-scope="scope">
          <p
            v-for="(item, index) in auditStatusList"
            v-if="scope.row.auditStatus===item.typecode"
            :key="index"
          >
            {{ item.typeName }}
          </p>
        </template>
      </el-table-column>
      <el-table-column
        label="审核意见"
        align="center"
      >
        <template slot-scope="scope">
          <p v-if="scope.row.auditNotPassReason">
            {{ scope.row.auditNotPassReason }}
          </p>
          <p v-else>
            暂未审核意见
          </p>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: 'ReviewInfoList',
  props: {
    reviewList: {
      type: Array,
      default: () => {
        return []
      }
    }
  },
  data() {
    return {
      reviewInfoList: [{ id: '1', reviewTime: '2020-02-19 13:35:58', reviewMan: '张三', reviewState: '不通过', reviewIdea: '确认信息填写是否完整' }, { id: '1', reviewTime: '2020-02-19 13:32:58', reviewMan: '张三', reviewIdea: '公司简介填写不正确' }] // 审核信息列表名单
    }
  }
}
</script>

<style scoped>

</style>
