From 65b5e48313447434b2a6862691312b214b7f4afd Mon Sep 17 00:00:00 2001 From: wanglei Date: Wed, 15 May 2024 10:07:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E9=87=87=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dangan-ui/src/api/dangan/collection.js | 23 ++ dangan-ui/src/views/dangan/catalog/index.vue | 9 +- .../src/views/dangan/collection/index.vue | 242 +++++++++++++++--- 3 files changed, 240 insertions(+), 34 deletions(-) create mode 100644 dangan-ui/src/api/dangan/collection.js diff --git a/dangan-ui/src/api/dangan/collection.js b/dangan-ui/src/api/dangan/collection.js new file mode 100644 index 0000000..9d02656 --- /dev/null +++ b/dangan-ui/src/api/dangan/collection.js @@ -0,0 +1,23 @@ +import request from '@/utils/request' + +// 登录方法 +export function collectSaves(data) { + return request({ + url: '/dangan/collect/saves', + headers: { + 'Content-Type': 'multipart/form-data', + repeatSubmit: false + }, + method: 'post', + data: data + }) +} + +// 新增档案目录 +export function collectRecongnize(data) { + return request({ + url: '/dangan/collect/recongnize', + method: 'post', + data: data + }) +} diff --git a/dangan-ui/src/views/dangan/catalog/index.vue b/dangan-ui/src/views/dangan/catalog/index.vue index 62bf243..476fb81 100644 --- a/dangan-ui/src/views/dangan/catalog/index.vue +++ b/dangan-ui/src/views/dangan/catalog/index.vue @@ -100,9 +100,8 @@ 档案采集 @@ -321,6 +320,10 @@ export default { this.getList(); this.$modal.msgSuccess("删除成功"); }).catch(() => {}); + }, + // 档案采集 + handleDACJ(row){ + this.$router.push("/dangan/collection?id=" + row.id); } } }; diff --git a/dangan-ui/src/views/dangan/collection/index.vue b/dangan-ui/src/views/dangan/collection/index.vue index 15412d8..404473a 100644 --- a/dangan-ui/src/views/dangan/collection/index.vue +++ b/dangan-ui/src/views/dangan/collection/index.vue @@ -30,32 +30,110 @@
- 点击上传 - OCR识别 + 点击上传 + OCR识别
-
- +
+ + +
+ 全选 +
+ +
+ + +

{{ item.picName }}

+

{{ item.muPath }}

+

{{ item.wlsjPath }}

+
+
+
+
+ +
+
+
物理书架:
+ +
+ +
+ + +
将文件拖到此处,或点击上传
+
只能上传jpg/png文件,且不超过500kb
+
+ + + +
+ +
+ +
+ 确定上传 +
+ +
+
+ +