ocr列按钮

This commit is contained in:
caoyang
2022-02-25 13:39:52 +08:00
parent 7e78f62be2
commit dc08fe0527
@@ -211,15 +211,28 @@
//同步 //同步
actionSynchron(val){ actionSynchron(val){
this.record=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 this.checkVisible=true
}, },
//下载 //下载
actionDown(){ actionDown(val){
if(val.resultContent=='转换成功'){
}else{
this.$message.warning('未转换成功或已同步至文档库')
}
}, },
//删除 //删除
actionDelete(record){ actionDelete(record){