货源
This commit is contained in:
@ -622,9 +622,21 @@ export class OrderManagementBulkComponent implements OnInit {
|
|||||||
/**
|
/**
|
||||||
*查看评价
|
*查看评价
|
||||||
*/
|
*/
|
||||||
viewEvaluate(item: any) {
|
viewEvaluate(item: any) {
|
||||||
this.isVisibleEvaluate = true;
|
console.log(item)
|
||||||
this.service.request(this.service.$api_get_billEvaluate, { id: item.id }).subscribe(res => {
|
this.isVisibleEvaluate = true
|
||||||
|
const params = {
|
||||||
|
businessCode: item.billCode,
|
||||||
|
evaluateUserId: item.shipperAppUserId,
|
||||||
|
}
|
||||||
|
const params2 = {
|
||||||
|
businessCode: item.billCode,
|
||||||
|
passiveUserId: item.shipperAppUserId,
|
||||||
|
}
|
||||||
|
this.service.request(this.service.$api_getBillEvaluateByShipper, params).subscribe(res => {
|
||||||
|
console.log(res)
|
||||||
|
});
|
||||||
|
this.service.request(this.service.$api_getBillEvaluateDriverByShipper, params2).subscribe(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -588,7 +588,18 @@ resourceStatus: any;
|
|||||||
viewEvaluate(item: any) {
|
viewEvaluate(item: any) {
|
||||||
console.log(item)
|
console.log(item)
|
||||||
this.isVisibleEvaluate = true
|
this.isVisibleEvaluate = true
|
||||||
this.service.request(this.service.$api_get_billEvaluate, { id: item.id }).subscribe(res => {
|
const params = {
|
||||||
|
businessCode: item.billCode,
|
||||||
|
evaluateUserId: item.shipperAppUserId,
|
||||||
|
}
|
||||||
|
const params2 = {
|
||||||
|
businessCode: item.billCode,
|
||||||
|
passiveUserId: item.shipperAppUserId,
|
||||||
|
}
|
||||||
|
this.service.request(this.service.$api_getBillEvaluateByShipper, params).subscribe(res => {
|
||||||
|
console.log(res)
|
||||||
|
});
|
||||||
|
this.service.request(this.service.$api_getBillEvaluateDriverByShipper, params2).subscribe(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-03 15:31:52
|
* @Date : 2021-12-03 15:31:52
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-01-25 15:09:06
|
* @LastEditTime : 2022-01-25 15:26:23
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\services\\order-management.service.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\services\\order-management.service.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -144,10 +144,10 @@ export class OrderManagementService extends ShipperBaseService {
|
|||||||
// 获取规则抽查分类统计
|
// 获取规则抽查分类统计
|
||||||
public $api_get_getComplianceStatisticalStatus = '/api/sdc/billOperate/getComplianceStatisticalStatus';
|
public $api_get_getComplianceStatisticalStatus = '/api/sdc/billOperate/getComplianceStatisticalStatus';
|
||||||
|
|
||||||
// 查询订单评价表
|
// 货主端-货主查看评价(评价司机的)
|
||||||
// public $api_get_billEvaluate = '/api/sdc/billEvaluate/list/page';
|
public $api_getBillEvaluateByShipper = '/api/sdc/billEvaluate/getBillEvaluateByShipper';
|
||||||
// 查询订单评价表
|
// 货主端-货主查看评价(司机评价货主的)
|
||||||
public $api_get_billEvaluate = '/api/sdc/billEvaluate/get';
|
public $api_getBillEvaluateDriverByShipper = '/api/sdc/billEvaluate/getBillEvaluateDriverByShipper';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user