Browse Source

私有wbs修改

duy 1 year ago
parent
commit
c9db084f46
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/views/manager/projectinfo/tree.vue

+ 5 - 2
src/views/manager/projectinfo/tree.vue

@@ -3328,6 +3328,7 @@ export default {
     },
 
     editNodeHandle() {
+      console.log(this.curTreeData,'this.curTreeData.id ');
       if (!this.curTreeData.id || !this.curTreeNode.id) {
         this.$message({
           type: "warning",
@@ -3336,7 +3337,8 @@ export default {
         return;
       }
       this.mixRatioTestIds = [];
-      this.nodeTypeChange(53);
+      // this.nodeTypeChange(53);
+      this.nodeTypeChange(this.curTreeData.nodeType);
        this.dialogTitle='编辑节点'
       this.setLeftType(2, this.curTreeData, this.curTreeNode);
      
@@ -3350,7 +3352,8 @@ export default {
         return;
       }
       this.mixRatioTestIds = [];
-      this.nodeTypeChange(53);
+      // this.nodeTypeChange(53);
+      this.nodeTypeChange(this.curTreeData.nodeType);
         this.dialogTitle='新增节点'
       this.setLeftType(1, this.curTreeData, this.curTreeNode);