Browse Source

节点参数修改

duy 1 year ago
parent
commit
77cf02ef43
2 changed files with 6 additions and 5 deletions
  1. 4 3
      src/views/manager/projectinfo/tree.vue
  2. 2 2
      src/views/manager/wbsinfo/edit.vue

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

@@ -3069,16 +3069,17 @@ export default {
           if (!val.k | !val.v) {
             return (tag = false);
           }
-
-          if (!val.name) {
+      
+          //if (!val.name) {
             for (let i = 0; i < this.namelist.length; i++) {
               if (this.namelist[i].k == val.k) {
                 val.name = this.namelist[i].name;
                 return;
               }
             }
-          }
+          //}
         });
+  
         if (tag) {
           this.nodeInfoSaveload=true
           await this.saveOrUpdateBatch({scopeType:10,projectId:this.projectid,nodeId:this.jiedianId,wps:this.nodeInfoTable,type:1,delIds:this.delids});

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

@@ -2813,14 +2813,14 @@ export default {
             return tag = false
           }
 
-          if(!val.name){
+          //if(!val.name){
             for (let i = 0; i < this.namelist.length; i++) {
               if(this.namelist[i].k == val.k){
                 val.name = this.namelist[i].name;
                 return;
               }
             }
-          }
+          //}
 
         })
         if (tag) {