Fernanda Zavala Alpuche 3 лет назад
Родитель
Сommit
917c81a324
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      sistema-mantenimiento-front/src/app/app-routing.module.ts

+ 6 - 0
sistema-mantenimiento-front/src/app/app-routing.module.ts

@@ -19,6 +19,8 @@ import { GETBGMComponent } from './components/getb/getbgm/getbgm.component';
 import { GETBSBComponent } from './components/getb/getbsb/getbsb.component';
 import { GETBMEComponent } from './components/getb/getbme/getbme.component';
 import { GETBREComponent } from './components/getb/getbre/getbre.component';
+import { GetbtbComponent } from './components/getb/getbtb/getbtb.component';
+import { GETBTBFORMComponent } from './components/getb/getbtb/getbtb-form/getbtb-form.component';
 
 // Módulo: Gestión de Adquisiciones //
 import { MGADComponent } from './components/mgad/mgad.component';
@@ -82,6 +84,7 @@ import { FaAgregarFacturaComponent } from './components/mgad/smfa/fa-facturas-pe
 import { FaInformacionFacturaComponent } from './components/mgad/smfa/fa-facturas-pendientes/fa-informacion-factura/fa-informacion-factura.component';
 
 const routes: Routes = [
+  { path: '', redirectTo:'/login', pathMatch: 'full'},
   { path: 'login', component: LoginComponent, canActivate: [LoginGuard] },
   {
     path: 'sam', component: TemplateComponent, canActivate: [AuthGuard],
@@ -97,6 +100,8 @@ const routes: Routes = [
       { path: 'getbsb', component: GETBSBComponent},
       { path: 'getbme', component: GETBMEComponent},
       { path: 'getbre', component: GETBREComponent},
+      { path: 'getbtb', component: GetbtbComponent},
+      { path: 'getbtb-create', component: GETBTBFORMComponent},
 
       { path: 'template-menu', component: Plantilla1Component},
       { path: 'template-table', component: Plantilla2Component},
@@ -162,6 +167,7 @@ const routes: Routes = [
       { path: 'agregar-factura', component: FaAgregarFacturaComponent},
       { path: 'informacion-factura', component: FaInformacionFacturaComponent},
 
+      { path: 'template-form', component: Plantilla3Component}
     ]
   }
 ];