车辆对接
This commit is contained in:
@ -27,6 +27,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
complainantPartyLabel: ''
|
||||
};
|
||||
complaint: any;
|
||||
complaintStatus = false
|
||||
id: string = '';
|
||||
constructor(private modal: NzModalService, public service: OrderManagementService, public ar: ActivatedRoute) {
|
||||
this.id = this.ar.snapshot.params.id;
|
||||
@ -186,6 +187,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
this.service.msgSrv.success('已拒绝!')
|
||||
this.isVisibleRE = false
|
||||
this.getDetail(this.id);
|
||||
this.complaintStatus = true;
|
||||
} else{
|
||||
this.service.msgSrv.error(res?.msg)
|
||||
}
|
||||
@ -205,7 +207,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
this.service.msgSrv.success('已拒绝!')
|
||||
this.isVisibleRE = false
|
||||
this.getDetail(this.id);
|
||||
|
||||
this.complaintStatus = true;
|
||||
} else{
|
||||
this.service.msgSrv.error(res?.msg)
|
||||
}
|
||||
@ -226,8 +228,8 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
if(res) {
|
||||
this.service.msgSrv.success('已通过!')
|
||||
this.isVisibleRE = false
|
||||
this.complaintStatus = true;
|
||||
this.getDetail(this.id);
|
||||
|
||||
} else{
|
||||
this.service.msgSrv.error(res?.msg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user