From 96020debfd6345f5d58a993791c5a6ad1216ae8f Mon Sep 17 00:00:00 2001 From: yuance <182865460@qq.com> Date: Thu, 21 May 2026 16:33:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B9=E7=9B=AE=E7=AE=A1?= =?UTF-8?q?=E7=90=86-=E6=B7=BB=E5=8A=A0=E6=96=87=E6=A1=A3=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/components/FileModal.vue | 7 +- .../pwlProject/components/reportContent.vue | 1 + src/views/pwl/pwlProject/index.vue | 1025 +++++++++++++++-- 3 files changed, 919 insertions(+), 114 deletions(-) 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 @@
+ 文档管理 修改 - + -
- 新增文档 -
- - - + + + +
+ + + +
+
+
+ + + 上传文档 + + 请选择分类上传资料 +
+ +
+
+ + + +
+
+ + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +