Browse Source

[完善]在线编制预案名称

tianjin
邵佳豪 2 years ago
parent
commit
6429ac3166
  1. 4
      src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts

4
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 (item) => item.completed == true
); );
//this.planTemplateData=JSON.parse(data.webTextData) //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 != "封面") { if (this.planTemplateData[0].groupName != "封面") {
let obj = { let obj = {
completed: true, completed: true,
@ -766,6 +767,7 @@ export class CreatePlanOnlineFiveComponent implements OnInit {
this.planTemplateData.unshift(obj); this.planTemplateData.unshift(obj);
} else if (this.planTemplateData[0].groupName == "封面") { } else if (this.planTemplateData[0].groupName == "封面") {
this.planTemplateData[0].attribute.objName = this.unitData.name; this.planTemplateData[0].attribute.objName = this.unitData.name;
this.planTemplateData[0].attribute.planName = this.route.snapshot.queryParams.planName;
} }
this.planTemplateData.forEach((element) => { this.planTemplateData.forEach((element) => {
if (element.groupName == "重点图示") { if (element.groupName == "重点图示") {

Loading…
Cancel
Save