ocr删除修改
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user