标签管理新增
This commit is contained in:
@@ -195,10 +195,10 @@
|
||||
async () => {
|
||||
deleteAction(`ocr/ocrRecord/deleteBatch`, param).then(res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.result)
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
eventBUs.$emit('searchReset')
|
||||
}else{
|
||||
this.$message.warning(res.message)
|
||||
this.$message.warning(this.$t('operationFailed'))
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -244,10 +244,10 @@
|
||||
async () => {
|
||||
deleteAction(`ocr/ocrRecord/delete`,params).then(res=> {
|
||||
if(res.success){
|
||||
this.$message.success(res.result)
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
eventBUs.$emit('searchReset')
|
||||
}else{
|
||||
this.$message.warning(res.message)
|
||||
this.$message.warning(this.$t('operationFailed'))
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -291,10 +291,10 @@
|
||||
postAction(`ocr/ocrRecord/syncToDocument`,params).then(res=>{
|
||||
if(res.success){
|
||||
eventBUs.$emit('searchReset')
|
||||
this.$message.success(res.message)
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.toVisible=false
|
||||
}else{
|
||||
this.$message.warning(res.message)
|
||||
this.$message.warning(this.$t('operationFailed'))
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user