<template>
  <div style="padding-bottom: 24px">
    <p
      class="el-icon-arrow-right"
      style="
        font-weight: bold;
        padding-left: 28px;
        font-size: 14px;
        margin-bottom: 15px;
      "
    >
      操作记录
    </p>
    <el-table :data="orderLog">
      <el-table-column prop="userName" label="操作人"></el-table-column>
      <el-table-column prop="actionType" label="操作类型"></el-table-column>
      <el-table-column prop="createTime" label="操作时间">
        <template slot-scope="scope">
          {{ $_common.formatDate(scope.row.createTime) }}
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
  export default {
    name: "OrderLos",
    props: {
      orderLog: {
        type: Array,
        default: () => {
          return [];
        },
      },
    },
  };
</script>

<style scoped></style>
