From 41e5945021340a02f1dd45acd6b6c87f56d7e95f Mon Sep 17 00:00:00 2001 From: carlosfonseca Date: Fri, 26 Jan 2024 10:59:13 -0500 Subject: [PATCH] Correccion se elimina datos de prueba --- src/pages/Customer/Card/CustomerNotes.vue | 34 ------------------- .../Customer/Card/CustomerRecoveries.vue | 33 ------------------ 2 files changed, 67 deletions(-) diff --git a/src/pages/Customer/Card/CustomerNotes.vue b/src/pages/Customer/Card/CustomerNotes.vue index 95c3befe8..0909758f3 100644 --- a/src/pages/Customer/Card/CustomerNotes.vue +++ b/src/pages/Customer/Card/CustomerNotes.vue @@ -6,40 +6,6 @@ import { date } from 'quasar'; import VnPaginate from 'src/components/ui/VnPaginate.vue'; -const response = { - fields: [ - 'id', - 'originFk', - 'userFk', - 'action', - 'changedModel', - 'oldInstance', - 'newInstance', - 'creationDate', - 'changedModel', - 'changedModelId', - 'changedModelValue', - 'description', - ], - include: [ - { - relation: 'user', - scope: { - fields: ['nickname', 'name', 'image'], - include: { relation: 'worker', scope: { fields: ['id'] } }, - }, - }, - ], - order: ['creationDate DESC', 'id DESC'], - limit: 20, - where: { - and: [ - { originFk: '1' }, - { userFk: { neq: null } }, - { action: { inq: ['insert', 'update', 'delete', 'select'] } }, - ], - }, -}; const { t } = useI18n(); const route = useRoute(); const router = useRouter(); diff --git a/src/pages/Customer/Card/CustomerRecoveries.vue b/src/pages/Customer/Card/CustomerRecoveries.vue index df5c7f6e2..7247145f2 100644 --- a/src/pages/Customer/Card/CustomerRecoveries.vue +++ b/src/pages/Customer/Card/CustomerRecoveries.vue @@ -11,39 +11,6 @@ import { toCurrency } from 'src/filters'; import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue'; -const response = { - fields: [ - 'id', - 'originFk', - 'userFk', - 'action', - 'changedModel', - 'oldInstance', - 'newInstance', - 'creationDate', - 'changedModel', - 'changedModelId', - 'changedModelValue', - 'description', - ], - include: [ - { - relation: 'user', - scope: { - fields: ['nickname', 'name', 'image'], - include: { relation: 'worker', scope: { fields: ['id'] } }, - }, - }, - ], - order: ['creationDate DESC', 'id DESC'], - limit: 20, - where: { - and: [ - { originFk: '1' }, - { action: { inq: ['insert', 'update', 'delete', 'select'] } }, - ], - }, -}; const { t } = useI18n(); const route = useRoute(); const router = useRouter();