|
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
|
|
|
import { AuthGuard } from '../auth.guard'
|
|
|
|
import { RoleComponent } from './role/role.component';
|
|
|
|
import { OrganizationComponent } from './organization/organization.component';
|
|
|
|
import { UserComponent } from './user/user.component';
|
|
|
|
import { AnalysisOfTheHostComponent } from './analysis-of-the-host/analysis-of-the-host.component';
|
|
|
|
import { PushComponent } from './push/push.component';
|
|
|
|
import { UpdateOfLicenseComponent } from './update-of-license/update-of-license.component';
|
|
|
|
import { FileOfLicenseComponent } from './file-of-license/file-of-license.component';
|
|
|
|
import { MenuComponent } from './menu/menu.component'
|
|
|
|
const routes: Routes = [
|
|
|
|
{ path: 'organization', component: OrganizationComponent },
|
|
|
|
{ path: 'user', component: UserComponent },
|
|
|
|
{ path: 'role', component: RoleComponent },
|
|
|
|
{ path: 'host', component: AnalysisOfTheHostComponent },
|
|
|
|
{ path: 'push', component: PushComponent },
|
|
|
|
{ path: 'fileOfLicense', component: FileOfLicenseComponent },
|
|
|
|
{ path: 'updateOfLicense', component: UpdateOfLicenseComponent },
|
|
|
|
{ path: 'menu', component: MenuComponent }
|
|
|
|
];
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [RouterModule.forChild(routes)],
|
|
|
|
exports: [RouterModule]
|
|
|
|
})
|
|
|
|
export class SystemRoutingModule { }
|