25 lines
1.0 KiB
TypeScript
25 lines
1.0 KiB
TypeScript
/*
|
|
* @Description :
|
|
* @Version : 1.0
|
|
* @Author : Shiming
|
|
* @Date : 2022-01-06 09:24:00
|
|
* @LastEditors : Shiming
|
|
* @LastEditTime : 2022-04-20 10:16:09
|
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\insurance-management\\insurance-management-routing.module.ts
|
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
|
*/
|
|
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import { insuranceManagementListComponent } from './components/list/list.component';
|
|
import { insuranceManagementSetComponent } from './components/set/set.component';
|
|
|
|
const routes: Routes = [
|
|
{ path: 'list', component: insuranceManagementListComponent, data: { guard: { ability: ['INSURANCE-LIST-search'] } } },
|
|
{ path: 'list-set', component: insuranceManagementSetComponent, data: { guard: { ability: ['INSURANCE-LISTDETAIL-set'] } } }
|
|
];
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class InsuranceManagementRoutingModule {}
|