<template>
  <div
    class="audit-view"
    v-if="audit && audit.operationUser">
    <span class="bold">{{audit.operationTime}}</span> UPDATED BY <span class="bold">{{audit.operationUser}}</span>
    <i class="el-icon-info" :title='"LAST UPDATED BY " + audit.operationUser + " ON " + audit.operationTime'></i>
  </div>
  <!-- <div class="update-by">
    <span
      class="add-text"
      :title='"CREATED BY " + editForm.createdBy + " ON " + editForm.createdOn'>
      LAST UPDATED BY {{editForm.updatedBy}} TIMESTAMP: {{editForm.updatedOn}}
    </span>
  </div> -->
</template>

<script>
export default {
  name: "AuditView",
  props: {
    audit: {
      type: Object,
      default: () => ({})
    }
  },
  data() {
    return {
      
    };
  },
  mounted() {
    
  },
  methods: {
    
  }
}
</script>

<style scoped>
.audit-view {
  flex: 1;
  color: #333;
  padding: 10px 0;
  font-size: 14px;
  margin-left: 20px;
  vertical-align: middle;
}
.el-icon-info {
  display: inline-block;
  padding-left: 6px;
  font-size: 16px;
}
</style>