|
@@ -1,10 +1,12 @@
|
|
|
import { Routes } from '@angular/router';
|
|
import { Routes } from '@angular/router';
|
|
|
import { DashboardComponent } from './dashboard/dashboard.component';
|
|
import { DashboardComponent } from './dashboard/dashboard.component';
|
|
|
|
|
+import { ApprovalComponent } from 'fis/approval/approval.component';
|
|
|
|
|
|
|
|
export const routes: Routes = [
|
|
export const routes: Routes = [
|
|
|
{ path: '', redirectTo: '/dashboard', pathMatch: 'full' },
|
|
{ path: '', redirectTo: '/dashboard', pathMatch: 'full' },
|
|
|
{ path:'dashboard', component: DashboardComponent, data: {title: 'FIS'}},
|
|
{ path:'dashboard', component: DashboardComponent, data: {title: 'FIS'}},
|
|
|
{ path:'auth', loadChildren: () => import('angularlib/login/login.module').then(m => m.LoginModule)},
|
|
{ path:'auth', loadChildren: () => import('angularlib/login/login.module').then(m => m.LoginModule)},
|
|
|
{ path:'tender', loadChildren: () => import('fis/tender/tender.module').then(m => m.TenderModule)},
|
|
{ path:'tender', loadChildren: () => import('fis/tender/tender.module').then(m => m.TenderModule)},
|
|
|
- { path:'leave', loadChildren: () => import('fis/leave/leave.module').then(m => m.LeaveModule)}
|
|
|
|
|
|
|
+ { path:'leave', loadChildren: () => import('fis/leave/leave.module').then(m => m.LeaveModule)},
|
|
|
|
|
+ { path:'approval',component: ApprovalComponent, data: {title: 'Approval'}},
|
|
|
];
|
|
];
|