From d14a42ebdf945226e95e1300540d920fd530b831 Mon Sep 17 00:00:00 2001 From: caoyang Date: Fri, 10 Jun 2022 15:40:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=86=E5=88=86=E5=85=A5=E5=BA=93=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/OcrTable/index.vue | 6 +- .../src/views/documentManage/ocr/index.vue | 72 +++++++++---------- .../splitting/modules/SplitText.vue | 3 +- 3 files changed, 39 insertions(+), 42 deletions(-) diff --git a/jero-web/src/components/OcrTable/index.vue b/jero-web/src/components/OcrTable/index.vue index 515f1c890..1cfb1821f 100644 --- a/jero-web/src/components/OcrTable/index.vue +++ b/jero-web/src/components/OcrTable/index.vue @@ -18,9 +18,9 @@ {{record.resultContent=='转换成功'&&record.syncState=='未同步'&&record.fileSource=='1'?ol.text:''}} - - {{record.resultContent=='转换成功'&&record.syncState=='未同步'?ol.text:''}} - + + + {{record.resultContent=='转换成功'?ol.text:''}} diff --git a/jero-web/src/views/documentManage/ocr/index.vue b/jero-web/src/views/documentManage/ocr/index.vue index a92a13881..0c66de527 100644 --- a/jero-web/src/views/documentManage/ocr/index.vue +++ b/jero-web/src/views/documentManage/ocr/index.vue @@ -69,7 +69,6 @@ @actionSynchron="actionSynchron" :url="url" showAction - @actionCheck="actionCheck" @actionDown="actionDown" @onSelectChange="onSelectChange" @actionDelete="actionDelete" @@ -114,10 +113,10 @@ text: this.$t('SyncLibrary'), ClickEvent: 'actionSynchron' }, //同步至文档库 - { - text: this.$t('check'), - ClickEvent: 'actionCheck' - }, //校核 + // { + // text: this.$t('check'), + // ClickEvent: 'actionCheck' + // }, //校核 { text: this.$t('download'), ClickEvent: 'actionDown' @@ -309,39 +308,36 @@ } }, //校核 - actionCheck(val){ - // this.checkVisible=true - this.loading=true - axios({ - url: '/jero-boot/ocr/ocrCheck/verifyCheckFlag', - method: 'get', - params: { - id:val.id - }, - headers: { - 'X-Access-Token':this.token - } - }) - .then( (res) => { - if (res.data.success) { - let newUrl = this.$router.resolve({ - path: '/ocr/ocrSplit', - query:{ - fileName: val.docRealName, - id:val.id - } - }) - window.open(newUrl.href, '_blank') - }else{ - this.$message.error(res.data.message) - } - }).finally(()=>{ - this.loading=false - }) - - - - }, + // actionCheck(val){ + // // this.checkVisible=true + // this.loading=true + // axios({ + // url: '/jero-boot/ocr/ocrCheck/verifyCheckFlag', + // method: 'get', + // params: { + // id:val.id + // }, + // headers: { + // 'X-Access-Token':this.token + // } + // }) + // .then( (res) => { + // if (res.data.success) { + // let newUrl = this.$router.resolve({ + // path: '/ocr/ocrSplit', + // query:{ + // fileName: val.docRealName, + // id:val.id + // } + // }) + // window.open(newUrl.href, '_blank') + // }else{ + // this.$message.error(res.data.message) + // } + // }).finally(()=>{ + // this.loading=false + // }) + // }, //下载 actionDown(val){ let fileNames=val.docRealName.split('_') diff --git a/jero-web/src/views/documentManage/splitting/modules/SplitText.vue b/jero-web/src/views/documentManage/splitting/modules/SplitText.vue index 7381758b5..e50971688 100644 --- a/jero-web/src/views/documentManage/splitting/modules/SplitText.vue +++ b/jero-web/src/views/documentManage/splitting/modules/SplitText.vue @@ -259,10 +259,11 @@ attId: file.id, title: file.title, fileName:file.file_name, + titleEn:file.title_en, serialNumber: file.serial_number, connectId: file.connect_id, fileGroup: this.fileGroup, - fileType:file.text_info + fileType:file.text_info_id } if(!this.submitFlag){