【修改】调整下载传参
This commit is contained in:
@@ -257,10 +257,10 @@ export default {
|
||||
}
|
||||
},
|
||||
// 预览
|
||||
previewRow(id) {
|
||||
previewRow(fileId,reportId) {
|
||||
// this.watermarkText = `${this.$store.state.userInfo.usname} ${formatDate(+new Date(), 'yyyy年MM月dd日 hh:mm:ss')}`
|
||||
// this.row = JSON.parse(this.$route.query.row)
|
||||
this.$api.report.reportGetReportHtmlId({id: id}).then(({data}) => {
|
||||
this.$api.report.reportGetReportHtmlId({fileId: fileId,reportId:reportId}).then(({data}) => {
|
||||
this.content = data.content
|
||||
})
|
||||
},
|
||||
@@ -272,7 +272,7 @@ export default {
|
||||
this.showText=true
|
||||
}else{
|
||||
this.showText=false
|
||||
this.previewRow(this.file.fileId)
|
||||
this.previewRow(this.file.fileId,this.row.id)
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user