This commit is contained in:
Taric Xin
2022-01-25 15:59:01 +08:00
parent 36757adc20
commit f2779a13d6
15 changed files with 235 additions and 80 deletions

View File

@ -245,12 +245,13 @@ export class VehicleComponentsListComponent implements OnInit {
title: '操作',
fixed: 'right',
width: '100px',
className: 'text-left',
className: 'text-center',
buttons: [
{
text: '查看',
acl: { ability: ['VEHICLE-LIST-view'] },
click: item => {
this.router.navigate(['./detail', item.id], { relativeTo: this.ar, queryParams: { carId: item.carId } });
this.router.navigate(['/vehicle/list/detail/' + item.id], { queryParams: { carId: item.carId } });
// this.router.navigate(['./view', item.id], { relativeTo: this.ar, queryParams: { tenantId: item.tenantId } });
}
}