瀏覽代碼

wbs私有树

gangyj 3 年之前
父節點
當前提交
59e96645db
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/manager/projectinfo/tree.vue

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

@@ -620,7 +620,7 @@
         }
         this.curTreeData = data;
         this.curTreeData.parentName = parentName;
-        getDetail(data.id).then((res)=>{
+        getDetail(data.id,this.id,this.projectid).then((res)=>{
           res.data.data.parentName = parentName;
           this.tableData = [res.data.data];
           this.nodeDetail = Object.assign({},res.data.data);
@@ -679,7 +679,7 @@
           this.editType = type;
         }
 
-        getDetail(data.id).then((res)=>{
+        getDetail(data.id,this.id,this.projectid).then((res)=>{
           let parentName = '';
           if(node.parent.data){
             parentName = node.parent.data.title;