diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 4e959702b..a0dea0555 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -837,6 +837,7 @@ export default { workerCreate: 'New worker', department: 'Department', pda: 'PDA', + log: 'Log', }, list: { name: 'Name', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 54db98f66..be16bc2f8 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -837,6 +837,7 @@ export default { workerCreate: 'Nuevo trabajador', department: 'Departamentos', pda: 'PDA', + log: 'Historial', }, list: { name: 'Nombre', diff --git a/src/pages/Worker/Card/WorkerLog.vue b/src/pages/Worker/Card/WorkerLog.vue new file mode 100644 index 000000000..ef5a2e0d8 --- /dev/null +++ b/src/pages/Worker/Card/WorkerLog.vue @@ -0,0 +1,6 @@ + + diff --git a/src/router/modules/worker.js b/src/router/modules/worker.js index 1c722afe8..448aab79c 100644 --- a/src/router/modules/worker.js +++ b/src/router/modules/worker.js @@ -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'), + }, ], }, ],