From 524e89319ee86c9e547bc403e069d5237d5d31ef Mon Sep 17 00:00:00 2001 From: Kevin Martinez Date: Thu, 30 Nov 2023 15:57:54 -0300 Subject: [PATCH] Implement shelving logs --- src/components/common/VnLog.vue | 141 +++++++++++++----------- src/composables/useArrayData.js | 4 +- src/i18n/en/index.js | 1 + src/i18n/es/index.js | 1 + src/pages/Shelving/Card/ShelvingLog.vue | 53 +++++++++ src/router/modules/shelving.js | 11 +- 6 files changed, 145 insertions(+), 66 deletions(-) create mode 100644 src/pages/Shelving/Card/ShelvingLog.vue diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue index 1213c8bbc..b14aae7be 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -19,6 +19,18 @@ const props = defineProps({ type: String, default: null, }, + url: { + type: String, + default: null, + }, + mapper: { + type: Function, + default: null, + }, + filter: { + type: Object, + default: null, + } }); const columns = [ @@ -65,17 +77,18 @@ function actionColor(action) {