fix bug
This commit is contained in:
		| @ -4,7 +4,7 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-01-12 13:35:56 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-02-09 17:41:57 | ||||
|  * @LastEditTime : 2022-02-28 14:17:40 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\usercenter\\components\\driver\\driver.component.html | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
| --> | ||||
| @ -45,7 +45,7 @@ | ||||
|       <a (click)="addPromoter(item)"  acl  [acl-ability]="['USERCENTER-DRIVER-LIST-promoter']">{{ item.promotersTelephone || '添加' }}</a> | ||||
|     </ng-template> | ||||
|     <ng-template st-row="carNo" let-item let-index="index"> | ||||
|       <a (click)="addPromoter(item)" >{{ item.carNo  }}</a> | ||||
|       <a (click)="viewCar(item)" >{{ item?.carNo  }}</a> | ||||
|     </ng-template> | ||||
|   </st> | ||||
| </nz-card> | ||||
|  | ||||
| @ -334,6 +334,6 @@ export class UserCenterComponentsDriverComponent implements OnInit { | ||||
|     ]; | ||||
|   } | ||||
|   viewCar(item: any) { | ||||
|     this.router.navigate(['/vehicle/list/detail/' + item.id], { queryParams: { carId: item.carId } }); | ||||
|     this.router.navigate(['/vehicle/list/detail/' + item.carId] ); | ||||
|   } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user