Browse Source

获取表单相关修改

duy 1 month ago
parent
commit
0a830fe666
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 = (id,projectId,wbsId, params) => {
+export const findNodeTableByCondition = (parentId,projectId,wbsId, params) => {
   return request({
     url: '/api/blade-manager/wbsPrivate/get-node-tables',
     method: 'get',
     params: {
       ...params,
-      id,
+      parentId,
       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(res.data.data.pKeyId, this.projectid, this.id).then((res) => {
+        selectByNodeTable(data.id, 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.nodeDetail.pKeyId, this.projectid, this.id).then(
+      selectByNodeTable( this.curTreeData.id, this.projectid, this.id).then(
         (res) => {
           if (res.data.data && res.data.data.length) {
             this.formData = res.data.data;