diff --git a/src/views/Report/ReportManager.vue b/src/views/Report/ReportManager.vue index 5e9ee12..9cae613 100644 --- a/src/views/Report/ReportManager.vue +++ b/src/views/Report/ReportManager.vue @@ -955,13 +955,15 @@ export default { }, // 预览 previewRow(row) { - this.fullscreen = false; - // 更新预览水印的时间戳 - this.watermarkText = `${this.$store.state.userInfo.usname} ${formatDate(+new Date(), 'yyyy年MM月dd日 hh:mm:ss')}`; - this.$api.report.reportGetReportHtmlId({ id: row.id }).then(({ data }) => { - this.content = data.content; - this.dialogPreview = true; - }) + // this.fullscreen = false; + // // 更新预览水印的时间戳 + // this.watermarkText = `${this.$store.state.userInfo.usname} ${formatDate(+new Date(), 'yyyy年MM月dd日 hh:mm:ss')}`; + // this.$api.report.reportGetReportHtmlId({ id: row.id }).then(({ data }) => { + // this.content = data.content; + // this.dialogPreview = true; + // }) + this.$router.push({path: '/report/detail', query: {id: this.$route.query.id, reportId: row.id}}) + }, // 下载 downloadRow(row) {