|
|
|
@ -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 == "重点图示") { |
|
|
|
|