0
0
Fork 0

Merge pull request 'Create worker log' (!247) from hyervoni/salix-front-mindshore:feature/worker-log into dev

Reviewed-on: verdnatura/salix-front#247
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
Reviewed-by: Javier Segarra <jsegarra@verdnatura.es>
This commit is contained in:
Javier Segarra 2024-03-25 12:47:06 +00:00
commit 4605484845
4 changed files with 18 additions and 1 deletions

View File

@ -837,6 +837,7 @@ export default {
workerCreate: 'New worker',
department: 'Department',
pda: 'PDA',
log: 'Log',
},
list: {
name: 'Name',

View File

@ -837,6 +837,7 @@ export default {
workerCreate: 'Nuevo trabajador',
department: 'Departamentos',
pda: 'PDA',
log: 'Historial',
},
list: {
name: 'Nombre',

View File

@ -0,0 +1,6 @@
<script setup>
import VnLog from 'src/components/common/VnLog.vue';
</script>
<template>
<VnLog model="Worker" url="/WorkerLogs" />
</template>

View File

@ -12,7 +12,7 @@ export default {
redirect: { name: 'WorkerMain' },
menus: {
main: ['WorkerList', 'WorkerDepartment'],
card: ['WorkerNotificationsManager', 'WorkerPda'],
card: ['WorkerNotificationsManager', 'WorkerPda', 'WorkerLog'],
departmentCard: ['BasicData'],
},
children: [
@ -85,6 +85,15 @@ export default {
},
component: () => import('src/pages/Worker/Card/WorkerPda.vue'),
},
{
name: 'WorkerLog',
path: 'log',
meta: {
title: 'log',
icon: 'vn:History',
},
component: () => import('src/pages/Worker/Card/WorkerLog.vue'),
},
],
},
],