Browse Source

修改基建修改图标报错

qinhouyu 1 year ago
parent
commit
4e04b79cba
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/zdsz/engineeringInfrastructure/index.vue

+ 4 - 1
src/views/zdsz/engineeringInfrastructure/index.vue

@@ -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 = {}
 
       }
     })