瀏覽代碼

节点参数删除到空

gangyj 2 年之前
父節點
當前提交
069b28f47f
共有 2 個文件被更改,包括 2 次插入2 次删除
  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

@@ -2569,7 +2569,7 @@ export default {
       if (this.nodeInfoTable) {
         if(this.nodeInfoTable.length == 0){
           await this.saveOrUpdateBatch([{
-            "wbsId": this.id,
+            "wbsId": this.jiedianId,
             "type": -1,
           }])
           this.nodeInfoVisible = false

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

@@ -2591,7 +2591,7 @@ export default {
       if (this.nodeInfoTable) {
         if(this.nodeInfoTable.length == 0){
           await this.saveOrUpdateBatch([{
-            "wbsId": this.id,
+            "wbsId": this.jiedianId,
             "type": -1,
           }])
           this.nodeInfoVisible = false