fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2021-12-28 14:42:03
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-03-23 14:45:58
|
||||
* @LastEditTime : 2022-03-29 16:08:56
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -29,6 +29,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
||||
mapList: any[] = []; //地图点位数据组
|
||||
pois: any[] = [];
|
||||
addressItems: any[] = []; //打点地址数据组
|
||||
abnormalList: any[] = [];
|
||||
i: any = {
|
||||
unLoadingPlaceList: [],
|
||||
billExpenseDetails: [],
|
||||
@ -66,7 +67,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
||||
}
|
||||
];
|
||||
constructor(
|
||||
private route: ActivatedRoute,
|
||||
public route: ActivatedRoute,
|
||||
private msgSrv: NzMessageService,
|
||||
private service: OrderManagementService,
|
||||
private router: Router,
|
||||
@ -102,6 +103,19 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
||||
this.i.scheduleVOList = this.i?.scheduleVOList?.filter((data: any) => data.displayStatus !== 'HIDE');
|
||||
}
|
||||
});
|
||||
this.service.request(this.service.$api_listBillComplianceAbnormalByBillId, { id: this.id }).subscribe(res => {
|
||||
if (res) {
|
||||
console.log('风险详情')
|
||||
console.log(res)
|
||||
this.abnormalList = res
|
||||
}
|
||||
});
|
||||
this.service.request(this.service.$api_getAbnormalWarningByBillId, { id: this.id }).subscribe(res => {
|
||||
if (res) {
|
||||
console.log('异常预警')
|
||||
console.log(res)
|
||||
}
|
||||
});
|
||||
}
|
||||
// 取消订单
|
||||
cancellation() {
|
||||
|
||||
Reference in New Issue
Block a user