This commit is contained in:
parent
d5adbd8a1c
commit
982b91ef34
|
|
@ -89,12 +89,21 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
// 移动文档
|
// 移动文档
|
||||||
async moveDocument(fileId, targetParentId, parentId, parentIds) {
|
async moveDocument(
|
||||||
|
fileId,
|
||||||
|
targetParentId,
|
||||||
|
parentId,
|
||||||
|
parentIds,
|
||||||
|
type,
|
||||||
|
toType,
|
||||||
|
) {
|
||||||
const params = {
|
const params = {
|
||||||
id: fileId,
|
id: fileId,
|
||||||
newParentId: targetParentId,
|
newParentId: targetParentId,
|
||||||
parentId: parentId,
|
parentId,
|
||||||
parentIds: parentIds,
|
parentIds: parentIds,
|
||||||
|
type,
|
||||||
|
toType,
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const res = await moveDocCenterAPI(params)
|
const res = await moveDocCenterAPI(params)
|
||||||
|
|
@ -128,6 +137,8 @@ export default {
|
||||||
this.selectedFolder.id,
|
this.selectedFolder.id,
|
||||||
file.parentId,
|
file.parentId,
|
||||||
file.parentIds,
|
file.parentIds,
|
||||||
|
file.type,
|
||||||
|
this.selectedFolder.type,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue