fix bug
This commit is contained in:
@ -33,7 +33,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
<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" [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 [disabled]="false" (click)="resetSF()">重置</button>
|
||||||
<button nz-button nzType="link" (click)="expandToggle()">
|
<button nz-button nzType="link" (click)="expandToggle()">
|
||||||
{{ !_$expand ? '展开' : '收起' }}
|
{{ !_$expand ? '展开' : '收起' }}
|
||||||
|
|||||||
@ -561,4 +561,7 @@ export class insuranceManagementListComponent implements OnInit {
|
|||||||
changeOrder() {
|
changeOrder() {
|
||||||
this.router.navigate(['/insurance-management/list-set', 1]);
|
this.router.navigate(['/insurance-management/list-set', 1]);
|
||||||
}
|
}
|
||||||
|
exprot() {
|
||||||
|
this.service.downloadFile(this.service.$api_get_asyncExport, { ...this.reqParams, pageSize: -1 });
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -29,6 +29,8 @@ export class InsuranceManagementService extends ShipperBaseService {
|
|||||||
$api_get_submitAuthInfo = `/api/sdc/premiumInfo/submitAuthInfo`;
|
$api_get_submitAuthInfo = `/api/sdc/premiumInfo/submitAuthInfo`;
|
||||||
// 退保费
|
// 退保费
|
||||||
$api_get_addINPBillRefundApplication = `/billRefundApplication/addINPBillRefundApplication`;
|
$api_get_addINPBillRefundApplication = `/billRefundApplication/addINPBillRefundApplication`;
|
||||||
|
// 保险费列表数据导出接口
|
||||||
|
$api_get_asyncExport = `/api/sdc/premiumInfo/asyncExport`;
|
||||||
|
|
||||||
constructor(public injector: Injector) {
|
constructor(public injector: Injector) {
|
||||||
super(injector);
|
super(injector);
|
||||||
|
|||||||
@ -229,6 +229,6 @@ export class ETCInvoicedRequestedComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
// 导出
|
// 导出
|
||||||
exprot() {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user