ocr下载修改
This commit is contained in:
@@ -5,15 +5,15 @@
|
||||
<search :flag="'2'" :url="url"/>
|
||||
</div>
|
||||
<div class="table-operator">
|
||||
<div class="operator-text" @click="handleUpload">
|
||||
<div class="operator-text" @click="handleUpload" v-has="'ocr:ocrRestful:addOcrRecord'">
|
||||
<a-icon type="plus" />
|
||||
{{ $t('upload1') }}
|
||||
</div>
|
||||
<div class="operator-text" @click="handleFileExport">
|
||||
<div class="operator-text" @click="handleFileExport" v-has="'document:ocrPageInfo'">
|
||||
<a-icon type="export" />
|
||||
{{ $t('RetrieveFiles') }}
|
||||
</div>
|
||||
<div class="operator-text" @click="handleDel">
|
||||
<div class="operator-text" @click="handleDel" v-has="'ocr:ocrRecord:deleteBatch'">
|
||||
<a-icon type="delete" />
|
||||
{{ $t('BatchDelete') }}
|
||||
</div>
|
||||
@@ -311,8 +311,11 @@
|
||||
},
|
||||
//下载
|
||||
actionDown(val){
|
||||
let fileName=val.docRealName.split('_')
|
||||
fileName=fileName[fileName.length-1]
|
||||
let fileNames=val.docRealName.split('_')
|
||||
let name = fileNames.shift()
|
||||
let fileName=fileNames.join('_')
|
||||
// let fileName=val.fileName.split('.')[0]
|
||||
|
||||
downloadFile('ocr/OcrRestful/downFile', fileName, { fileName: val.docRealName })
|
||||
},
|
||||
//删除
|
||||
|
||||
Reference in New Issue
Block a user