UI
This commit is contained in:
@ -1,9 +1,8 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
import { STComponent, STColumn, STRequestOptions, STChange } from '@delon/abc/st';
|
||||
import { SFComponent, SFSchema, SFDateWidgetSchema } from '@delon/form';
|
||||
import { SFSchema, SFDateWidgetSchema } from '@delon/form';
|
||||
import { SearchDrawerService } from '@shared';
|
||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||
import { BasicTableComponent } from 'src/app/routes/commom';
|
||||
import { FreightAccountService } from '../../services/freight-account.service';
|
||||
|
||||
@ -12,7 +11,7 @@ import { FreightAccountService } from '../../services/freight-account.service';
|
||||
templateUrl: './voucher-management.component.html',
|
||||
styleUrls: ['../../../commom/less/commom-table.less']
|
||||
})
|
||||
export class VoucherManagementComponent extends BasicTableComponent implements OnInit {
|
||||
export class VoucherManagementComponent extends BasicTableComponent {
|
||||
@ViewChild('st', { static: true })
|
||||
st!: STComponent;
|
||||
@ViewChild('auditModal', { static: false })
|
||||
@ -25,8 +24,6 @@ export class VoucherManagementComponent extends BasicTableComponent implements O
|
||||
super(searchDrawerService);
|
||||
}
|
||||
|
||||
ngOnInit(): void {}
|
||||
|
||||
search() {
|
||||
this.st?.load(1);
|
||||
}
|
||||
|
||||
@ -66,8 +66,10 @@
|
||||
<a *ngIf="totalCallNo > 0" (click)="st.clearCheck();totalCallNo=0" class="ml-lg">清空</a>
|
||||
</div>
|
||||
<button nz-button nzDanger [nzLoading]="service.http.loading" (click)="openDrawer()">筛选</button>
|
||||
<button nz-button nzDanger (click)="exprot()"> 导出</button>
|
||||
<button nz-button (click)="this.auditAction(null)">审核</button>
|
||||
<button nz-button nzDanger (click)="exprot()" acl [acl-ability]="['FINANCIAL-WITHDRAWALS-export']">
|
||||
导出</button>
|
||||
<button nz-button (click)="this.auditAction(null)" acl
|
||||
[acl-ability]="['FINANCIAL-WITHDRAWALS-audit']">审核</button>
|
||||
</div>
|
||||
</ng-template>
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { Component, ViewChild } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
import { STComponent, STColumn, STChange, STRequestOptions } from '@delon/abc/st';
|
||||
import { SFComponent, SFSchema, SFDateWidgetSchema } from '@delon/form';
|
||||
import { SFSchema, SFDateWidgetSchema } from '@delon/form';
|
||||
import { SearchDrawerService } from '@shared';
|
||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||
import { BasicTableComponent } from 'src/app/routes/commom';
|
||||
@ -48,7 +48,7 @@ export class WithdrawalsRecordComponent extends BasicTableComponent {
|
||||
createTime: {
|
||||
start: this.sf?.value.createTime?.[0] || '',
|
||||
end: this.sf?.value.createTime?.[1] || ''
|
||||
},
|
||||
}
|
||||
});
|
||||
}
|
||||
delete requestOptions?.body?.expand;
|
||||
@ -187,13 +187,13 @@ export class WithdrawalsRecordComponent extends BasicTableComponent {
|
||||
type: 'string',
|
||||
title: '账户类型',
|
||||
enum: [
|
||||
{label: '全部', value: ''},
|
||||
{label: '个人合伙人', value: '4'},
|
||||
{label: '企业合伙人', value: '5'}
|
||||
{ label: '全部', value: '' },
|
||||
{ label: '个人合伙人', value: '4' },
|
||||
{ label: '企业合伙人', value: '5' }
|
||||
],
|
||||
ui: {
|
||||
widget: 'select',
|
||||
placeholder: '请选择',
|
||||
placeholder: '请选择'
|
||||
}
|
||||
},
|
||||
ltdId: {
|
||||
|
||||
Reference in New Issue
Block a user