Bläddra i källkod

节点参数相关

yangyj 2 år sedan
förälder
incheckning
63f95f6ae0
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4 4
      src/views/manager/projectinfo/tree.vue

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

@@ -2657,12 +2657,12 @@ export default {
       //节点参数弹框保存按钮
       if (this.nodeInfoTable) {
         if (this.nodeInfoTable.length == 0) {
-          await this.saveOrUpdateBatch([
+          await this.saveOrUpdateBatch({projectId:this.projectid,nodeId:this.jiedianId,wps:[
             {
-              wbsId: this.jiedianId,
+              nodeId: this.jiedianId,
               type: -1,
             },
-          ]);
+          ]});
           this.nodeInfoVisible = false;
           this.$message({
             type: "success",
@@ -2687,7 +2687,7 @@ export default {
           }
         });
         if (tag) {
-          await this.saveOrUpdateBatch(this.nodeInfoTable);
+          await this.saveOrUpdateBatch({projectId:this.projectid,nodeId:this.jiedianId,wps:this.nodeInfoTable});
           this.nodeInfoVisible = false;
           this.$message({
             type: "success",