fix bug
This commit is contained in:
@ -229,7 +229,30 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</div>
|
</div>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
<nz-card *ngIf="!route?.snapshot?.queryParams?.sts">
|
||||||
|
<nz-tabset >
|
||||||
|
<nz-tab nzTitle="风险异常检测">
|
||||||
|
<button nz-button nzType="primary"[disabled]="">申 诉</button>
|
||||||
|
<div>
|
||||||
|
您的订单可能存在交易风险,请及时提交申诉材料,提交成功后,平台将及时完成审核并通知您!
|
||||||
|
</div>
|
||||||
|
<div>如果您的运单没有问题,可以提出申诉,并提供相关资料,我们将24小时内审核反馈</div>
|
||||||
|
<ul *ngFor="let item of abnormalList">
|
||||||
|
<li>系统识别:{{item?.complianceTypeName}}</li>
|
||||||
|
<li>{{item?.determineDetails}},您可在企业端提交申诉材料或联系客服。</li>
|
||||||
|
<li>2021-11-07 03:20:15</li>
|
||||||
|
</ul>
|
||||||
|
</nz-tab>
|
||||||
|
<nz-tab nzTitle="异常预警">
|
||||||
|
<st #st [data]="addressItems" [columns]="logColumns2" [ps]="0" [page]="{ show: false, showSize: false }">
|
||||||
|
</st>
|
||||||
|
</nz-tab>
|
||||||
|
<nz-tab nzTitle="操作日志">
|
||||||
|
<st #st [data]="addressItems" [columns]="logColumns2" [ps]="0" [page]="{ show: false, showSize: false }">
|
||||||
|
</st>
|
||||||
|
</nz-tab>
|
||||||
|
</nz-tabset>
|
||||||
|
</nz-card>
|
||||||
<nz-modal [(nzVisible)]="isVisible" nzWidth="1000px" [nzFooter]="nzModalFooter" [nzTitle]="modalTitle" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel()">
|
<nz-modal [(nzVisible)]="isVisible" nzWidth="1000px" [nzFooter]="nzModalFooter" [nzTitle]="modalTitle" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel()">
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<div *ngIf="!modalcontent">暂无附件信息</div>
|
<div *ngIf="!modalcontent">暂无附件信息</div>
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-28 14:42:03
|
* @Date : 2021-12-28 14:42:03
|
||||||
* @LastEditors : Shiming
|
* @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
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -29,6 +29,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
|||||||
mapList: any[] = []; //地图点位数据组
|
mapList: any[] = []; //地图点位数据组
|
||||||
pois: any[] = [];
|
pois: any[] = [];
|
||||||
addressItems: any[] = []; //打点地址数据组
|
addressItems: any[] = []; //打点地址数据组
|
||||||
|
abnormalList: any[] = [];
|
||||||
i: any = {
|
i: any = {
|
||||||
unLoadingPlaceList: [],
|
unLoadingPlaceList: [],
|
||||||
billExpenseDetails: [],
|
billExpenseDetails: [],
|
||||||
@ -66,7 +67,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
constructor(
|
constructor(
|
||||||
private route: ActivatedRoute,
|
public route: ActivatedRoute,
|
||||||
private msgSrv: NzMessageService,
|
private msgSrv: NzMessageService,
|
||||||
private service: OrderManagementService,
|
private service: OrderManagementService,
|
||||||
private router: Router,
|
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.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() {
|
cancellation() {
|
||||||
|
|||||||
Reference in New Issue
Block a user