merge partner
This commit is contained in:
@ -19,12 +19,14 @@ import { FreightComponentsListDetailComponent } from './components/freight/list/
|
||||
|
||||
import { FreightComponentsListComponent } from './components/freight/list/list.component';
|
||||
import { FreightComponentsListNewComponent } from './components/freight/list/new/new.component';
|
||||
import { FreightComponentsListViewComponent } from './components/freight/list/view/view.component';
|
||||
import { FreightComponentsUserDetailComponent } from './components/freight/user/detail/detail.component';
|
||||
import { FreightComponentsUserComponent } from './components/freight/user/user.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: 'freight/list', component: FreightComponentsListComponent, data: { guard: { ability: ['USERCENTER-FREIGHT-LIST-list'] } } },
|
||||
// { path: 'freight/list/view/:id', component: FreightComponentsListViewComponent },
|
||||
// data: { guard: { ability: ['USERCENTER-FREIGHT-LIST-list'] } }
|
||||
{ path: 'freight/list/view/:id', component: FreightComponentsListViewComponent },
|
||||
{ path: 'freight/list/new', component: FreightComponentsListNewComponent, data: { guard: { ability: ['USERCENTER-FREIGHT-NEW-save'] } } },
|
||||
{
|
||||
path: 'freight/list/detail/:id',
|
||||
@ -43,7 +45,7 @@ const routes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'freight/config',
|
||||
component: FreightConfigComponent,
|
||||
component: FreightConfigComponent
|
||||
},
|
||||
{ path: 'freight/user', component: FreightComponentsUserComponent, data: { guard: { ability: ['USERCENTER-FREIGHT-USER-list'] } } },
|
||||
{
|
||||
@ -71,7 +73,7 @@ const routes: Routes = [
|
||||
path: 'driver/config',
|
||||
component: UserCenterComponentsDriverConfigComponent,
|
||||
data: { guard: { ability: ['USERCENTER-DRIVER-CAPTAIN-list'] } }
|
||||
},
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
||||
Reference in New Issue
Block a user