From ef52c9b0c0a6920c0dfd9d89c6beb18edc39f9a5 Mon Sep 17 00:00:00 2001 From: carlossa Date: Mon, 27 May 2024 10:42:47 +0200 Subject: [PATCH] refs #7406 routes trad --- src/i18n/locale/en.yml | 2 +- src/i18n/locale/es.yml | 1 + src/router/modules/worker.js | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 3853e3ab6..3eb464937 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -830,7 +830,7 @@ worker: calendar: Calendar timeControl: Time control locker: Locker - + formation: Formation list: name: Name email: Email diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index a8b9ecd51..652fb7e6e 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -828,6 +828,7 @@ worker: calendar: Calendario timeControl: Control de horario locker: Taquilla + formation: FormaciĆ³n list: name: Nombre email: Email diff --git a/src/router/modules/worker.js b/src/router/modules/worker.js index 384978d13..281ee08a0 100644 --- a/src/router/modules/worker.js +++ b/src/router/modules/worker.js @@ -23,6 +23,7 @@ export default { 'WorkerDms', 'WorkerTimeControl', 'WorkerLocker', + 'WorkerFormation', ], departmentCard: ['BasicData'], }, @@ -177,6 +178,15 @@ export default { }, component: () => import('src/pages/Worker/Card/WorkerLocker.vue'), }, + { + name: 'WorkerFormation', + path: 'formation', + meta: { + title: 'formation', + icon: 'clinical_notes', + }, + component: () => import('src/pages/Worker/Card/WorkerFormation.vue'), + }, ], }, ],