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
+
+ + + +
+ +
+ +
+ 确定上传 +
+ +
+
+ +