pad端六熟悉
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.
 
 
 
 

33 lines
1.3 KiB

/*
* @Descripttion:
* @version:
* @Author: sueRimn
* @Date: 2020-11-05 15:00:14
* @LastEditors: sueRimn
* @LastEditTime: 2020-11-06 10:38:22
*/
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {KeyUnitManagementComponent} from './key-unit-management/key-unit-management.component'
import { EditUnitInfoComponent } from './edit-unit-info/edit-unit-info.component';
import { ViewUnitDetailsComponent } from './view-unit-details/view-unit-details.component';
import {MTokenK1Component} from '../m-token-k1/m-token-k1.component' //K1秘钥
import { EditPlanInfoComponent } from './edit-plan-info/edit-plan-info.component';
import { ViewUnitDetailsPlanComponent } from './view-unit-details-plan/view-unit-details-plan.component';
import { from } from 'rxjs';
const routes: Routes = [
{ path: '', component: KeyUnitManagementComponent},
{ path: 'editunitinfo', component: EditUnitInfoComponent,},//守卫验证,canActivate: [MTokenK1Component]
{ path: 'viewunitinfo', component: ViewUnitDetailsComponent},
{ path: 'editplaninfo', component: EditPlanInfoComponent},
{ path: 'viewunitinfoplan', component: ViewUnitDetailsPlanComponent}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class KeyUnitRoutingModule { }