From 319295f2c2d8e1eca264da56375b0cc025d13d3d Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 11 Mar 2024 16:53:33 -0300 Subject: [PATCH] Workers PDA --- src/i18n/en/index.js | 7 ++ src/i18n/es/index.js | 7 ++ src/pages/Worker/Card/WorkerPda.vue | 141 ++++++++++++++++++++++++++++ src/router/modules/worker.js | 11 ++- 4 files changed, 165 insertions(+), 1 deletion(-) create mode 100644 src/pages/Worker/Card/WorkerPda.vue diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 94d552be3..116cd9d01 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -833,6 +833,7 @@ export default { notifications: 'Notifications', workerCreate: 'New worker', department: 'Department', + pda: 'PDA', }, list: { name: 'Name', @@ -874,6 +875,12 @@ export default { subscribed: 'Subscribed to the notification', unsubscribed: 'Unsubscribed from the notification', }, + pda: { + newPDA: 'New PDA', + model: 'Model', + serialNumber: 'Serial number', + removePDA: 'Deallocate PDA', + }, create: { name: 'Name', lastName: 'Last name', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index bcd780f5b..728b99702 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -833,6 +833,7 @@ export default { notifications: 'Notificaciones', workerCreate: 'Nuevo trabajador', department: 'Departamentos', + pda: 'PDA', }, list: { name: 'Nombre', @@ -874,6 +875,12 @@ export default { subscribed: 'Se ha suscrito a la notificación', unsubscribed: 'Se ha dado de baja de la notificación', }, + pda: { + newPDA: 'Nueva PDA', + model: 'Modelo', + serialNumber: 'Número de serie', + removePDA: 'Desasignar PDA', + }, create: { name: 'Nombre', lastName: 'Apellido', diff --git a/src/pages/Worker/Card/WorkerPda.vue b/src/pages/Worker/Card/WorkerPda.vue new file mode 100644 index 000000000..e01c80838 --- /dev/null +++ b/src/pages/Worker/Card/WorkerPda.vue @@ -0,0 +1,141 @@ + + + + + +es: + PDA deallocated: PDA desasignada + diff --git a/src/router/modules/worker.js b/src/router/modules/worker.js index 27a6f19a9..57a879536 100644 --- a/src/router/modules/worker.js +++ b/src/router/modules/worker.js @@ -11,7 +11,7 @@ export default { redirect: { name: 'WorkerMain' }, menus: { main: ['WorkerList', 'WorkerDepartment'], - card: ['WorkerNotificationsManager'], + card: ['WorkerNotificationsManager', 'WorkerPda'], departmentCard: ['BasicData'], }, children: [ @@ -75,6 +75,15 @@ export default { component: () => import('src/pages/Worker/Card/WorkerNotificationsManager.vue'), }, + { + name: 'WorkerPda', + path: 'pda', + meta: { + title: 'pda', + icon: 'phone_android', + }, + component: () => import('src/pages/Worker/Card/WorkerPda.vue'), + }, ], }, ],