【修改】预览
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user