From 00d879ba9e8861fe2a838d078ecb4fd7aaee9a22 Mon Sep 17 00:00:00 2001 From: caoyang Date: Thu, 24 Feb 2022 17:04:18 +0800 Subject: [PATCH] =?UTF-8?q?ocr=E8=A1=A8=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/documentManage/library/index.vue | 2 +- .../src/views/documentManage/ocr/index.vue | 135 ++++++++++-------- .../views/documentManage/splitting/index.vue | 17 ++- .../documentManage/tags/tabs/tagContent.vue | 8 +- .../documentManage/tags/tabs/tagItem.vue | 32 +++-- 5 files changed, 117 insertions(+), 77 deletions(-) diff --git a/jero-web/src/views/documentManage/library/index.vue b/jero-web/src/views/documentManage/library/index.vue index decd28604..6713d4ed0 100644 --- a/jero-web/src/views/documentManage/library/index.vue +++ b/jero-web/src/views/documentManage/library/index.vue @@ -250,5 +250,5 @@ \ No newline at end of file diff --git a/jero-web/src/views/documentManage/ocr/index.vue b/jero-web/src/views/documentManage/ocr/index.vue index 2b78ed024..69c453a85 100644 --- a/jero-web/src/views/documentManage/ocr/index.vue +++ b/jero-web/src/views/documentManage/ocr/index.vue @@ -33,11 +33,20 @@ -
- 上传 - 调取已入库文件 - 批量删除 -
+
+
+ + 上传 +
+
+ + 调取已入库文件 +
+
+ + 批量删除 +
+
确定对该文件未进行校验?

- - {{ text }} - - -
- -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
{ let params={ ...this.form } - // let formData = new FormData(); - // console.log('formData',formData) - // formData.append('attId',this.form.attId); - // console.log('this.form.attId',this.form.attId) - // console.log('formData111',formData) - // formData.append('standName',this.form.standName); - // formData.append('standNumber',this.form.standNumber); - // formData.append('fileType',this.form.fileType); - let headers = { - 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' - } - // console.log('params',formData) - if(valid) { - // axios.post(`ocr/OcrRestful/addOcrRecord`,params, { headers: headers }) - // .then(res => { - // if (res.success) { - // this.loadData() - // } - // }) - - postAction(`ocr/OcrRestful/addOcrRecord`,params).then(res=>{ + postAction(`ocr/ocrRecord/add`,params).then(res=>{ if(res.success){ + this.$message.success(res.result) + this.$emit('ok') this.loadData() } }) @@ -472,6 +491,7 @@ }) // /** 赋值给当前对应的表单文件 */ this.form.attId = attIdList.join(',') + console.log('form1111',this.form) }, fileUpload(){ this.$refs.uploadFile.visible=true @@ -519,6 +539,7 @@