fix bug
This commit is contained in:
@ -55,7 +55,34 @@ export class InsuranceManagementService extends ShipperBaseService {
|
||||
// }
|
||||
// a.remove();
|
||||
}
|
||||
|
||||
// getReceiptUrl(url: string, params: any) {
|
||||
// const { bankType, snglFlgCd } = params;
|
||||
// if (url) {
|
||||
// if (params?.bankType === '1') {
|
||||
// window.open(params?.receiptUrl);
|
||||
// } else if (params?.bankType === '2') {
|
||||
// window.open(url);
|
||||
// // this.exportFile({ bankType, receiptUrl: url, bankSerialNumber: snglFlgCd }, this.$api_download_receipt_apply_byte);
|
||||
// }
|
||||
// } else {
|
||||
// this.request(this.$api_download_receipt_apply, { ...params }).subscribe(res => {
|
||||
// if (res?.receiptUrl) {
|
||||
// if (bankType === '1') {
|
||||
// window.open(res?.receiptUrl);
|
||||
// } else if (bankType === '2') {
|
||||
// window.open(res?.receiptUrl);
|
||||
// // this.downloadFile(this.$api_download_receipt_apply_byte, {
|
||||
// // bankType,
|
||||
// // receiptUrl: res.receiptUrl,
|
||||
// // bankSerialNumber: snglFlgCd
|
||||
// // });
|
||||
// }
|
||||
// } else {
|
||||
// this.msgSrv.warning(res.statusMsg || '获取回单失败');
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
// }
|
||||
constructor(public injector: Injector) {
|
||||
super(injector);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user