-
This commit is contained in:
		@ -91,14 +91,26 @@ export class DatatableReportingVerifyResultComponent implements OnInit {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  update() {
 | 
					  update() {
 | 
				
			||||||
    if (this.record?.billType === '1') {
 | 
					    switch (this?.subjectType) {
 | 
				
			||||||
      window.open(location.origin + `/#/order-management/vehicle-detailChange/${this.record?.id}`)
 | 
					      case 2:
 | 
				
			||||||
 | 
					        this.openNewPage(`/usercenter/driver/detail/${this.record?.driverId}`);
 | 
				
			||||||
    } else if (this.record.billType === '2') {
 | 
					        break;
 | 
				
			||||||
      window.open(location.origin + `/#/order-management/bulk-detailChange/${this.record?.id}`);
 | 
					      case 3:
 | 
				
			||||||
 | 
					        if (this.record?.billType === '1') {
 | 
				
			||||||
 | 
					          this.openNewPage(`/order-management/vehicle-detailChange/${this.record?.orderId}`);
 | 
				
			||||||
 | 
					        } else if (this.record.billType === '2') {
 | 
				
			||||||
 | 
					          this.openNewPage(`/order-management/bulk-detailChange/${this.record?.orderId}`);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        break;
 | 
				
			||||||
 | 
					      case 4:
 | 
				
			||||||
 | 
					        this.openNewPage(`/vehicle/list/detail/${this.record?.carId}`);
 | 
				
			||||||
 | 
					        break;
 | 
				
			||||||
 | 
					      default:
 | 
				
			||||||
 | 
					        break;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -119,4 +131,8 @@ export class DatatableReportingVerifyResultComponent implements OnInit {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  openNewPage(url: string) {
 | 
				
			||||||
 | 
					    window.open(location.origin + `/#` + url);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user