From 74da17c8e238dab58a14dc0350c150411e2a2808 Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 6 Feb 2024 11:59:00 +0100 Subject: [PATCH] refs #4774 router, template trad --- src/i18n/en/index.js | 1 + src/i18n/es/index.js | 1 + src/pages/Worker/TraductionsVn.vue | 9 +++++++++ src/router/modules/worker.js | 11 ++++++++++- 4 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 src/pages/Worker/TraductionsVn.vue diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 1a7a4c27e..ec2397bf5 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -774,6 +774,7 @@ export default { notifications: 'Notifications', workerCreate: 'New worker', department: 'Department', + TraductionsVn: 'Traductions', }, list: { name: 'Name', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 83de42ee0..ac1c6fcd1 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -774,6 +774,7 @@ export default { notifications: 'Notificaciones', workerCreate: 'Nuevo trabajador', department: 'Departamentos', + TraductionsVn: 'Traducciones', }, list: { name: 'Nombre', diff --git a/src/pages/Worker/TraductionsVn.vue b/src/pages/Worker/TraductionsVn.vue new file mode 100644 index 000000000..a644f620e --- /dev/null +++ b/src/pages/Worker/TraductionsVn.vue @@ -0,0 +1,9 @@ + + + + + + + diff --git a/src/router/modules/worker.js b/src/router/modules/worker.js index 27a6f19a9..244290a0c 100644 --- a/src/router/modules/worker.js +++ b/src/router/modules/worker.js @@ -10,7 +10,7 @@ export default { component: RouterView, redirect: { name: 'WorkerMain' }, menus: { - main: ['WorkerList', 'WorkerDepartment'], + main: ['WorkerList', 'WorkerDepartment', 'TraductionsVn'], card: ['WorkerNotificationsManager'], departmentCard: ['BasicData'], }, @@ -39,6 +39,15 @@ export default { }, component: () => import('src/pages/Worker/WorkerDepartment.vue'), }, + { + path: 'traductionsVn', + name: 'TraductionsVn', + meta: { + title: 'TraductionsVn', + icon: 'history_edu', + }, + component: () => import('src/pages/Worker/TraductionsVn.vue'), + }, { path: 'create', name: 'WorkerCreate',