ocr文档下载

This commit is contained in:
caoyang
2022-03-08 15:37:47 +08:00
parent 6c2ffe8995
commit 40a35fedf3
5 changed files with 17 additions and 8 deletions
@@ -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(){