From e9ff427b99eab81631cbc790e6f4f8ad5a9ee008 Mon Sep 17 00:00:00 2001 From: xzx Date: Wed, 24 Jun 2020 09:07:16 +0800 Subject: [PATCH] [VersionBeta] V.1.0.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Adds] 1.修改项目负责人加载我的文件数据 --- src/views/main_web/workspace.vue | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/src/views/main_web/workspace.vue b/src/views/main_web/workspace.vue index 27fb4781..b40d65a2 100644 --- a/src/views/main_web/workspace.vue +++ b/src/views/main_web/workspace.vue @@ -2838,13 +2838,27 @@ 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) { + // 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; // 加载我的文件夹 zxm+ @@ -2857,7 +2871,6 @@ export default { thisApp.myListFolderGroups = thisApp.folderFileList.listOtherFolderGroups; } - } thisApp.listCollaborationFiles(); }) .catch(error => {