车辆对接
This commit is contained in:
@ -22,13 +22,18 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
schema: SFSchema = {};
|
||||
schemaView: SFSchema = {};
|
||||
i: any;
|
||||
datailList: any;
|
||||
datailList: any = {
|
||||
complainantName: '',
|
||||
complainantPartyLabel: ''
|
||||
};
|
||||
complaint: any;
|
||||
id: string = '';
|
||||
constructor(private modal: NzModalService, public service: OrderManagementService, public ar: ActivatedRoute) {
|
||||
this.id = this.ar.snapshot.params.id;
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
|
||||
if (this.id)
|
||||
{
|
||||
this.getDetail(this.id);
|
||||
@ -68,7 +73,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
} as SFSelectWidgetSchema,
|
||||
},
|
||||
complainantName: {
|
||||
title: '投诉人',
|
||||
title: '托运方',
|
||||
type: 'string',
|
||||
maxLength: 30,
|
||||
ui: {
|
||||
@ -77,7 +82,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
} as SFSelectWidgetSchema,
|
||||
},
|
||||
complainantPartyLabel: {
|
||||
title: '被投诉人',
|
||||
title: '司机',
|
||||
type: 'string',
|
||||
maxLength: 30,
|
||||
ui: {
|
||||
@ -133,6 +138,10 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
this.service.request(this.service.$api_get_getComplaintDriverDetails, { id }).subscribe(res => {
|
||||
if (res) {
|
||||
this.datailList = res;
|
||||
this.complaint = JSON.parse(this.ar.snapshot.queryParams.detail)
|
||||
this.datailList.complainantName = this.complaint?.shipperAppUserName
|
||||
this.datailList.complainantPartyLabel = this.complaint?.driverIdLabel
|
||||
console.log(this.datailList)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user