修改bug

This commit is contained in:
caoyang
2022-03-18 14:09:42 +08:00
parent 109c2db9a2
commit 3279309a01
25 changed files with 87 additions and 168 deletions
@@ -87,10 +87,10 @@
<script>
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
import search from '@/components/search/index'
import tableData from '@/components/ocrTable/index'
import addForm from '@/components/ocrAddForm/index'
import docTable from './modules/docTable'
import ocrUpload from '@/components/ocrUpload/index'
import TableData from '@/components/OcrTable/index'
import AddForm from '@/components/OcrAddForm/index'
import DocTable from './modules/DocTable'
import OcrUpload from '@/components/OcrUpload/index'
import store from '@/store/'
import { ACCESS_TOKEN } from '@/store/mutation-types'
import Vue from 'vue'
@@ -101,10 +101,10 @@
name: 'ocr',
components:{
search,
tableData,
addForm,
ocrUpload,
docTable
TableData,
AddForm,
OcrUpload,
DocTable
},
data(){
return{
@@ -240,14 +240,8 @@
that.lockReconnect = false;
}, 5000);
},
//上传
handleUpload(){
// if(this.timer){
// clearInterval(this.timer)
// }
this.fileVisible=true
},
//调取已入库文件
@@ -296,15 +290,6 @@
.catch( (error) =>{
console.log(error);
});
// postAction(`ocr/ocrRecord/deleteBatch`, param).then(res => {
// if (res.success) {
// this.$message.success(this.$t('OperationSuccessful'))
// eventBUs.$emit('searchReset')
// }else{
// this.$message.warning(this.$t('operationFailed'))
// }
// })
},
onCancel() {},
});