1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

Починка добавления сотрудникаv2

This commit is contained in:
MoonTestUse1
2025-01-02 05:33:05 +06:00
parent 9dab06d2b9
commit 7473298ba1
3 changed files with 31 additions and 14 deletions

View File

@@ -29,6 +29,18 @@ const router = createRouter({
name: 'admin-dashboard',
component: () => import('@/views/AdminDashboardView.vue'),
meta: { requiresAdmin: true }
},
{
path: '/admin/employees',
name: 'admin-employees',
component: () => import('@/views/admin/EmployeesView.vue'),
meta: { requiresAdmin: true }
},
{
path: '/admin/employees/add',
name: 'admin-employees-add',
component: () => import('@/views/admin/AddEmployeeView.vue'),
meta: { requiresAdmin: true }
}
]
});