e
This commit is contained in:
		| @ -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(); | ||||
|           } | ||||
|         }); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user