diff --git a/jero-web/src/views/documentManage/ocr/index.vue b/jero-web/src/views/documentManage/ocr/index.vue index c5e2a2b26..08bd611b0 100644 --- a/jero-web/src/views/documentManage/ocr/index.vue +++ b/jero-web/src/views/documentManage/ocr/index.vue @@ -241,19 +241,13 @@ }, //校核 actionCheck(val){ - // if(val.resultContent=='转换成功'&&val.syncState!='已同步'){ - // this.checkVisible=true - // }else{ - // this.$message.warning('未转换成功或已同步至文档库,不能进行校核') - // } this.checkVisible=true }, //下载 actionDown(val){ - // downloadFile('/sys/common/download', val.docRealName, { id: val.attId }) - downloadFile('ocr/OcrRestful/downFile', val.docRealName, { fileName: val.docRealName }) - // downloadFile(val.docRealFile) - // window.open(val.docRealFile) + let fileName=val.docRealName.split('_') + fileName=fileName[fileName.length-1] + downloadFile('ocr/OcrRestful/downFile', fileName, { fileName: val.docRealName }) }, //删除 actionDelete(record){