fix bug
This commit is contained in:
		| @ -1,5 +1,5 @@ | ||||
| import { Component, OnInit, ViewChild } from '@angular/core'; | ||||
| import { Router } from '@angular/router'; | ||||
| import { Router, ActivatedRoute } from '@angular/router'; | ||||
| import { STColumn, STComponent } from '@delon/abc/st'; | ||||
| import { SFComponent, SFDateWidgetSchema, SFSchema, SFSchemaEnum, SFSelectWidgetSchema, SFUISchema } from '@delon/form'; | ||||
| import { ShipperBaseService } from '@shared'; | ||||
| @ -70,6 +70,7 @@ resourceStatus: any; | ||||
|     private modal: NzModalService, | ||||
|     public shipperservice: ShipperBaseService, | ||||
|     public router: Router, | ||||
|     public ar: ActivatedRoute, | ||||
|      ) { } | ||||
|  | ||||
|   /** | ||||
| @ -405,13 +406,20 @@ resourceStatus: any; | ||||
|         width: '130px', | ||||
|         className: 'text-left', | ||||
|         buttons: [ | ||||
|           | ||||
|        | ||||
|           { | ||||
|             text: '运费变更记录', | ||||
|             click: (_record) => this.OpenPrice(_record), | ||||
|             iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '6',  | ||||
|             acl: { ability: ['ORDER-VEHICLE-ChangeApplyList'] }, | ||||
|           }, | ||||
|           { | ||||
|             text: '查看详情 ', | ||||
|             click: (item: any) => { | ||||
|               this.router.navigate(['./vehicle-detail', item.id], { relativeTo: this.ar }); | ||||
|             }, | ||||
|             acl: { ability: ['USERCENTER-FREIGHT-USER-view'] }, | ||||
|           }, | ||||
|           { | ||||
|             text: '查看评价 ', | ||||
|             click: (_record) => this.viewEvaluate(_record), | ||||
|  | ||||
		Reference in New Issue
	
	Block a user