From 414ef96b0f162f650f1edd0dc8c7962caa18505d Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Wed, 12 Jul 2023 16:41:09 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E5=BC=B9=E5=87=BA=E6=A1=86?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy.config.json | 2 +- .../six-familiarize/six-familiarize.component.ts | 3 ++- .../six-familiarity/six-familiarity.component.ts | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) 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: {