This commit is contained in:
Taric Xin
2022-01-14 09:37:21 +08:00
parent 35c3135e52
commit 7659770852
8 changed files with 75 additions and 19 deletions

View File

@ -99,8 +99,7 @@ export class DownloadComponentsListComponent implements OnInit {
width: '170px',
className: 'text-center',
buttons: [
{ text: '下载', click: (_record) => this.download(_record), iif: (item) => item.status === 1 },
{ text: '删除', click: (_record) => this.delOne(_record), iif: (item) => item.status !== 0 },
{ text: '下载', click: (_record) => this.download(_record)},
],
},
];

View File

@ -45,8 +45,12 @@ export class DriverAccountComponent implements OnInit {
this.modal.create({
nzTitle: '账户明细',
nzContent: AccountDetailComponent,
nzNoAnimation: true,
nzWidth: 600,
nzComponentParams: {},
nzComponentParams: {
params: { accountType: 2, roleId: item.roleId },
url: '/api/fcc/accountBalance/getDriverAccountBalanceDetailByOperator'
},
nzFooter: null
});
}

View File

@ -52,7 +52,10 @@ export class FreightAccountComponent implements OnInit {
nzContent: AccountDetailComponent,
nzNoAnimation: true,
nzWidth: 600,
nzComponentParams: {},
nzComponentParams: {
params: { accountType: 1, roleId: item.roleId },
url: '/api/fcc/accountBalance/getShipperAccountBalanceDetailByOperator'
},
nzFooter: null
});
}

View File

@ -244,7 +244,7 @@ export class WithdrawalsRecordComponent implements OnInit {
{ title: '提现单号', index: 'refundApplyCode', width: 120 },
{ title: '网络货运人', index: 'ltdName', width: 120 },
{ title: '银行类型', index: 'bankTypeLabel', width: 100 },
{ title: '账户类型', index: 'accountType', width: 100 },
{ title: '账户类型', index: 'bankTypeLabel', width: 100 },
{ title: '账户名称', index: 'bankAccountName', width: 100 },
{ title: '虚拟账户', index: 'virtualAccount', width: 100 },
{ title: '提现金额', index: 'amount', width: 100 },

View File

@ -102,12 +102,18 @@ export class UserCenterComponentsDriverComponent implements OnInit {
}
showAccountDetail(item: any) {
console.log(item);
this.modal.create({
nzTitle: '资金账户',
nzContent: AccountDetailComponent,
nzNoAnimation: true,
nzWidth: 600,
nzComponentParams: { isCanCreate: true },
nzComponentParams: {
isCanCreate: true,
url: '/api/fcc/accountBalance/getDriverAccountDetailByOperator',
params: { accountType: 2, roleId: item.appUserId }
},
nzFooter: null
});
}

View File

@ -74,7 +74,11 @@ export class FreightComponentsListComponent implements OnInit {
nzContent: AccountDetailComponent,
nzNoAnimation: true,
nzWidth: 600,
nzComponentParams: { isCanCreate: true },
nzComponentParams: {
isCanCreate: true,
url: '/api/fcc/accountBalance/getShipperAccountBalanceDetailByOperator',
params: { accountType: 1, roleId: item.appUserId }
},
nzFooter: null
});
}