|
|
|
@ -37,7 +37,7 @@
|
|
|
|
<el-button icon="el-icon-upload2" type="primary" @click="handleUpload">点击上传</el-button>
|
|
|
|
<el-button icon="el-icon-upload2" type="primary" @click="handleUpload">点击上传</el-button>
|
|
|
|
<el-button icon="el-icon-upload2" type="primary" @click="handleScan">扫描上传</el-button>
|
|
|
|
<el-button icon="el-icon-upload2" type="primary" @click="handleScan">扫描上传</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-button icon="el-icon-full-screen" type="primary" v-if="pictureRecard.length>0" @click="OCRRecognition">OCR识别</el-button>
|
|
|
|
<el-button icon="el-icon-full-screen" type="primary" v-if="pictureRecard.length>0" @click="OCRRecognition">创建识别任务</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div style="margin-top: 40px;">
|
|
|
|
<div style="margin-top: 40px;">
|
|
|
|
@ -208,7 +208,7 @@
|
|
|
|
:visible.sync="tsVisible"
|
|
|
|
:visible.sync="tsVisible"
|
|
|
|
width="500px">
|
|
|
|
width="500px">
|
|
|
|
<div style="padding: 0 30px; line-height: 30px">
|
|
|
|
<div style="padding: 0 30px; line-height: 30px">
|
|
|
|
OCR识别任务提交失败,请选择【暂不处理继续采集】或【重新提交任务】或【去任务记录】查看!
|
|
|
|
创建识别任务提交失败,请选择【暂不处理继续采集】或【重新提交任务】或【去任务记录】查看!
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<el-button type="primary" plain @click="onZbqljxcj">暂不处理继续采集</el-button>
|
|
|
|
<el-button type="primary" plain @click="onZbqljxcj">暂不处理继续采集</el-button>
|
|
|
|
@ -618,7 +618,7 @@ export default {
|
|
|
|
this.pictureRecard = [...this.pictureRecard]
|
|
|
|
this.pictureRecard = [...this.pictureRecard]
|
|
|
|
this.checkAll = checkAll
|
|
|
|
this.checkAll = checkAll
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// OCR识别
|
|
|
|
// 创建识别任务
|
|
|
|
async OCRRecognition(){
|
|
|
|
async OCRRecognition(){
|
|
|
|
|
|
|
|
|
|
|
|
let tatal_task_pic = this.dict.type.tatal_task_pic;
|
|
|
|
let tatal_task_pic = this.dict.type.tatal_task_pic;
|
|
|
|
|