diff --git a/src/app/routes/sys-setting/components/network-freight/network-freight.component.ts b/src/app/routes/sys-setting/components/network-freight/network-freight.component.ts index ec676d98..60d0edb2 100644 --- a/src/app/routes/sys-setting/components/network-freight/network-freight.component.ts +++ b/src/app/routes/sys-setting/components/network-freight/network-freight.component.ts @@ -496,7 +496,7 @@ export class NetworkFreightComponent implements OnInit { .subscribe(res => { if (res) { this.st.load(1); - this.service.msgSrv.success('开户成功'); + this.service.msgSrv.success(bankType === '1' ? res?.paMsg : res?.pfMsg); } }); } diff --git a/src/app/shared/components/account-detail/account-detail.component.ts b/src/app/shared/components/account-detail/account-detail.component.ts index d0f6cd33..e81ea5fe 100644 --- a/src/app/shared/components/account-detail/account-detail.component.ts +++ b/src/app/shared/components/account-detail/account-detail.component.ts @@ -29,7 +29,7 @@ export class AccountDetailComponent implements OnInit { } const params = { ltdId: item.ltdId || this.params.ltdId, - roleId: item.roleId|| this.params.roleId, + roleId: item.roleId || this.params.roleId, projectId: item.projectId || this.params.projectId, enterpriseId: item.enterpriseId || this.params.roleId, ctfId: this.params.ctfId, @@ -46,7 +46,7 @@ export class AccountDetailComponent implements OnInit { }) .subscribe(res => { if (res) { - this.service.msgSrv.success(res?.pfMsg); + this.service.msgSrv.success(type === '1' ? res?.paMsg : res?.pfMsg); this.modalHelp.destroy(); } }); @@ -60,7 +60,7 @@ export class AccountDetailComponent implements OnInit { }) .subscribe(res => { if (res) { - this.service.msgSrv.success(res?.paMsg); + this.service.msgSrv.success(type === '1' ? res?.paMsg : res?.pfMsg); this.modalHelp.destroy(); } });