diff --git a/src/views/pwl/pwlProject/components/components/FileModal.vue b/src/views/pwl/pwlProject/components/components/FileModal.vue index 8c2caff..4acf96d 100644 --- a/src/views/pwl/pwlProject/components/components/FileModal.vue +++ b/src/views/pwl/pwlProject/components/components/FileModal.vue @@ -128,6 +128,7 @@ const props = defineProps<{ currentCompanyId: number; + currentProjectId: number; selectionKey?: string; selectionState?: Partial; }>(); @@ -527,9 +528,9 @@ const loadAllCloudDocs = async () => { try { - const params = { - companyId: activeSource.value === 'public' ? 0 : props.currentCompanyId - }; + const params = activeSource.value === 'public' + ? { companyId: 0 } + : { companyId: props.currentCompanyId, projectId: props.currentProjectId }; const result = await listAiCloudDoc(params); allDirs.value = result || []; diff --git a/src/views/pwl/pwlProject/components/reportContent.vue b/src/views/pwl/pwlProject/components/reportContent.vue index 3560c56..c4ce0ac 100644 --- a/src/views/pwl/pwlProject/components/reportContent.vue +++ b/src/views/pwl/pwlProject/components/reportContent.vue @@ -491,6 +491,7 @@
+ 文档管理 修改 - + -
- 新增文档 -
- - - + + + +
+ + + +
+
+
+ + + 上传文档 + + 请选择分类上传资料 +
+ +
+
+ + + +
+
+ + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +