Browse Source

Merge branch 'test-dev' of http://219.151.181.73:3000/web/saber into test-dev

duy 1 month ago
parent
commit
6c3f339842
2 changed files with 4 additions and 4 deletions
  1. 2 2
      src/api/manager/wbsprivate.js
  2. 2 2
      src/views/manager/projectinfo/tree.vue

+ 2 - 2
src/api/manager/wbsprivate.js

@@ -34,13 +34,13 @@ export const update = (row) => {
   })
 }
 
-export const findNodeTableByCondition = (parentId,projectId,wbsId, params) => {
+export const findNodeTableByCondition = (id,projectId,wbsId, params) => {
   return request({
     url: '/api/blade-manager/wbsPrivate/get-node-tables',
     method: 'get',
     params: {
       ...params,
-      parentId,
+      id,
       projectId,
       wbsId,
     }

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

@@ -2771,7 +2771,7 @@ export default {
         this.changeStandType(this.nodeDetail.className);
       });
       if (this.leftType == 4) {
-        selectByNodeTable(data.id, this.projectid, this.id).then((res) => {
+        selectByNodeTable(res.data.data.pKeyId, this.projectid, this.id).then((res) => {
           if (res.data.data.length) {
             this.formData = res.data.data;
           } else {
@@ -2849,7 +2849,7 @@ export default {
     },
 
     updateNodeTable() {
-      selectByNodeTable(this.curTreeData.id, this.projectid, this.id).then(
+      selectByNodeTable( this.nodeDetail.pKeyId, this.projectid, this.id).then(
         (res) => {
           if (res.data.data && res.data.data.length) {
             this.formData = res.data.data;