|
|
@@ -2921,8 +2921,6 @@ export default { |
|
|
|
console.log(error); |
|
|
|
}); |
|
|
|
} else { |
|
|
|
this.fileindex = 0; |
|
|
|
this.curactive = 0; |
|
|
|
this.$axios({ |
|
|
|
method: "get", |
|
|
|
url: encodeURI( |
|
|
@@ -2936,26 +2934,6 @@ export default { |
|
|
|
}) |
|
|
|
.then(response => { |
|
|
|
thisApp.folderFileList = response.data; |
|
|
|
// if (folderPerm == 0) { |
|
|
|
// thisApp.myFilesList = thisApp.folderFileList.listAllFiles; |
|
|
|
// // 加载我的文件夹 zxm+ |
|
|
|
// thisApp.myListFolderGroups = |
|
|
|
// thisApp.folderFileList.listFolderGroups; |
|
|
|
// } else { |
|
|
|
// if (this.currentPageType == 0) { |
|
|
|
// // 加载我的文件 |
|
|
|
// thisApp.myFilesList = thisApp.folderFileList.listMyFiles; |
|
|
|
// // 加载我的文件夹 zxm+ |
|
|
|
// thisApp.myListFolderGroups = |
|
|
|
// thisApp.folderFileList.listFolderGroups; |
|
|
|
// } else { |
|
|
|
// // 加载工作文件 |
|
|
|
// thisApp.myFilesList = thisApp.folderFileList.listOtherFiles; |
|
|
|
// // 加载工作文件分组 zxm+ |
|
|
|
// thisApp.myListFolderGroups = |
|
|
|
// thisApp.folderFileList.listOtherFolderGroups; |
|
|
|
// } |
|
|
|
// } |
|
|
|
if (this.currentPageType == 0) { |
|
|
|
// 加载我的文件 |
|
|
|
thisApp.myFilesList = thisApp.folderFileList.listMyFiles; |
|
|
@@ -2968,8 +2946,12 @@ export default { |
|
|
|
// 加载工作文件分组 zxm+ |
|
|
|
thisApp.myListFolderGroups = |
|
|
|
thisApp.folderFileList.listOtherFolderGroups; |
|
|
|
} |
|
|
|
if(thisApp.curactive==0){ |
|
|
|
thisApp.listCollaborationFiles(); |
|
|
|
}else if(thisApp.curactive==1){ |
|
|
|
thisApp.loadListCommonFiles(); |
|
|
|
} |
|
|
|
thisApp.listCollaborationFiles(); |
|
|
|
}) |
|
|
|
.catch(error => { |
|
|
|
console.log(error); |
|
|
@@ -3028,7 +3010,7 @@ export default { |
|
|
|
*/ |
|
|
|
loadListCommonFiles: function() { |
|
|
|
var thisApp = this; |
|
|
|
thisApp.myPublicFilesList = []; |
|
|
|
//thisApp.myPublicFilesList = []; |
|
|
|
this.$axios({ |
|
|
|
method: "get", |
|
|
|
url: encodeURI( |
|
|
|