This commit is contained in:
Taric Xin
2021-12-20 15:15:13 +08:00
parent c3f31cc224
commit bce661246c
15 changed files with 272 additions and 124 deletions

View File

@ -82,11 +82,11 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
}
});
// 获取载具信息
// this.service.request(this.service.$api_get_driver_car_license, { appUserId: this.route.snapshot.params.id }).subscribe(res => {
// if (res) {
// this.carList = res;
// }
// });
this.service.request(this.service.$api_get_driver_car_license, { appUserId: [this.route.snapshot.params.id] }).subscribe(res => {
if (res) {
this.carList = res;
}
});
}
/** 启用/冻结司机 */