diff --git a/src/views/publicService/docCenter/components/tableCom/move.vue b/src/views/publicService/docCenter/components/tableCom/move.vue index a92bf4d..2ad4403 100644 --- a/src/views/publicService/docCenter/components/tableCom/move.vue +++ b/src/views/publicService/docCenter/components/tableCom/move.vue @@ -89,12 +89,21 @@ export default { }, // 移动文档 - async moveDocument(fileId, targetParentId, parentId, parentIds) { + async moveDocument( + fileId, + targetParentId, + parentId, + parentIds, + type, + toType, + ) { const params = { id: fileId, newParentId: targetParentId, - parentId: parentId, + parentId, parentIds: parentIds, + type, + toType, } try { const res = await moveDocCenterAPI(params) @@ -128,6 +137,8 @@ export default { this.selectedFolder.id, file.parentId, file.parentIds, + file.type, + this.selectedFolder.type, ), )