This commit is contained in:
wangshiming
2022-04-08 17:40:35 +08:00
parent 7d1dfbd558
commit 769f660e3a
10 changed files with 31 additions and 8 deletions

View File

@ -76,7 +76,7 @@ export class DriverAccountDetailComponent implements OnInit {
stChange(e: STChange): void {} stChange(e: STChange): void {}
exportList() { 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() { goBack() {

View File

@ -83,7 +83,7 @@ export class FreightAccountDetailComponent implements OnInit {
stChange(e: STChange): void {} stChange(e: STChange): void {}
exportList() { 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() { goBack() {

View File

@ -80,7 +80,7 @@ export class FreightAccountComponent implements OnInit {
} }
exportList() { 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 { private initSF(): SFSchema {

View File

@ -66,7 +66,7 @@ export class PlatformAccountDetailComponent implements OnInit {
stChange(e: STChange): void {} stChange(e: STChange): void {}
exportList() { 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() { goBack() {

View File

@ -46,7 +46,7 @@
<div nz-col [nzXl]="6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right"> <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 nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button> 导出</button> <button nz-button (click)="exportList()"> 导出</button>
</div> </div>
</div> </div>
</nz-card> </nz-card>

View File

@ -194,4 +194,7 @@ export class PlatformAccountComponent implements OnInit {
} }
]; ];
} }
exportList() {
this.service.downloadFile(this.service.$api_get_exportPlatformAccountBalanceByOperator, { ...this.sf.value, pageSize: -1 });
}
} }

View File

@ -79,7 +79,7 @@ export class RechargeRecordComponent implements OnInit {
} }
exportList() { 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 { private initSF(): SFSchema {

View File

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

View File

@ -261,4 +261,7 @@ export class TransactionFlowComponent {
} }
]; ];
} }
exportList() {
this.service.downloadFile(this.service.$api_get_exportAccountBalanceDetailPage, { ...this.sf.value, pageSize: -1 });
}
} }

View File

@ -4,7 +4,7 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2022-01-18 15:57:44 * @Date : 2022-01-18 15:57:44
* @LastEditors : Shiming * @LastEditors : Shiming
* @LastEditTime : 2022-01-26 16:53:11 * @LastEditTime : 2022-04-08 17:30:12
* @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\services\\freight-account.service.ts * @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\services\\freight-account.service.ts
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
*/ */
@ -137,6 +137,23 @@ export class FreightAccountService extends ShipperBaseService {
// 根据预收款ID获取核销信息明细 // 根据预收款ID获取核销信息明细
$api_get_advance_collection_hrxiao = '/api/fcc/ficoAhxH/getAhxHByYskblaId'; $api_get_advance_collection_hrxiao = '/api/fcc/ficoAhxH/getAhxHByYskblaId';
// 运营导出充值信息 充值记录导出
$api_get_exportPageByOperator = '/api/fcc/rechargeInfo/exportPageByOperator';
// 运营端导出交易流水明细
$api_get_exportAccountBalanceDetailPage = '/api/fcc/accountBalanceDetail/exportAccountBalanceDetailPage';
// 运营端导出平台账户余额交易明细
$api_get_exportAccountBalanceByPage = '/api/fcc/accountBalanceDetail/exportAccountBalanceByPage';
// 运营端导出司机账户余额交易明细
$api_get_exportAccountBalanceDriverByOperatorPage = '/api/fcc/accountBalanceDetail/exportAccountBalanceDriverByOperatorPage';
// 运营端导出货主账户余额交易明细
$api_get_exportAccountBalanceShipperByOperatorPage = '/api/fcc/accountBalanceDetail/exportAccountBalanceShipperByOperatorPage';
// 运营端导出导出货主账户
$api_get_exportShipperAccountBalanceByOperator = '/api/fcc/accountBalance/exportShipperAccountBalanceByOperator';
// 运营端导出导出平台账户信息
$api_get_exportPlatformAccountBalanceByOperator = '/api/fcc/accountBalance/exportPlatformAccountBalanceByOperator';
constructor(public injector: Injector) { constructor(public injector: Injector) {
super(injector); super(injector);
} }