From dc08fe05275c7d3e8905a687008bf0cf67765967 Mon Sep 17 00:00:00 2001 From: caoyang Date: Fri, 25 Feb 2022 13:39:52 +0800 Subject: [PATCH] =?UTF-8?q?ocr=E5=88=97=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/documentManage/ocr/index.vue | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/jero-web/src/views/documentManage/ocr/index.vue b/jero-web/src/views/documentManage/ocr/index.vue index b4dae6d7c..1a44b8e27 100644 --- a/jero-web/src/views/documentManage/ocr/index.vue +++ b/jero-web/src/views/documentManage/ocr/index.vue @@ -211,15 +211,28 @@ //同步 actionSynchron(val){ this.record=val - this.toVisible=true + if(this.record.resultContent=='转换成功'&&this.record.syncState!='已同步'){ + this.toVisible=true + }else{ + this.$message.warning('未转换成功或已同步至文档库') + } }, //校核 - actionCheck(){ + actionCheck(val){ + // if(val.resultContent=='转换成功'&&val.syncState!='已同步'){ + // this.checkVisible=true + // }else{ + // this.$message.warning('未转换成功或已同步至文档库,不能进行校核') + // } this.checkVisible=true }, //下载 - actionDown(){ + actionDown(val){ + if(val.resultContent=='转换成功'){ + }else{ + this.$message.warning('未转换成功或已同步至文档库') + } }, //删除 actionDelete(record){