From 6429ac31669a71b7348f037ef06e4c1a8318fa9a Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Fri, 28 Apr 2023 15:33:49 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E5=9C=A8=E7=BA=BF=E7=BC=96?= =?UTF-8?q?=E5=88=B6=E9=A2=84=E6=A1=88=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../create-plan-online-five.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts index 7a1b7a6..77e423c 100644 --- a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts +++ b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts @@ -737,7 +737,8 @@ export class CreatePlanOnlineFiveComponent implements OnInit { (item) => item.completed == true ); //this.planTemplateData=JSON.parse(data.webTextData) - console.log(this.planTemplateData); + console.log(888, this.route.snapshot.queryParams.planName); + console.log(999, this.planTemplateData); if (this.planTemplateData[0].groupName != "封面") { let obj = { completed: true, @@ -766,6 +767,7 @@ export class CreatePlanOnlineFiveComponent implements OnInit { this.planTemplateData.unshift(obj); } else if (this.planTemplateData[0].groupName == "封面") { this.planTemplateData[0].attribute.objName = this.unitData.name; + this.planTemplateData[0].attribute.planName = this.route.snapshot.queryParams.planName; } this.planTemplateData.forEach((element) => { if (element.groupName == "重点图示") {