fix bug
This commit is contained in:
@ -126,7 +126,7 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
|
||||
});
|
||||
// 获取评价信息
|
||||
this.service
|
||||
.request(this.service.$api_get_driver_billEvaluate, { evaluateUserId: this.route.snapshot.params.id }, 'POST', false)
|
||||
.request(this.service.$api_get_driver_billEvaluate, { passiveUserId: this.route.snapshot.params.id }, 'POST', false)
|
||||
.subscribe(res => {
|
||||
if (res) {
|
||||
this.billEvaluateList = res;
|
||||
|
||||
@ -109,7 +109,7 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy {
|
||||
|
||||
// 获取评价信息
|
||||
this.service
|
||||
.request(this.service.$api_get_driver_billEvaluate, { evaluateUserId: this.route.snapshot.params.id }, 'POST', false)
|
||||
.request(this.service.$api_get_driver_billEvaluate, { passiveUserId: this.route.snapshot.params.id }, 'POST', false)
|
||||
.subscribe(res => {
|
||||
if (res?.length > 0) {
|
||||
this.service.request(this.service.$api_get_freight_billEvaluate, res).subscribe(billEvaluate => {
|
||||
|
||||
Reference in New Issue
Block a user