0
0
Fork 0

Correccion se elimina datos de prueba

This commit is contained in:
carlosfonseca 2024-01-26 10:59:13 -05:00
parent 0589ffee03
commit 41e5945021
2 changed files with 0 additions and 67 deletions

View File

@ -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();

View File

@ -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();