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