fix bug
This commit is contained in:
@ -76,7 +76,7 @@ export class DriverAccountDetailComponent implements OnInit {
|
||||
stChange(e: STChange): void {}
|
||||
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageSize: -1 });
|
||||
this.service.downloadFile(this.service.$api_get_exportAccountBalanceDriverByOperatorPage, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
|
||||
goBack() {
|
||||
|
||||
@ -83,7 +83,7 @@ export class FreightAccountDetailComponent implements OnInit {
|
||||
stChange(e: STChange): void {}
|
||||
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageSize: -1 });
|
||||
this.service.downloadFile(this.service.$api_get_exportAccountBalanceShipperByOperatorPage, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
|
||||
goBack() {
|
||||
|
||||
@ -80,7 +80,7 @@ export class FreightAccountComponent implements OnInit {
|
||||
}
|
||||
|
||||
exportList() {
|
||||
this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_export_shipper);
|
||||
this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportShipperAccountBalanceByOperator);
|
||||
}
|
||||
|
||||
private initSF(): SFSchema {
|
||||
|
||||
@ -66,7 +66,7 @@ export class PlatformAccountDetailComponent implements OnInit {
|
||||
stChange(e: STChange): void {}
|
||||
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageSize: -1 });
|
||||
this.service.downloadFile(this.service.$api_get_exportAccountBalanceByPage, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
|
||||
goBack() {
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
<div nz-col [nzXl]="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)="exportList()"> 导出</button>
|
||||
</div>
|
||||
</div>
|
||||
</nz-card>
|
||||
|
||||
@ -194,4 +194,7 @@ export class PlatformAccountComponent implements OnInit {
|
||||
}
|
||||
];
|
||||
}
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$api_get_exportPlatformAccountBalanceByOperator, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
}
|
||||
|
||||
@ -79,7 +79,7 @@ export class RechargeRecordComponent implements OnInit {
|
||||
}
|
||||
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageSize: -1 });
|
||||
this.service.downloadFile(this.service.$api_get_exportPageByOperator, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
|
||||
private initSF(): SFSchema {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
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)='exportList()'> 导出</button>
|
||||
<button nz-button nzType="link" (click)="expandToggle()">
|
||||
{{ !_$expand ? '展开' : '收起' }}
|
||||
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
||||
|
||||
@ -261,4 +261,7 @@ export class TransactionFlowComponent {
|
||||
}
|
||||
];
|
||||
}
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$api_get_exportAccountBalanceDetailPage, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user