From 0fed717a747b3cc734a0bf528afd08404e3f3bf5 Mon Sep 17 00:00:00 2001 From: caoyang Date: Wed, 9 Mar 2022 16:18:16 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/views/documentManage/ocr/index.vue | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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){