fix bug
This commit is contained in:
@ -32,7 +32,7 @@
|
||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" class="text-right">
|
||||
<button nz-button nzType="primary" [disabled]="!sf.valid" (click)="st?.load(1)">查询</button>
|
||||
<button nz-button (click)="resetSF()">重置</button>
|
||||
<button nz-button (click)="export()" nzType="primary" nzGhost>导出</button>
|
||||
<button nz-button (click)="export()" nzType="primary" acl [acl-ability]="['AM-DETAIL-export']" nzGhost>导出</button>
|
||||
<button nz-button nzType="link" (click)="expandToggle()">
|
||||
{{ !_$expand ? '展开' : '收起' }}
|
||||
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
<sf [schema]="schema" [mode]="'search'" [ui]="ui" [button]="'none'" #sf>
|
||||
<button nz-button nzType="primary" [disabled]="!sf.valid" (click)="st?.load(1)">查询</button>
|
||||
<button nz-button (click)="resetSF()">重置</button>
|
||||
<button nz-button (click)="export()" nzType="primary" nzGhost>导出</button>
|
||||
<button nz-button (click)="export()" nzType="primary" nzGhost acl [acl-ability]="['AM-LIST-export']">导出</button>
|
||||
</sf>
|
||||
|
||||
</nz-card>
|
||||
@ -24,7 +24,7 @@
|
||||
<ng-template st-row="unEntryAmount" let-item>
|
||||
<a class="text-right text-blue-dark"
|
||||
[routerLink]="'/partner/account-management/am/recorded/detail/'+item?.roleId">{{item.unEntryAmount | currency:'
|
||||
'}}</a>
|
||||
'}} acl [acl-ability]="['AM-LIST-unEntryAmount']"</a>
|
||||
</ng-template>
|
||||
<ng-template st-row="availableBalance" let-item>
|
||||
<div class="text-right">{{item.availableBalance | currency:' '}}</div>
|
||||
|
||||
@ -77,6 +77,7 @@ export class PartnerAccountManagementListComponent implements OnInit {
|
||||
buttons: [
|
||||
{
|
||||
text: '虚拟账户明细',
|
||||
acl: { ability: ['AM-LIST-viewVirtual'] },
|
||||
click: (_record) => this.viewVirtual(_record)
|
||||
}
|
||||
]
|
||||
|
||||
@ -92,10 +92,12 @@ export class PartnerAccountManagementRecordedDetailComponent implements OnInit {
|
||||
buttons: [
|
||||
{
|
||||
text: '查看入账记录',
|
||||
acl: { ability: ['AN-RECORDED-DETAIL-viewRecord'] },
|
||||
click: (_record) => this.viewBookedRecord(_record)
|
||||
},
|
||||
{
|
||||
text: '查看账单明细',
|
||||
acl: { ability: ['AN-RECORDED-DETAIL-viewBill'] },
|
||||
click: (_record) => this.viewAccountDetail(_record)
|
||||
},
|
||||
]
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
class="text-right">
|
||||
<button nz-button nzType="primary" (click)="st?.load(1)">查询</button>
|
||||
<button nz-button (click)="resetSF()">重置</button>
|
||||
<button nz-button> 导出</button>
|
||||
<button nz-button acl [acl-ability]="['AM-WITHDRAW-RECORD-export']"> 导出</button>
|
||||
<button nz-button nzType="link" (click)="expandToggle()">
|
||||
{{ !_$expand ? '展开' : '收起' }}
|
||||
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
||||
@ -37,7 +37,7 @@
|
||||
totalCallNo }}</strong>
|
||||
<!-- <a *ngIf="totalCallNo > 0" (click)="st.clearCheck()" class="ml-lg">清空</a> -->
|
||||
</div>
|
||||
<button nz-button (click)="this.auditAction(null)">审核</button>
|
||||
<button nz-button (click)="this.auditAction(null)" acl [acl-ability]="['AM-WITHDRAW-RECORD-audit']">审核</button>
|
||||
</div>
|
||||
</ng-template>
|
||||
|
||||
|
||||
@ -309,6 +309,7 @@ export class PartnerAccountManagementWithdrawalsRecordComponent implements OnIni
|
||||
{
|
||||
text: '查看回单',
|
||||
iif: item => item.refundStatus === '3',
|
||||
acl: { ability: ['AM-WITHDRAW-RECORD-viewRefund'] },
|
||||
click: item =>
|
||||
this.service.getReceiptUrl(item.receiptUrl, {
|
||||
bankType: item.bankType,
|
||||
@ -322,15 +323,18 @@ export class PartnerAccountManagementWithdrawalsRecordComponent implements OnIni
|
||||
{
|
||||
text: '查看原因',
|
||||
iif: item => item.refundStatus === '4',
|
||||
acl: { ability: ['AM-WITHDRAW-RECORD-viewResult'] },
|
||||
click: item => this.showReason(item)
|
||||
},
|
||||
{
|
||||
text: '审核',
|
||||
iif: item => item.refundStatus === '1',
|
||||
acl: { ability: ['AM-WITHDRAW-RECORD-oneAudit'] },
|
||||
click: item => this.auditAction(item)
|
||||
},
|
||||
{
|
||||
text: '详情',
|
||||
acl: { ability: ['AM-WITHDRAW-RECORD-detail'] },
|
||||
click: item => this.router.navigate(['./../detail/' + item.id], { relativeTo: this.ar })
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user