This commit is contained in:
Taric Xin
2022-03-07 15:22:43 +08:00
parent c11d9f3fa0
commit 431eb70c66
2 changed files with 4 additions and 4 deletions

View File

@ -496,7 +496,7 @@ export class NetworkFreightComponent implements OnInit {
.subscribe(res => { .subscribe(res => {
if (res) { if (res) {
this.st.load(1); this.st.load(1);
this.service.msgSrv.success('开户成功'); this.service.msgSrv.success(bankType === '1' ? res?.paMsg : res?.pfMsg);
} }
}); });
} }

View File

@ -29,7 +29,7 @@ export class AccountDetailComponent implements OnInit {
} }
const params = { const params = {
ltdId: item.ltdId || this.params.ltdId, ltdId: item.ltdId || this.params.ltdId,
roleId: item.roleId|| this.params.roleId, roleId: item.roleId || this.params.roleId,
projectId: item.projectId || this.params.projectId, projectId: item.projectId || this.params.projectId,
enterpriseId: item.enterpriseId || this.params.roleId, enterpriseId: item.enterpriseId || this.params.roleId,
ctfId: this.params.ctfId, ctfId: this.params.ctfId,
@ -46,7 +46,7 @@ export class AccountDetailComponent implements OnInit {
}) })
.subscribe(res => { .subscribe(res => {
if (res) { if (res) {
this.service.msgSrv.success(res?.pfMsg); this.service.msgSrv.success(type === '1' ? res?.paMsg : res?.pfMsg);
this.modalHelp.destroy(); this.modalHelp.destroy();
} }
}); });
@ -60,7 +60,7 @@ export class AccountDetailComponent implements OnInit {
}) })
.subscribe(res => { .subscribe(res => {
if (res) { if (res) {
this.service.msgSrv.success(res?.paMsg); this.service.msgSrv.success(type === '1' ? res?.paMsg : res?.pfMsg);
this.modalHelp.destroy(); this.modalHelp.destroy();
} }
}); });