<template>
  <div style="margin-bottom: 16px">
    <Table :data="auditHistory" :height="null" :show-card="false">
      <Column label="审核时间" prop="auditTime" />
      <Column align="left" label="审核结果" prop="desc" />
      <Column align="left" label="审核意见" prop="remark">
        <template #default="{row}">
          {{ row.remark || '-' }}
        </template>
      </Column>
      <!-- <FileUploadColumn label="附件" prop="attachmentList" :module="MODULE.DEVICE" :func="FUNCTION.STORAGE" :category="CATEGORY.AUDIT" :min-width="50" disabled/> -->
      <Column align="left" label="审核人" prop="nickName">
        <template #default="{row}">
          {{ row.nickName || '-' }}
        </template>
      </Column>
    </Table>
  </div>
</template>

<script>
export default {
  name: "AuditLog",
  props: {
    auditHistory: {
      type: Array,
    },
  },
};
</script>

<style scoped>
</style>

