
<!--
  @description:部门经理-审核列表组件
  @Modifier:gmy
  @routerPath:
  @date:2020/7/15-9:54
-->
<template>
  <div>
    <el-table :data="reviewList" border style="width:100%;" min-height="200">
      <el-table-column
        label="审核时间"
        header-align="center"
        prop="auditTime"
        width="180"
        align="center"
      />
      <el-table-column
        header-align="center"
        label="审核人"
        prop="auditUserRealName"
        width="120"
        align="center"
      />
      <el-table-column
        header-align="center"
        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 header-align="center" label="意见" align="left">
        <template slot-scope="scope">
          <p v-if="scope.row.auditNotPassReason">
            {{ scope.row.auditNotPassReason }}
          </p>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
import { orderManagementGroupMixin } from '../mixins/orderManagementGroupMixins'
export default {
  name: 'ProcurementResultAuditListVue',
  mixins: [orderManagementGroupMixin],
  props: {
    reviewList: {
      type: Array,
      default: () => {
        return []
      }
    }
  }
}
</script>

<style scoped>
</style>
