fix bug
This commit is contained in:
@ -1,3 +1,13 @@
|
|||||||
|
/*
|
||||||
|
* @Description :
|
||||||
|
* @Version : 1.0
|
||||||
|
* @Author : Shiming
|
||||||
|
* @Date : 2022-04-21 13:49:21
|
||||||
|
* @LastEditors : Shiming
|
||||||
|
* @LastEditTime : 2022-04-29 15:25:49
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\logs\\logs-routing.module.ts
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
|
*/
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { SystemLogsComponent } from './components/system-logs/system-logs.component';
|
import { SystemLogsComponent } from './components/system-logs/system-logs.component';
|
||||||
@ -7,11 +17,11 @@ import { UserLogsComponent } from './components/user-logs/user-logs.component';
|
|||||||
import { VersionLogsComponent } from './components/version-logs/version-logs.component';
|
import { VersionLogsComponent } from './components/version-logs/version-logs.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{ path: 'system-logs', component: SystemLogsComponent },
|
{ path: 'system-logs', component: SystemLogsComponent, data: { guard: { ability: ['LOGS-LOGS-list'] } } },
|
||||||
{ path: 'user-logs', component: UserLogsComponent },
|
{ path: 'user-logs', component: UserLogsComponent, data: { guard: { ability: ['LOGS-USER-LOGS-list'] } } },
|
||||||
{ path: 'version-logs', component: VersionLogsComponent },
|
{ path: 'version-logs', component: VersionLogsComponent , data: { guard: { ability: ['LOGS-VERSION-LOGS-list'] } }},
|
||||||
{ path: 'system-supply-logs', component: SystemSupplyLogsComponent },
|
{ path: 'system-supply-logs', component: SystemSupplyLogsComponent , data: { guard: { ability: ['LOGS-SUPPLY-LOGS-list'] } }},
|
||||||
{ path: 'system-waybill-logs', component: SystemWaybillLogsComponent }
|
{ path: 'system-waybill-logs', component: SystemWaybillLogsComponent , data: { guard: { ability: ['LOGS-WAYBILL-LOGS-list'] } }}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-13 19:22:47
|
* @Date : 2022-01-13 19:22:47
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-03-30 14:09:00
|
* @LastEditTime : 2022-04-29 15:26:30
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\routes-routing.module.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\routes-routing.module.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -42,7 +42,6 @@ const routes: Routes = [
|
|||||||
{ path: 'system', loadChildren: () => import('./sys-setting/sys-setting.module').then(m => m.SysSettingModule) },
|
{ path: 'system', loadChildren: () => import('./sys-setting/sys-setting.module').then(m => m.SysSettingModule) },
|
||||||
{ path: 'logs', loadChildren: () => import('./logs/logs.module').then(m => m.LogsModule) },
|
{ path: 'logs', loadChildren: () => import('./logs/logs.module').then(m => m.LogsModule) },
|
||||||
{ path: 'ticket', loadChildren: () => import('./ticket-management/ticket-management.module').then(m => m.TicketManagementModule) },
|
{ path: 'ticket', loadChildren: () => import('./ticket-management/ticket-management.module').then(m => m.TicketManagementModule) },
|
||||||
{ path: 'supplygoods', loadChildren: () => import('./supply-goods/supply-goods.module').then(m => m.SupplyGoodsModule) },
|
|
||||||
{ path: 'vehicle', loadChildren: () => import('./vehicle/vehicle.module').then(m => m.VehicleModule) },
|
{ path: 'vehicle', loadChildren: () => import('./vehicle/vehicle.module').then(m => m.VehicleModule) },
|
||||||
{
|
{
|
||||||
path: 'supply-management',
|
path: 'supply-management',
|
||||||
|
|||||||
Reference in New Issue
Block a user