Selaa lähdekoodia

add AuditView.vue

vbea 1 vuosi sitten
vanhempi
sitoutus
1a7bb90b44
1 muutettua tiedostoa jossa 54 lisäystä ja 0 poistoa
  1. 54 0
      Strides-Admin/src/components/AuditView.vue

+ 54 - 0
Strides-Admin/src/components/AuditView.vue

@@ -0,0 +1,54 @@
+<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>