|
@@ -831,12 +831,15 @@ export default {
|
|
|
},
|
|
|
// 填写节点信息
|
|
|
updateNodeOption(value){
|
|
|
+ console.log('修改基建:',value)
|
|
|
+ console.log('修改基建:',this.updateParams)
|
|
|
delete this.updateParams.zEngineeringNodeBoList
|
|
|
// 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) {
|
|
|
}
|
|
|
+ console.log('修改基建施工信息:',this.updateParams)
|
|
|
putEngineeringInfrastructure(this.updateParams).then(res => {
|
|
|
console.log(res)
|
|
|
if(res.code == 200){
|
|
@@ -845,7 +848,7 @@ export default {
|
|
|
type: 'success'
|
|
|
});
|
|
|
this.$refs.ConstructionDetails.dialogVisible = false
|
|
|
- this.updateParams = {}
|
|
|
+ // this.updateParams = {}
|
|
|
|
|
|
}
|
|
|
})
|