This commit is contained in:
wangshiming
2022-04-11 16:49:00 +08:00
parent 57d87a6bca
commit 0690582b2c
3 changed files with 8 additions and 2 deletions

View File

@ -32,7 +32,7 @@
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right">
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
<button nz-button (click)="resetSF()">重置</button>
<button nz-button> 导出</button>
<button nz-button (click)="exprot()"> 导出</button>
<button nz-button nzType="link" (click)="expandToggle()">
{{ !_$expand ? '展开' : '收起' }}
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>

View File

@ -200,7 +200,7 @@ export class WithdrawalsRecordComponent {
type: 'string',
title: '账户名称',
ui: {
placeholder: '请输入',
placeholder: '请输入'
}
},
accountType: {
@ -302,4 +302,8 @@ export class WithdrawalsRecordComponent {
}
];
}
// 导出
exprot() {
this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_asyncExportRefundApplicationList);
}
}

View File

@ -164,6 +164,8 @@ export class FreightAccountService extends ShipperBaseService {
$api_get_asyncExportBillRefundApplicationList = '/api/fcc/billRefundApplication/asyncExportBillRefundApplicationList';
// 异步导出运营后台支付记录列表
$api_get_asyncExportBillPaymentApplicationList = '/api/fcc/billPaymentApplicationOBC/asyncExportBillPaymentApplicationList';
// 异步导出运营后台提现记录
$api_get_asyncExportRefundApplicationList = '/api/fcc/refundApplicationOBC/asyncExportRefundApplicationList';
constructor(public injector: Injector) {
super(injector);