From c9fb5d8021a4b92f3eae36bd34f016a936ea45b4 Mon Sep 17 00:00:00 2001 From: wenjinbo <599483010@qq.com> Date: Fri, 19 Sep 2025 16:35:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:1=E6=96=87=E4=BB=B6=E5=90=8D=E8=BF=87?= =?UTF-8?q?=E9=95=BF=E6=8A=9B=E5=87=BA=EF=BC=8C2=E9=99=90=E5=88=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0doc=EF=BC=8C3.=E4=BF=AE=E6=94=B9=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E7=B4=A2=E5=BC=95=E8=B0=83=E7=94=A8=E6=96=B9=E6=B3=95?= =?UTF-8?q?.4.=E5=BB=B6=E8=BF=9F=E8=A7=A3=E6=9E=90=E5=A4=B1=E6=95=88?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/datasets/components/DocUpload.vue | 55 ++++++++++++++++--- .../datasets/components/DocumentList.vue | 40 +++++++++++--- .../brichat/entity/dataset/TDatasetFiles.java | 6 +- .../service/DeepAnalysisQueueService.java | 2 +- .../dify/impl/DifyDatasetApiServiceImpl.java | 19 ++++--- .../service/impl/DatasetFilesServiceImpl.java | 7 +++ .../impl/EsTDatasetFilesServiceImpl.java | 1 + .../task/IndexingStatusTaskService.java | 5 +- .../task/PdfConversionTaskService.java | 9 +-- 9 files changed, 113 insertions(+), 31 deletions(-) diff --git a/chat-client/src/views/datasets/components/DocUpload.vue b/chat-client/src/views/datasets/components/DocUpload.vue index 72827b3..e2258ef 100644 --- a/chat-client/src/views/datasets/components/DocUpload.vue +++ b/chat-client/src/views/datasets/components/DocUpload.vue @@ -24,8 +24,7 @@ :on-change="handleFileChange" :file-list="[]" :show-file-list="false" - :limit="10" - accept=".txt,.md,.markdown,.mdx,.pdf,.html,.htm,.xlsx,.xls,.doc,.docx,.csv,.vtt,.properties" + accept=".txt,.md,.markdown,.mdx,.pdf,.html,.htm,.xlsx,.xls,.docx,.csv,.vtt,.properties" class="upload-area" :class="{ 'is-dragover': isDragOver }" @drop="handleDrop" @@ -38,7 +37,7 @@
支持 TXT、MD、PDF、Word、Excel、HTML、CSV 等格式
+支持 TXT、MD、PDF、DOCX、Excel、HTML、CSV 等格式(不支持DOC格式)
单个文件不超过 100MB,最多可选择 10 个文件