mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-04 21:19:52 +08:00
feat(系统&组织): 系统组织更新项目编辑资源池
This commit is contained in:
parent
23092f013c
commit
40b9babf62
@ -442,7 +442,6 @@
|
||||
protocols: selectedProtocols.value,
|
||||
projectId: appStore.currentProjectId,
|
||||
moduleIds: [],
|
||||
// TODO 后台测试
|
||||
shareId: props.docShareId,
|
||||
});
|
||||
res = mapTree<ModuleTreeNode>(res, (node) => ({
|
||||
@ -453,8 +452,8 @@
|
||||
hideMoreAction: node.id === 'root' || !!props.docShareId,
|
||||
}));
|
||||
|
||||
// 过滤count为0 且类型为 MODULE 的节点 TODO 后台测试用 先不过滤
|
||||
// res = filterTree(res, (node) => !(node.count === 0 && node.type === 'MODULE'));
|
||||
// 过滤count为0 且类型为 MODULE 的节点
|
||||
res = filterTree(res, (node) => !(node.count === 0 && node.type === 'MODULE'));
|
||||
return res;
|
||||
}
|
||||
|
||||
|
@ -307,6 +307,7 @@
|
||||
form.organizationId = props.currentProject.organizationId;
|
||||
form.moduleIds = props.currentProject.moduleIds;
|
||||
form.resourcePoolIds = props.currentProject.resourcePoolIds;
|
||||
form.allResourcePool = props.currentProject.allResourcePool;
|
||||
}
|
||||
} else {
|
||||
// 新建
|
||||
|
@ -302,6 +302,7 @@
|
||||
form.organizationId = props.currentProject.organizationId;
|
||||
form.moduleIds = props.currentProject.moduleIds;
|
||||
form.resourcePoolIds = props.currentProject.resourcePoolIds;
|
||||
form.allResourcePool = props.currentProject.allResourcePool;
|
||||
}
|
||||
} else {
|
||||
// 新建
|
||||
|
Loading…
Reference in New Issue
Block a user