This commit is contained in:
wangshiming
2022-02-28 14:00:19 +08:00
parent a084105110
commit aee194c49a
5 changed files with 12 additions and 6 deletions

View File

@ -44,6 +44,9 @@
<ng-template st-row="promotersTelephone" let-item let-index="index">
<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>
</ng-template>
</st>
</nz-card>

View File

@ -258,7 +258,7 @@ export class UserCenterComponentsDriverComponent implements OnInit {
{ title: '司机姓名', className: 'text-center', index: 'name' , width: 150},
{ title: '手机号', className: 'text-center', index: 'mobile',width: 150 },
{ title: '身份证号码', className: 'text-center', index: 'identityNo', width: 200 },
{ title: '当前车辆', className: 'text-center', index: 'carNo' , width: 200},
{ title: '当前车辆', className: 'text-center', render: 'carNo' , width: 200},
{ title: '驾驶证审核人', className: 'text-center', index: 'approvalUserName' , width: 200},
{ title: '审核时间', className: 'text-center', index: 'approvalTime' , width: 200},
{
@ -333,4 +333,7 @@ export class UserCenterComponentsDriverComponent implements OnInit {
}
];
}
viewCar(item: any) {
this.router.navigate(['/vehicle/list/detail/' + item.id], { queryParams: { carId: item.carId } });
}
}