From c829cd3e591d11d9e793b29e8d65f8c301d82f6b Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Wed, 27 Apr 2022 17:07:11 +0800 Subject: [PATCH] edit --- .../customindex/customindex.component.html | 66 +++++++------------ .../operationtable.component.html | 27 ++++---- .../waybill-management-routing.module.ts | 30 +++++++-- 3 files changed, 62 insertions(+), 61 deletions(-) diff --git a/src/app/routes/datatable/components/customtable/customindex/customindex.component.html b/src/app/routes/datatable/components/customtable/customindex/customindex.component.html index b41b90b2..e94c3229 100644 --- a/src/app/routes/datatable/components/customtable/customindex/customindex.component.html +++ b/src/app/routes/datatable/components/customtable/customindex/customindex.component.html @@ -12,88 +12,70 @@
- +
- +
- +
- +
- +
- +
- - + +
- - + [page]="{ show: false, showSize: false, pageSizes: [20, 50, 100] }"> +
货主
合伙人
司机
车辆
-
-
+ +
- +
- +
- +
-
+
\ No newline at end of file diff --git a/src/app/routes/datatable/components/operationtable/operationtable.component.html b/src/app/routes/datatable/components/operationtable/operationtable.component.html index 2d0201a7..b3587bb0 100644 --- a/src/app/routes/datatable/components/operationtable/operationtable.component.html +++ b/src/app/routes/datatable/components/operationtable/operationtable.component.html @@ -1,19 +1,21 @@ - +
- +
- +
- - + +
@@ -25,10 +27,10 @@ [scroll]="{ x: '1200px' }" [res]="{ reName: { list: 'data.records', total: 'data.total' } }" [page]="{ show: true, showSize: true, pageSizes: [20, 50, 100] }" [loading]="service.http.loading"> - +
- +
@@ -37,19 +39,20 @@
- +
-
+ - + \ No newline at end of file diff --git a/src/app/routes/waybill-management/waybill-management-routing.module.ts b/src/app/routes/waybill-management/waybill-management-routing.module.ts index f2b1025f..02fd8d9d 100644 --- a/src/app/routes/waybill-management/waybill-management-routing.module.ts +++ b/src/app/routes/waybill-management/waybill-management-routing.module.ts @@ -15,14 +15,30 @@ import { WaybillManagementVehicleDetailComponent } from './components/vehicle-de import { WaybillManagementVehicleComponent } from './components/vehicle/vehicle.component'; const routes: Routes = [ - { path: 'vehicle', component: WaybillManagementVehicleComponent }, - { path: 'vehicle/vehicle-detail/:id', component: WaybillManagementVehicleDetailComponent }, - { path: 'bulk', component: WaybillManagementBulkComponent }, - { path: 'bulk/bulk-detail/:id', component: WaybillManagementBulkeDetailComponent }, - { path: 'abnormal-appear', component: WaybillManagementAbnormalAppearComponent }, -] + { + path: 'vehicle', + component: WaybillManagementVehicleComponent, + data: { guard: { ability: ['WAYBILL-VEHICLE-search'] } } + }, + { + path: 'vehicle/vehicle-detail/:id', + component: WaybillManagementVehicleDetailComponent, + data: { guard: { ability: ['WAYBILL-VEHICLE-DETAIL-wholeUnloadCarInfo'] } } + }, + { path: 'bulk', component: WaybillManagementBulkComponent, data: { guard: { ability: ['WAYBILL-BULK-search'] } } }, + { + path: 'bulk/bulk-detail/:id', + component: WaybillManagementBulkeDetailComponent, + data: { guard: { ability: ['WAYBILL-BULK-DETAIL-insertBulkStartCarInfo'] } } + }, + { + path: 'abnormal-appear', + component: WaybillManagementAbnormalAppearComponent, + data: { guard: { ability: ['WAYBILL-ABNORMAL-search'] } } + } +]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule] }) -export class WaybillManagementRoutingModule { } +export class WaybillManagementRoutingModule {}