ocr文档下载
This commit is contained in:
@@ -192,6 +192,9 @@
|
||||
methods:{
|
||||
//上传
|
||||
handleUpload(){
|
||||
// if(this.timer){
|
||||
// clearInterval(this.timer)
|
||||
// }
|
||||
this.fileVisible=true
|
||||
},
|
||||
//调取已入库文件
|
||||
@@ -245,8 +248,9 @@
|
||||
//下载
|
||||
actionDown(val){
|
||||
// downloadFile('/sys/common/download', val.docRealName, { id: val.attId })
|
||||
downloadFile('ocr/OcrRestful/downFile', val.docRealName, { fileName: val.docRealName })
|
||||
// downloadFile(val.docRealFile)
|
||||
window.open(val.docRealFile)
|
||||
// window.open(val.docRealFile)
|
||||
},
|
||||
//删除
|
||||
actionDelete(record){
|
||||
@@ -280,6 +284,7 @@
|
||||
},
|
||||
//上传确定按钮
|
||||
modalOk(){
|
||||
|
||||
this.$refs.fileForm.sumber()
|
||||
},
|
||||
handleCancel(){
|
||||
|
||||
@@ -50,10 +50,14 @@
|
||||
props:{
|
||||
tableData:Array,
|
||||
columns:Array,
|
||||
total:Number
|
||||
total:Number,
|
||||
parm:Object
|
||||
},
|
||||
mounted() {
|
||||
this.queryParams.pageNo=this.parm.pageNo
|
||||
this.queryParams.pageSize=this.parm.pageSize
|
||||
// console.log('colum',this.tableData,this.columns)
|
||||
console.log('query',this.queryParams)
|
||||
},
|
||||
methods:{
|
||||
onSelectChange(selectedRowKeys) {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
<a-spin :spinning="spinning" tip="Loading...">
|
||||
<a-tabs default-active-key="1" @change="callbackTab">
|
||||
<a-tab-pane key="1" :tab="$t('DocumentLibrary')">
|
||||
<tabTable :tableData="tableData" :columns="taglabColumns" @visibleEd="visibleEd" @visibleDelete="visibleDelete" @queryParams="queryParams" :total="total"></tabTable>
|
||||
<tabTable v-if="spinning==false" :tableData="tableData" :columns="taglabColumns" :parm="queryParam" @visibleEd="visibleEd" @visibleDelete="visibleDelete" @queryParams="queryParams" :total="total"></tabTable>
|
||||
</a-tab-pane>
|
||||
<!-- <a-tab-pane key="2" :tab="$t('DocumentSplitting')" force-render>-->
|
||||
<!-- <tabTable :tableData="tableData" :columns="taglabColumns" @visibleEd="visibleEd" @visibleDelete="visibleDelete" @queryParams="queryParams" :total="total"></tabTable>-->
|
||||
|
||||
Reference in New Issue
Block a user