|
@@ -850,6 +850,18 @@
|
|
|
i--
|
|
|
}
|
|
|
}else{
|
|
|
+ if(list[i].level == 3){
|
|
|
+ if(list[i].children[0]){
|
|
|
+ let mainPoint=[]
|
|
|
+ for(let b=0;b<list[i].children.length;b++){
|
|
|
+ mainPoint.push(list[i].children[b].name)
|
|
|
+ list[i].mainPoint=mainPoint.join(',')
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ list[i].mainPoint='';
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
delete list[i].children
|
|
|
}
|
|
|
}
|
|
@@ -1143,6 +1155,7 @@
|
|
|
this.msgError('未找到相关项目')
|
|
|
return
|
|
|
}
|
|
|
+ console.log(obj)
|
|
|
this.$set(this.addForm.checkHazardDtoList[index],'hazardCheckCode',obj.code);
|
|
|
this.$set(this.addForm.checkHazardDtoList[index],'hazardCheckName',obj.name);
|
|
|
this.$set(this.addForm.checkHazardDtoList[index],'hazardCheckPoint',obj.mainPoint);
|