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 @@