From 80b9fabf534fb246d60b9dae7086b367bcd18728 Mon Sep 17 00:00:00 2001 From: zhoulingpo Date: Thu, 11 May 2023 17:33:27 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E9=A2=84?= =?UTF-8?q?=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Report/ReportManager.vue | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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) {