|
|
|
@ -558,10 +558,10 @@ export class PlanTemplateComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
//消防设施表格具体属性删除
|
|
|
|
|
fileDel(i,f){ |
|
|
|
|
fileDel(suri,i,f){ |
|
|
|
|
let isTrue = confirm('您确定要删除该条信息吗') |
|
|
|
|
if(isTrue){ |
|
|
|
|
this.group[0].attribute[3].attinf[i].facilityItems[f].completed=false |
|
|
|
|
this.group[0].attribute[suri].attinf[i].facilityItems[f].completed=false |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
@ -1565,9 +1565,10 @@ ngOnInit(): void{
|
|
|
|
|
} |
|
|
|
|
//获取弹窗信息
|
|
|
|
|
getattinf(){ |
|
|
|
|
this.data.newleftTabledata=JSON.parse(JSON.stringify(this.data.newleftTabledata)) |
|
|
|
|
this.data.newleftTabledata=JSON.parse(JSON.stringify(this.data.newleftTabledata)) |
|
|
|
|
//this.data.newleftTabledata=JSON.parse(JSON.stringify(this.data.newleftTabledata))
|
|
|
|
|
|
|
|
|
|
if(this.data.facilityItems==undefined){ |
|
|
|
|
this.data.newleftTabledata=JSON.parse(JSON.stringify(this.data.newleftTabledata)) |
|
|
|
|
this.data.newleftTabledata[this.data.leftclicki].data.forEach(element => { |
|
|
|
|
if(element.groupName=='单位概况'&&element.attribute!=undefined){ |
|
|
|
|
element.attribute.forEach(value => { |
|
|
|
@ -1651,7 +1652,7 @@ getattinf(){
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}else{ |
|
|
|
|
this.facilityItems=this.data.facilityItems |
|
|
|
|
this.facilityItems=JSON.parse(JSON.stringify(this.data.facilityItems))
|
|
|
|
|
console.log(this.facilityItems) |
|
|
|
|
/* this.facilityItems.forEach(element => { |
|
|
|
|
element.completed=false |
|
|
|
|