feat(系统&组织): 系统组织更新项目编辑资源池

This commit is contained in:
xinxin.wu 2024-10-16 14:31:17 +08:00 committed by 刘瑞斌
parent 23092f013c
commit 40b9babf62
3 changed files with 4 additions and 3 deletions

View File

@ -442,7 +442,6 @@
protocols: selectedProtocols.value, protocols: selectedProtocols.value,
projectId: appStore.currentProjectId, projectId: appStore.currentProjectId,
moduleIds: [], moduleIds: [],
// TODO
shareId: props.docShareId, shareId: props.docShareId,
}); });
res = mapTree<ModuleTreeNode>(res, (node) => ({ res = mapTree<ModuleTreeNode>(res, (node) => ({
@ -453,8 +452,8 @@
hideMoreAction: node.id === 'root' || !!props.docShareId, hideMoreAction: node.id === 'root' || !!props.docShareId,
})); }));
// count0 MODULE TODO // count0 MODULE
// res = filterTree(res, (node) => !(node.count === 0 && node.type === 'MODULE')); res = filterTree(res, (node) => !(node.count === 0 && node.type === 'MODULE'));
return res; return res;
} }

View File

@ -307,6 +307,7 @@
form.organizationId = props.currentProject.organizationId; form.organizationId = props.currentProject.organizationId;
form.moduleIds = props.currentProject.moduleIds; form.moduleIds = props.currentProject.moduleIds;
form.resourcePoolIds = props.currentProject.resourcePoolIds; form.resourcePoolIds = props.currentProject.resourcePoolIds;
form.allResourcePool = props.currentProject.allResourcePool;
} }
} else { } else {
// //

View File

@ -302,6 +302,7 @@
form.organizationId = props.currentProject.organizationId; form.organizationId = props.currentProject.organizationId;
form.moduleIds = props.currentProject.moduleIds; form.moduleIds = props.currentProject.moduleIds;
form.resourcePoolIds = props.currentProject.resourcePoolIds; form.resourcePoolIds = props.currentProject.resourcePoolIds;
form.allResourcePool = props.currentProject.allResourcePool;
} }
} else { } else {
// //