@@ -12,15 +13,8 @@ import Searcher from '@Holos/Searcher.vue';
Gestión de información general de empleados
-
-
+
diff --git a/src/pages/Payroll/Index.vue b/src/pages/Payroll/Index.vue
index 03acdad..bbbc2b0 100644
--- a/src/pages/Payroll/Index.vue
+++ b/src/pages/Payroll/Index.vue
@@ -1,5 +1,6 @@
@@ -12,10 +13,7 @@ import GoogleIcon from '@Shared/GoogleIcon.vue';
-
+
diff --git a/src/pages/Security/Index.vue b/src/pages/Security/Index.vue
index f0ea0e7..b66675b 100644
--- a/src/pages/Security/Index.vue
+++ b/src/pages/Security/Index.vue
@@ -1,5 +1,6 @@
@@ -12,10 +13,7 @@ import GoogleIcon from '@Shared/GoogleIcon.vue';
-
+
diff --git a/src/router/Index.js b/src/router/Index.js
index cce72fe..69ccfec 100644
--- a/src/router/Index.js
+++ b/src/router/Index.js
@@ -95,24 +95,16 @@ const router = createRouter({
title: 'Inicio',
icon: 'home',
},
- redirect: '/admin/dashboard',
+ redirect: '/admin/employees',
children: [
{
path: 'dashboard',
- name: 'admin.dashboard',
- component: () => import('@Pages/Dashboard/Admin.vue'),
+ name: 'admin.dashboard.index',
meta: {
title: 'Dashboard',
icon: 'grid_view',
},
- redirect: '/admin/dashboard',
- children: [
- {
- path: '',
- name: 'admin.dashboard.index',
- component: () => import('@Pages/Dashboard/Admin.vue'),
- }
- ]
+ component: () => import('@Pages/Dashboard/Admin.vue'),
},
{
path: 'employees',
@@ -127,71 +119,27 @@ const router = createRouter({
path: '',
name: 'admin.employees.index',
component: () => import('@Pages/Employees/Index.vue'),
- }
- ]
- },
- {
- path: 'academic',
- name: 'admin.academic',
- meta: {
- title: 'Historial Académico',
- icon: 'school',
- },
- redirect: '/admin/academic',
- children: [
+ },
{
- path: '',
+ path: 'academic',
name: 'admin.academic.index',
component: () => import('@Pages/Academic/Index.vue'),
- }
- ]
- },
- {
- path: 'security',
- name: 'admin.security',
- meta: {
- title: 'Seguridad y Salud',
- icon: 'security',
- },
- redirect: '/admin/security',
- children: [
+ },
{
- path: '',
+ path: 'security',
name: 'admin.security.index',
component: () => import('@Pages/Security/Index.vue'),
- }
- ]
- },
- {
- path: 'payroll',
- name: 'admin.payroll',
- meta: {
- title: 'Nómina',
- icon: 'payments',
- },
- redirect: '/admin/payroll',
- children: [
+ },
{
- path: '',
+ path: 'payroll',
name: 'admin.payroll.index',
component: () => import('@Pages/Payroll/Index.vue'),
- }
- ]
- },
- {
- path: 'additional',
- name: 'admin.additional',
- meta: {
- title: 'Información Adicional',
- icon: 'info',
- },
- redirect: '/admin/additional',
- children: [
+ },
{
- path: '',
+ path: 'additional',
name: 'admin.additional.index',
component: () => import('@Pages/Additional/Index.vue'),
- }
+ },
]
},
{