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(){
|
||||
|
||||
Reference in New Issue
Block a user