ocr删除修改

This commit is contained in:
caoyang
2022-03-15 18:40:14 +08:00
parent 23dfd11f97
commit 1e3c8ac484
@@ -282,7 +282,7 @@
content: '', content: '',
onOk: onOk:
async () => { async () => {
deleteAction(`ocr/ocrRecord/deleteBatch`, param).then(res => { postAction(`ocr/ocrRecord/deleteBatch`, param).then(res => {
if (res.success) { if (res.success) {
this.$message.success(this.$t('OperationSuccessful')) this.$message.success(this.$t('OperationSuccessful'))
eventBUs.$emit('searchReset') eventBUs.$emit('searchReset')
@@ -326,7 +326,7 @@
content: '', content: '',
onOk: onOk:
async () => { async () => {
deleteAction(`ocr/ocrRecord/delete`,params).then(res=> { getAction(`ocr/ocrRecord/delete`,params).then(res=> {
if(res.success){ if(res.success){
this.$message.success(this.$t('OperationSuccessful')) this.$message.success(this.$t('OperationSuccessful'))
eventBUs.$emit('searchReset') eventBUs.$emit('searchReset')