From f778c99dc0c7bf94985a0c0f39c9c3cb013a78f8 Mon Sep 17 00:00:00 2001 From: zhengzhou Date: Wed, 2 Jun 2021 14:50:56 +0800 Subject: [PATCH] update --- .../main_web/project/components/edit-project-form.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/main_web/project/components/edit-project-form.vue b/src/views/main_web/project/components/edit-project-form.vue index 2fb96860..556455b7 100644 --- a/src/views/main_web/project/components/edit-project-form.vue +++ b/src/views/main_web/project/components/edit-project-form.vue @@ -97,7 +97,6 @@ :class="{'header-bottom-shadow': isDistWorkPartScroll }" backBtnTitle="项目概况" :onBackBtnClick="showProjDetailClick" - :title="nowProject.TempName" :showUserCenter="false" :showBackBtn="true" /> @@ -375,6 +374,7 @@ export default { oldListManagerUser: [], isProjManager: false, isProjCreator: false, + projectCreateUserId: '', currListDeptUserData: [], userList: [], // 员工列表 @@ -1185,7 +1185,7 @@ export default { const { folder, manager } = projectDataRes.Data || {}; this.memberTree = memberTree; - + this.projectCreateUserId = folder[0]?.CreateUserId; this.listManagerUser = manager.map((u) => memberMap[u.UserId]?.data); if (this.listManagerUser.length) { this.currUser = this.listManagerUser[0] || {}; @@ -1196,7 +1196,6 @@ export default { this.currUser.id == this.userId; } this.oldListManagerUser = cloneDeep(this.listManagerUser); - let uniqFolder = uniqBy(folder, "Id"); const folderList = mergeFolderList(uniqFolder, memberMap); @@ -1244,7 +1243,7 @@ export default { */ async createFolders() { let params = { - Id: sessionStorage.createUserID, + Id: this.projectCreateUserId, ProjId: this.projectId, ProjectManagerId: "", OldProjectManagerId: this.oldListManagerUser.map((u) => u.id).join(","),