This commit is contained in:
wangshiming
2022-04-09 14:38:10 +08:00
parent a39438d7dd
commit 155ca06ef3
4 changed files with 7 additions and 2 deletions

View File

@ -33,7 +33,7 @@
</div>
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="search()" acl [acl-ability]="['INSURANCE-LIST-search']">查询</button>
<button nz-button nzType="primary" [disabled]="false" acl [acl-ability]="['INSURANCE-LIST-export']">导出</button>
<button nz-button nzType="primary" [disabled]="false" acl [acl-ability]="['INSURANCE-LIST-export']" (click)="exprot()">导出</button>
<button nz-button [disabled]="false" (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()">
{{ !_$expand ? '展开' : '收起' }}

View File

@ -561,4 +561,7 @@ export class insuranceManagementListComponent implements OnInit {
changeOrder() {
this.router.navigate(['/insurance-management/list-set', 1]);
}
exprot() {
this.service.downloadFile(this.service.$api_get_asyncExport, { ...this.reqParams, pageSize: -1 });
}
}

View File

@ -29,6 +29,8 @@ export class InsuranceManagementService extends ShipperBaseService {
$api_get_submitAuthInfo = `/api/sdc/premiumInfo/submitAuthInfo`;
// 退保费
$api_get_addINPBillRefundApplication = `/billRefundApplication/addINPBillRefundApplication`;
// 保险费列表数据导出接口
$api_get_asyncExport = `/api/sdc/premiumInfo/asyncExport`;
constructor(public injector: Injector) {
super(injector);

View File

@ -229,6 +229,6 @@ export class ETCInvoicedRequestedComponent implements OnInit {
}
// 导出
exprot() {
this.service.exportStart(this.sf?.value, this.service.$api_get_asyncExportEtcApplyList);
this.service.exportStart({...this.sf?.value, pageSize: -1}, this.service.$api_get_asyncExportEtcApplyList);
}
}