OCR
This commit is contained in:
@@ -288,7 +288,7 @@
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '824f3bf9edef83fc7488917136167232'"
|
||||
/>
|
||||
|
||||
<el-button v-if="file.fileSuffix='pdf'" type="primary" round>OCR</el-button>
|
||||
<!-- <el-button v-if="file.fileSuffix='pdf'" type="primary" round>OCR</el-button>-->
|
||||
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
||||
</template>
|
||||
<template v-else>
|
||||
@@ -387,7 +387,7 @@
|
||||
/>
|
||||
<!-- OCR按钮,根据文件名取后缀判断是否出现-->
|
||||
|
||||
<el-button v-if="judgeSuffix(file.fileName)" type="primary" size="mini" style="margin: 5px" @click="ocrFunction(file)" plain>OCR</el-button>
|
||||
<!-- <el-button v-if="judgeSuffix(file.fileName)" type="primary" size="mini" style="margin: 5px" @click="ocrFunction(file)" plain>OCR</el-button>-->
|
||||
|
||||
|
||||
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
||||
@@ -2245,6 +2245,8 @@ export default {
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
|
||||
console.log("res.data",res.data);
|
||||
if (res.data) {
|
||||
let fileObj = {}
|
||||
fileObj.fileId = res.data.attId
|
||||
|
||||
Reference in New Issue
Block a user