This commit is contained in:
Taric Xin
2022-02-16 11:10:16 +08:00
parent 693c2b5cd5
commit 769eee319e
5 changed files with 133 additions and 36 deletions

View File

@ -53,6 +53,7 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
@ViewChild('rejectedDriverModal', { static: false })
rejectedDriverModal!: any;
adressCodeList: any = [];
billEvaluateList: any = [];
approvalOpinion = '';
isEditUser = false;
@ -125,6 +126,16 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
this.carList = res;
}
});
// 获取评价信息
this.service
.request(this.service.$api_get_driver_billEvaluate, { passiveUserId: this.route.snapshot.params.id }, 'POST', false)
.subscribe(res => {
if (res) {
this.billEvaluateList = res;
console.log(this.billEvaluateList);
}
});
}
/** 启用/冻结司机 */