edit
This commit is contained in:
@ -49,7 +49,7 @@ export class AdvanceCollectionComponent implements OnInit {
|
||||
}
|
||||
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageIndex: this.st.pi, pageSize: this.st.ps });
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
|
||||
private initSF(): SFSchema {
|
||||
|
||||
@ -90,7 +90,7 @@ export class CostManagementComponent implements OnInit {
|
||||
}
|
||||
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageIndex: this.st.pi, pageSize: this.st.ps });
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
|
||||
routeTo(url: string, params?: any, status?: any) {
|
||||
@ -188,7 +188,7 @@ export class CostManagementComponent implements OnInit {
|
||||
searchLoadingText: '搜索中...',
|
||||
allowClear: true,
|
||||
onSearch: (q: any) => {
|
||||
let str =q.replace(/^\s+|\s+$/g,"");
|
||||
let str = q.replace(/^\s+|\s+$/g, '');
|
||||
if (str) {
|
||||
return this.service
|
||||
.request(this.service.$api_enterpriceList, { enterpriseName: str })
|
||||
@ -213,10 +213,10 @@ export class CostManagementComponent implements OnInit {
|
||||
searchLoadingText: '搜索中...',
|
||||
allowClear: true,
|
||||
onSearch: (q: any) => {
|
||||
let str =q.replace(/^\s+|\s+$/g,"");
|
||||
let str = q.replace(/^\s+|\s+$/g, '');
|
||||
if (str) {
|
||||
return this.service
|
||||
.request(this.service.$api_enterpriceList, { enterpriseName: str})
|
||||
.request(this.service.$api_enterpriceList, { enterpriseName: str })
|
||||
.pipe(map((res: any) => (res as any[]).map(i => ({ label: i.enterpriseName, value: i.id } as SFSchemaEnum))))
|
||||
.toPromise();
|
||||
} else {
|
||||
@ -302,13 +302,13 @@ export class CostManagementComponent implements OnInit {
|
||||
{
|
||||
text: '浏览',
|
||||
click: item => this.routeTo('/financial-management/cost-management/detail/' + item.id, { status: item?.feetypeLabel }),
|
||||
acl: { ability: ['FINANCIAL-COST-view'] },
|
||||
acl: { ability: ['FINANCIAL-COST-view'] }
|
||||
},
|
||||
{
|
||||
text: '审核',
|
||||
click: item => this.auditAction(item),
|
||||
iif: item => item.sts === 2,
|
||||
acl: { ability: ['FINANCIAL-COST-audit'] },
|
||||
acl: { ability: ['FINANCIAL-COST-audit'] }
|
||||
}
|
||||
// {
|
||||
// text: '修改',
|
||||
|
||||
@ -74,7 +74,7 @@ export class DriverAccountDetailComponent implements OnInit {
|
||||
stChange(e: STChange): void {}
|
||||
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageIndex: this.st.pi, pageSize: this.st.ps });
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
|
||||
goBack() {
|
||||
|
||||
@ -74,7 +74,7 @@ export class DriverAccountComponent implements OnInit {
|
||||
}
|
||||
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageIndex: this.st.pi, pageSize: this.st.ps });
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
|
||||
private initSF(): SFSchema {
|
||||
|
||||
@ -74,7 +74,7 @@ export class FreightAccountDetailComponent implements OnInit {
|
||||
stChange(e: STChange): void {}
|
||||
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageIndex: this.st.pi, pageSize: this.st.ps });
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
|
||||
goBack() {
|
||||
|
||||
@ -80,7 +80,7 @@ export class FreightAccountComponent implements OnInit {
|
||||
}
|
||||
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageIndex: this.st.pi, pageSize: this.st.ps });
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
|
||||
private initSF(): SFSchema {
|
||||
@ -171,7 +171,7 @@ export class FreightAccountComponent implements OnInit {
|
||||
{ title: '联系人', width: 120, index: 'name' },
|
||||
{ title: '联系人电话', width: 140, index: 'phone' },
|
||||
{ title: '网络货运人', width: 140, index: 'ltdName' },
|
||||
{ title: '银行类型',width: 120, index: 'bankTypeLabel' },
|
||||
{ title: '银行类型', width: 120, index: 'bankTypeLabel' },
|
||||
{ title: '虚拟账户', width: 140, index: 'virtualAccount' },
|
||||
{
|
||||
title: '可用余额',
|
||||
@ -199,7 +199,7 @@ export class FreightAccountComponent implements OnInit {
|
||||
{
|
||||
title: '状态',
|
||||
index: 'stateDeletedLabel',
|
||||
width: 80,
|
||||
width: 80
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
|
||||
@ -65,7 +65,7 @@ export class PlatformAccountDetailComponent implements OnInit {
|
||||
stChange(e: STChange): void {}
|
||||
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageIndex: this.st.pi, pageSize: this.st.ps });
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
|
||||
goBack() {
|
||||
|
||||
@ -49,7 +49,7 @@ export class RechargeRecordComponent implements OnInit {
|
||||
}
|
||||
|
||||
exportList() {
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageIndex: this.st.pi, pageSize: this.st.ps });
|
||||
this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageSize: -1 });
|
||||
}
|
||||
|
||||
private initSF(): SFSchema {
|
||||
|
||||
Reference in New Issue
Block a user