From 7b05727888faba92c1f51dde2366e2e92d4292f1 Mon Sep 17 00:00:00 2001
From: xuhuajiao <13476289682@163.com>
Date: Fri, 7 Mar 2025 17:36:04 +0800
Subject: [PATCH] =?UTF-8?q?AI=E6=99=BA=E8=83=BD=E6=A0=87=E6=B3=A8/bug?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../AIAssistant/AIKeywords/archivesList.vue | 453 ++++++++++++------
src/views/AIAssistant/AIKeywords/index.vue | 2 +
.../AIKeywords/module/editOcrContent.vue | 210 ++++++++
.../AIKeywords/module/keywordMark.vue | 256 ++++++++++
.../module/uploadOriginal/bigUpload.vue | 6 +-
src/views/login.vue | 2 +-
6 files changed, 781 insertions(+), 148 deletions(-)
create mode 100644 src/views/AIAssistant/AIKeywords/module/editOcrContent.vue
create mode 100644 src/views/AIAssistant/AIKeywords/module/keywordMark.vue
diff --git a/src/views/AIAssistant/AIKeywords/archivesList.vue b/src/views/AIAssistant/AIKeywords/archivesList.vue
index 3236b4a..d5f0e5b 100644
--- a/src/views/AIAssistant/AIKeywords/archivesList.vue
+++ b/src/views/AIAssistant/AIKeywords/archivesList.vue
@@ -3,13 +3,33 @@
-
-
{{ (page.page === 1 ? 0 : (page.page === 0 ? 0 : page.page - 1)) * page.size + scope.$index + 1 }}
@@ -47,14 +66,12 @@
{{ scope.row[field.fieldName] }}
-
{{ scope.row.case_no ? '已装': '未装' }}
-
{{ scope.row.collect_formal===2 ? '归档': '空闲' }}
@@ -76,19 +93,14 @@
-
@@ -111,65 +126,37 @@
{{ getFileSize(scope.row.file_size) }}
-
-
-
-
-
- 未解析
+
+
+ 未解析
+ 解析中
+ 已解析
-
-
-
-
-
+
+
+
解析
+
+
+ 编辑
+
-
-
-
-
- 未标注
+
+
+ 未标注
+ 已标注
-
-
-
-
+ {{ scope.row.file_mark_state===1 ? '编辑' :'标注' }}
+
@@ -186,18 +173,23 @@
/> -->
-
-
+
+
+
+
diff --git a/src/views/AIAssistant/AIKeywords/module/keywordMark.vue b/src/views/AIAssistant/AIKeywords/module/keywordMark.vue
new file mode 100644
index 0000000..2600c47
--- /dev/null
+++ b/src/views/AIAssistant/AIKeywords/module/keywordMark.vue
@@ -0,0 +1,256 @@
+
+
+
+
+
+
+
{{ displayedText }}
+
+ AI智能提取
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/bigUpload.vue b/src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/bigUpload.vue
index 2c85052..ade1083 100644
--- a/src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/bigUpload.vue
+++ b/src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/bigUpload.vue
@@ -79,7 +79,7 @@ export default {
uploadBigVisible: false,
skip: false,
options: {
- target: '/api/collect/upload',
+ target: null,
// 开启服务端分片校验功能
testChunks: true, // 是否分片
singleFile: true, // 单文件上传
@@ -128,6 +128,9 @@ export default {
'baseApi'
])
},
+ mounted() {
+ this.options.target = this.baseApi + '/api/collect/upload'
+ },
methods: {
fileSuccess(rootFile, file, response, chunk) {
this.chunkOffset = []
@@ -199,6 +202,7 @@ export default {
if (item.completed && this.submitted) {
this.btnLoading = true
this.submitted = false
+
axios.post(this.baseApi + '/api/collect/merge', json, { headers: {
'Authorization': getToken()
}}).then((res) => {
diff --git a/src/views/login.vue b/src/views/login.vue
index 6f573e2..a5741f3 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -86,7 +86,7 @@ export default {
codeUrl: '',
cookiePass: '',
loginForm: {
- username: 'admin',
+ username: '',
password: '',
rememberMe: false,
code: '',