|
@@ -830,9 +830,13 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
// 填写节点信息
|
|
|
- updateNodeOption(zEngineeringInfoBoList){
|
|
|
+ updateNodeOption(value){
|
|
|
delete this.updateParams.zEngineeringNodeBoList
|
|
|
- this.updateParams.zEngineeringNodeBo.zEngineeringInfoBoList = zEngineeringInfoBoList
|
|
|
+ // this.updateParams.zEngineeringNodeBo.zEngineeringInfoBoList = zEngineeringInfoBoList
|
|
|
+ try {
|
|
|
+ this.updateParams.zEngineeringNodeBo.zEngineeringInfoBoList = this.updateParams.zEngineeringNodeBo.zEngineeringInfoBoList.filter(obj => value.map(o => o.id).includes(obj.id))
|
|
|
+ } catch (e) {
|
|
|
+ }
|
|
|
putEngineeringInfrastructure(this.updateParams).then(res => {
|
|
|
console.log(res)
|
|
|
if(res.code == 200){
|