edit
This commit is contained in:
@ -66,8 +66,8 @@ const routes: Routes = [
|
|||||||
{ path: 'receipt-order/detail/:id', component: ReceiptOrderDetailComponent },
|
{ path: 'receipt-order/detail/:id', component: ReceiptOrderDetailComponent },
|
||||||
{ path: 'advance-collection', component: AdvanceCollectionComponent },
|
{ path: 'advance-collection', component: AdvanceCollectionComponent },
|
||||||
{ path: 'advance-collection/detail/:id', component: AdvanceCollectionDetailComponent },
|
{ path: 'advance-collection/detail/:id', component: AdvanceCollectionDetailComponent },
|
||||||
{ path: 'receivable-order', component: ReceivableOrderComponent },
|
{ path: 'receivable-order', component: ReceivableOrderComponent, data: { guard: { ability: ['FINANCIAL-RECEIVABLE-list'] } } },
|
||||||
{ path: 'receivable-order/detail/:id', component: ReceivableOrderDetailComponent },
|
{ path: 'receivable-order/detail/:id', component: ReceivableOrderDetailComponent, data: { guard: { ability: ['FINANCIAL-RECEIVABLE-DETAIL-view'] } } },
|
||||||
{ path: 'payable-order', component: PayableOrderComponent },
|
{ path: 'payable-order', component: PayableOrderComponent },
|
||||||
{ path: 'payable-order/detail/:id', component: PayableOrderDetailComponent },
|
{ path: 'payable-order/detail/:id', component: PayableOrderDetailComponent },
|
||||||
{ path: 'bank-card-management/index', component: CwcBankCardManagementIndexComponent }
|
{ path: 'bank-card-management/index', component: CwcBankCardManagementIndexComponent }
|
||||||
|
|||||||
@ -260,9 +260,9 @@
|
|||||||
<button *ngIf="this.PageStatus == '整车修改'" nz-button nzType="primary" style="margin-left: 48px"
|
<button *ngIf="this.PageStatus == '整车修改'" nz-button nzType="primary" style="margin-left: 48px"
|
||||||
(click)="submitConfirm()" acl [acl-ability]="['SUPPLY-VEHICLE-AMEND-submitChange']">提交修改</button>
|
(click)="submitConfirm()" acl [acl-ability]="['SUPPLY-VEHICLE-AMEND-submitChange']">提交修改</button>
|
||||||
<button nz-button nzType="primary" *ngIf="this.PageStatus == '整车下一单'" (click)="submitConfirm('assign')" acl
|
<button nz-button nzType="primary" *ngIf="this.PageStatus == '整车下一单'" (click)="submitConfirm('assign')" acl
|
||||||
[acl-ability]="['SUPPLY-BULK-PLACEORDER-vehicleDesignate']">指派熟车</button>
|
[acl-ability]="['SUPPLY-VEHICLE-PLACEORDER-vehicleDesignate']">指派熟车</button>
|
||||||
<button *ngIf="this.PageStatus == '整车下一单'" nz-button nzType="primary" style="margin-left: 48px"
|
<button *ngIf="this.PageStatus == '整车下一单'" nz-button nzType="primary" style="margin-left: 48px"
|
||||||
(click)="submitConfirm('publish')" acl
|
(click)="submitConfirm('publish')" acl
|
||||||
[acl-ability]="['SUPPLY-BULK-PLACEORDER-vehicleAnotherOrder']">司机抢单</button>
|
[acl-ability]="['SUPPLY-VEHICLE-PLACEORDER-vehicleAnotherOrder']">司机抢单</button>
|
||||||
</div>
|
</div>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
|||||||
@ -51,6 +51,15 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: 'vehicle-amend/:id',
|
path: 'vehicle-amend/:id',
|
||||||
component: SupplyManagementOnecarPublishComponent,
|
component: SupplyManagementOnecarPublishComponent,
|
||||||
|
data: {
|
||||||
|
guard: {
|
||||||
|
ability: ['SUPPLY-VEHICLE-AMEND-submitChange']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'vehicle-next/:id',
|
||||||
|
component: SupplyManagementOnecarPublishComponent,
|
||||||
data: {
|
data: {
|
||||||
guard: {
|
guard: {
|
||||||
ability: [
|
ability: [
|
||||||
@ -62,21 +71,26 @@ const routes: Routes = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'vehicle-next/:id',
|
path: 'vehicle-release',
|
||||||
component: SupplyManagementOnecarPublishComponent,
|
component: SupplyManagementReleasePublishComponent,
|
||||||
// data: {
|
data: {
|
||||||
// guard: {
|
guard: { ability: ['SUPPLY-VEHICLE-RELEASE-bulkDesignate', 'SUPPLY-VEHICLE-RELEASE-bulkDriverOrder'] }
|
||||||
// ability: [
|
}
|
||||||
// 'SUPPLY-VEHICLE-PLACEORDER-QRCode',
|
},
|
||||||
// 'SUPPLY-VEHICLE-PLACEORDER-vehicleDesignate',
|
{
|
||||||
// 'SUPPLY-VEHICLE-PLACEORDER-vehicleAnotherOrder'
|
path: 'bulk-release',
|
||||||
// ]
|
component: SupplyManagementBulkReleasePublishComponent,
|
||||||
// }
|
data: {
|
||||||
// }
|
guard: { ability: ['SUPPLY-BULK-RELEASE-consignBulkAssign', 'SUPPLY-BULK-RELEASE-consignBulk'] }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'bulk-next/:id',
|
||||||
|
component: SupplyManagementBulkPublishComponent,
|
||||||
|
data: {
|
||||||
|
guard: { ability: ['SUPPLY-BULK-PLACEORDER-vehicleAnotherOrder', 'SUPPLY-BULK-PLACEORDER-vehicleDesignate'] }
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{ path: 'vehicle-release', component: SupplyManagementReleasePublishComponent },
|
|
||||||
{ path: 'bulk-release', component: SupplyManagementBulkReleasePublishComponent },
|
|
||||||
{ path: 'bulk-next/:id', component: SupplyManagementBulkPublishComponent },
|
|
||||||
{ path: 'bulk-amend/:id', component: SupplyManagementBulkPublishComponent }
|
{ path: 'bulk-amend/:id', component: SupplyManagementBulkPublishComponent }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user