You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.4 KiB
30 lines
1.4 KiB
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"; |
|
import { AlgorithmConfigComponent } from "./algorithm-config/algorithm-config.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 }, |
|
{ path: "algorithm", component: AlgorithmConfigComponent }, |
|
]; |
|
|
|
@NgModule({ |
|
imports: [RouterModule.forChild(routes)], |
|
exports: [RouterModule], |
|
}) |
|
export class SystemRoutingModule {}
|
|
|