[update OCR识别] 完善

This commit is contained in:
danshihao
2024-07-19 11:30:23 +08:00
parent 7eda2bda46
commit 8f22dbad07
3 changed files with 9 additions and 6 deletions
@@ -84,7 +84,7 @@
import { JeroListMixin } from '@/mixins/JeroListMixin'
import JTable from '@comp/jero/JTable'
import OcrTextRecognitionModal from '@views/documentTool/ocrTextRecognition/modules/OcrTextRecognitionModal'
import { downloadFile, getAction, postAction } from '@api/manage'
import { downloadFile, getAction } from '@api/manage'
import { OcrConvertStateEnums } from '@/enums/commonEnums'
export default {
@@ -132,7 +132,7 @@ export default {
title: this.$t('docTool.ocrTextRecognition.textStatus'),
align: 'center',
width: 180,
dataIndex: 'fileType',
dataIndex: 'fileTypeDictText',
scopedSlots: { customRender: 'text' }
},
{ // 转换结果
@@ -182,7 +182,7 @@ export default {
const params = this.getQueryParams()// 查询条件
console.log(params)
this.loading = true
postAction(this.url.list, params).then((res) => {
getAction(this.url.list, params).then((res) => {
if (res.ok) {
this.dataSource = res.data.list
if (res.data.count) {