diff --git a/proxy.config.json b/proxy.config.json index 1dbc1c7..8129e12 100644 --- a/proxy.config.json +++ b/proxy.config.json @@ -1,6 +1,6 @@ { "/api": { - "target": "http://183.194.244.232:8088/", + "target": "http://121.36.37.70:8201/", "生产": "http://10.81.73.39:8000/", "测试": "http://121.36.37.70:8201/", "生产2": "http://183.194.244.232:8088/", diff --git a/src/app/plan-management/entry-plan-look/six-familiarize/six-familiarize.component.ts b/src/app/plan-management/entry-plan-look/six-familiarize/six-familiarize.component.ts index 497c1c3..8e3e9ff 100644 --- a/src/app/plan-management/entry-plan-look/six-familiarize/six-familiarize.component.ts +++ b/src/app/plan-management/entry-plan-look/six-familiarize/six-familiarize.component.ts @@ -25,7 +25,7 @@ export class SixFamiliarizeComponent implements OnInit { isEditMode = true; ngOnInit(): void { - console.log(this.data); + console.log('传递的数据',this.data); this.isEditMode = this.data.isEditMode; this.getData(); } @@ -106,4 +106,5 @@ export class SixFamiliarizeComponent implements OnInit { ); } } + } diff --git a/src/app/plan-management/six-familiarity/six-familiarity.component.ts b/src/app/plan-management/six-familiarity/six-familiarity.component.ts index 9589e89..96b63b3 100644 --- a/src/app/plan-management/six-familiarity/six-familiarity.component.ts +++ b/src/app/plan-management/six-familiarity/six-familiarity.component.ts @@ -134,7 +134,9 @@ export class SixFamiliarityComponent implements OnInit { look(element) { console.log(element); - let unitdata = {}; + let unitdata = { + unitname: element.planComponent.name, + }; this.dialog.open(SixFamiliarizeComponent, { width: "700px", data: {