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){