duy 15 цаг өмнө
parent
commit
a9c2f149eb

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

@@ -47,7 +47,7 @@ export const findNodeTableByCondition = (parentId,projectId,wbsId, params) => {
   })
 }
 
-export const removeTableByCondition = (id,projectId,wbsId, params) => {
+export const removeTableByCondition = (id,projectId,wbsId,pKeyId, params) => {
   return request({
     url: '/api/blade-manager/wbsPrivate/remove-table',
     method: 'get',
@@ -56,6 +56,7 @@ export const removeTableByCondition = (id,projectId,wbsId, params) => {
       id,
       projectId,
       wbsId,
+      pKeyId
     }
   })
 }

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

@@ -3354,7 +3354,7 @@ closeOtherExpandedNodes(tree, keepOpenPath) {
        
        
           if(this.isNodeType){
-              removeTableById(row.id, this.projectid, this.id).then(() => {
+              removeTableById(row.id, this.projectid, this.id,row.pkeyId).then(() => {
                 this.formData.splice(index, 1);
                 this.$message({
                   type: "success",