zhengzhou 3年前
コミット
f778c99dc0
1個のファイルの変更3行の追加4行の削除
  1. +3
    -4
      src/views/main_web/project/components/edit-project-form.vue

+ 3
- 4
src/views/main_web/project/components/edit-project-form.vue ファイルの表示

@@ -97,7 +97,6 @@
:class="{'header-bottom-shadow': isDistWorkPartScroll }" :class="{'header-bottom-shadow': isDistWorkPartScroll }"
backBtnTitle="项目概况" backBtnTitle="项目概况"
:onBackBtnClick="showProjDetailClick" :onBackBtnClick="showProjDetailClick"
:title="nowProject.TempName"
:showUserCenter="false" :showUserCenter="false"
:showBackBtn="true" :showBackBtn="true"
/> />
@@ -375,6 +374,7 @@ export default {
oldListManagerUser: [], oldListManagerUser: [],
isProjManager: false, isProjManager: false,
isProjCreator: false, isProjCreator: false,
projectCreateUserId: '',
currListDeptUserData: [], currListDeptUserData: [],


userList: [], // 员工列表 userList: [], // 员工列表
@@ -1185,7 +1185,7 @@ export default {


const { folder, manager } = projectDataRes.Data || {}; const { folder, manager } = projectDataRes.Data || {};
this.memberTree = memberTree; this.memberTree = memberTree;
this.projectCreateUserId = folder[0]?.CreateUserId;
this.listManagerUser = manager.map((u) => memberMap[u.UserId]?.data); this.listManagerUser = manager.map((u) => memberMap[u.UserId]?.data);
if (this.listManagerUser.length) { if (this.listManagerUser.length) {
this.currUser = this.listManagerUser[0] || {}; this.currUser = this.listManagerUser[0] || {};
@@ -1196,7 +1196,6 @@ export default {
this.currUser.id == this.userId; this.currUser.id == this.userId;
} }
this.oldListManagerUser = cloneDeep(this.listManagerUser); this.oldListManagerUser = cloneDeep(this.listManagerUser);

let uniqFolder = uniqBy(folder, "Id"); let uniqFolder = uniqBy(folder, "Id");


const folderList = mergeFolderList(uniqFolder, memberMap); const folderList = mergeFolderList(uniqFolder, memberMap);
@@ -1244,7 +1243,7 @@ export default {
*/ */
async createFolders() { async createFolders() {
let params = { let params = {
Id: sessionStorage.createUserID,
Id: this.projectCreateUserId,
ProjId: this.projectId, ProjId: this.projectId,
ProjectManagerId: "", ProjectManagerId: "",
OldProjectManagerId: this.oldListManagerUser.map((u) => u.id).join(","), OldProjectManagerId: this.oldListManagerUser.map((u) => u.id).join(","),


読み込み中…
キャンセル
保存