import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {SystemOrganizationComponent} from './system-organization/system-organization.component';
import {SystemRoleComponent} from './system-role/system-role.component';
import {SystemRoleShowComponent} from './system-role-show/system-role-show.component';
import {SystemUserComponent} from './system-user/system-user.component';
import {PermissionComponent} from './permission/permission.component';
import {MenuComponent} from './menu/menu.component';
import {PositionRelComponent} from './position-rel/position-rel.component';
import {SinopecConfigComponent} from './sinopec-config/sinopec-config.component';
import {SinopecEditComponent} from './sinopec-edit/sinopec-edit.component';
import {OilsDiscountComponent} from './oils-discount/oils-discount.component';

const routes: Routes = [
  { path: 'systemorganization', component: SystemOrganizationComponent},
  { path: 'systemrole', component: SystemRoleComponent},
  { path: 'systemrole-show', component: SystemRoleShowComponent},
  { path: 'systemuser', component: SystemUserComponent },
  { path: 'menu', component: MenuComponent },
  { path: 'permission', component: PermissionComponent },
  { path: 'positionrel', component: PositionRelComponent },
  { path: 'sinopec-config', component: SinopecConfigComponent },
  { path: 'sinopec-edit', component: SinopecEditComponent },
  { path: 'oils-discount', component: OilsDiscountComponent },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class SystemRoutingModule { }
