Browse Source

修复接口传参

gangyj 2 years ago
parent
commit
d135c4d812
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/views/manager/projectinfo/tree.vue
  2. 1 1
      src/views/manager/wbsinfo/edit.vue

+ 1 - 1
src/views/manager/projectinfo/tree.vue

@@ -2307,7 +2307,7 @@ export default {
       this.nodeInfoVisible = true;
       this.nodeInfoVisible = true;
     },
     },
     addNodeInfoTable () {//添加节点参数数据
     addNodeInfoTable () {//添加节点参数数据
-      this.nodeInfoTable.unshift({ k: '', v: '', remark: '', wbsId: this.jiedianId })
+      this.nodeInfoTable.unshift({ k: '', v: '', remark: '', wbsId: this.jiedianId, type: 1 })
     },
     },
     delNodeInfo (key) {//设置参数名称中的删除按钮
     delNodeInfo (key) {//设置参数名称中的删除按钮
       this.namelists.splice(key, 1)
       this.namelists.splice(key, 1)

+ 1 - 1
src/views/manager/wbsinfo/edit.vue

@@ -2331,7 +2331,7 @@ export default {
       this.nodeInfoVisible = true;
       this.nodeInfoVisible = true;
     },
     },
     addNodeInfoTable () {//添加节点参数数据
     addNodeInfoTable () {//添加节点参数数据
-      this.nodeInfoTable.unshift({ k: '', v: '', remark: '', wbsId: this.jiedianId })
+      this.nodeInfoTable.unshift({ k: '', v: '', remark: '', wbsId: this.jiedianId,type: 1 })
     },
     },
     delNodeInfo (key) {//设置参数名称中的删除按钮
     delNodeInfo (key) {//设置参数名称中的删除按钮
       this.namelists.splice(key, 1)
       this.namelists.splice(key, 1)