Bläddra i källkod

节点参数删除到空

gangyj 2 år sedan
förälder
incheckning
069b28f47f
2 ändrade filer med 2 tillägg och 2 borttagningar
  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