11wqe1 6 ヶ月 前
コミット
ebe5ad2c55

+ 4 - 0
src/components/pages/knowledge/fileBox.vue

@@ -555,9 +555,13 @@ export default {
       this.deleteFile(array.join(","), array2.join(","));
     },
     checkFile(row) {
+      if (row.ingestionStatus == "augmenting") return this.$message.info('正在上传中,点击刷新查看实时状态')
+
       this.$refs.checkDialog.openG(row.documentid);
     },
     extractFile(row) {
+      if (row.ingestionStatus == "augmenting") return this.$message.info('正在上传中,点击刷新查看实时状态')
+      
       let params = {
         documentid: row.documentid
       };

+ 4 - 0
src/components/pages/knowledge/folderFileBox.vue

@@ -676,9 +676,13 @@ export default {
       this.$refs.relateFiles.openG(this.userid, this.folderid, this.moFolderid);
     },
     checkFile(row) {
+      if (row.ingestionStatus == "augmenting") return this.$message.info('正在上传中,点击刷新查看实时状态')
+
       this.$refs.checkDialog.openG(row.documentid);
     },
     extractFile(row) {
+      if (row.ingestionStatus == "augmenting") return this.$message.info('正在上传中,点击刷新查看实时状态')
+
       let params = {
         documentid: row.documentid
       };