瀏覽代碼

修改批量解析并打包

yangg 7 月之前
父節點
當前提交
a6946ee96b

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-2d944f4a.7b5d2dae.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-9888fb8a.cf4ba195.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.5d9e45ae.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-28d1619e.f4c4b5f4.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-2d944f4a.a6c57dab.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-4f39e1c1.01b1d302.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-9888fb8a.c8adf5ba.js


+ 5 - 3
src/views/knowledgeMenu/category/knowledgeSet.vue

@@ -52,7 +52,7 @@
       <dataSearch
       <dataSearch
         @bindSetQuery="setQuery"
         @bindSetQuery="setQuery"
         @refreshFolders="typeList"
         @refreshFolders="typeList"
-        :currentFolderId="queryForm.doc_type_id" 
+        :currentFolderId="queryForm.doc_type_id"
       ></dataSearch>
       ></dataSearch>
       <!--  <dataList
       <!--  <dataList
         :queryForm="queryForm"
         :queryForm="queryForm"
@@ -1031,7 +1031,9 @@ export default {
             .then((res) => {
             .then((res) => {
               if (res.status === 200) {
               if (res.status === 200) {
                 this.$message.success("批量解析任务已提交");
                 this.$message.success("批量解析任务已提交");
-                this.updateAnalysisStatus(selectedIds);
+                setTimeout(() => {
+                  this.updateAnalysisStatus(selectedIds);
+                }, 5000);
                 this.clearSelection();
                 this.clearSelection();
               } else {
               } else {
                 this.$message.error("批量解析请求失败");
                 this.$message.error("批量解析请求失败");
@@ -1145,7 +1147,7 @@ export default {
             // Start checking the status immediately after successful API call
             // Start checking the status immediately after successful API call
             setTimeout(() => {
             setTimeout(() => {
               this.startAnalysisStatusChecker(row);
               this.startAnalysisStatusChecker(row);
-            },5000);
+            }, 5000);
           } else {
           } else {
             this.$message.error("解析请求失败");
             this.$message.error("解析请求失败");
             this.$set(row, "run", 0);
             this.$set(row, "run", 0);

+ 3 - 3
src/views/login/aiIndex.vue

@@ -93,7 +93,7 @@
                 ref="fileInput"
                 ref="fileInput"
                 multiple
                 multiple
                 @change="handleFileUpload"
                 @change="handleFileUpload"
-                accept="image/*,.pdf,.doc,.docx,.txt"
+                accept="image/*,.pdf,.doc,.docx,.txt,.mp4"
                 style="display: none"
                 style="display: none"
               />
               />
               <button class="tool-btn" @click="$refs.fileInput.click()">
               <button class="tool-btn" @click="$refs.fileInput.click()">
@@ -412,7 +412,7 @@ export default {
         }
         }
       }
       }
       const chatId = this.getUuid();
       const chatId = this.getUuid();
-      const wsUrl = `${process.env.VUE_APP_BASE_AI_API}/chatbot/multimodal`; //process.env.VUE_APP_BASE_AI_API
+      const wsUrl = `${"http://192.168.66.187:8082"}/chatbot/multimodal`; //process.env.VUE_APP_BASE_AI_API
       let message = this.userInput.trim();
       let message = this.userInput.trim();
 
 
       const imageUrls = this.uploadFiles
       const imageUrls = this.uploadFiles
@@ -515,7 +515,7 @@ export default {
         console.log("Sending to backend:", JSON.stringify(idObject));
         console.log("Sending to backend:", JSON.stringify(idObject));
 
 
         const response = await axios.post(
         const response = await axios.post(
-          `${process.env.VUE_APP_BASE_AI_API}/milvus/getMinioURl`,
+          `${"http://192.168.66.187:8082"}/milvus/getMinioURl`,
           idObject,
           idObject,
           {
           {
             headers: {
             headers: {

Some files were not shown because too many files changed in this diff