From 221deef8a0a8b0ee2ea90b6383232a973f5c9112 Mon Sep 17 00:00:00 2001 From: zyh Date: Wed, 8 Mar 2023 17:56:28 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-2663=20fix=EF=BC=9A=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E5=BF=AB=E7=85=A7=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/common/bottomBox/tabs/panelTabNew.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue index ae4694cdd..e5965c938 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue @@ -158,6 +158,8 @@ + + @@ -178,6 +180,8 @@ import { randomcolor } from '@/components/common/js/radomcolor/randomcolor' import htmlToPdfMixin from '@/components/common/mixin/htmlToPdfMixin' import exportHtmlMixin from '@/components/common/mixin/exportHtml' import panelVariables from '@/components/common/panel/panelVariables' +import snapshotProgress from '@/components/common/snapshotProgress/snapshotProgress.vue' + export default { name: 'panelTabNew', mixins: [subDataListMixin, detailViewRightMixin, htmlToPdfMixin, exportHtmlMixin], @@ -307,7 +311,8 @@ export default { nowTimeType: {}, chartDetailInfo: {}, variables: [], - variablesInit: false + variablesInit: false, + snapshotVisible: false } }, components: { @@ -316,7 +321,8 @@ export default { nzBottomDataList, topToolMoreOptions, chartTempBox, - panelVariables // 处理panel变量的组件 + panelVariables, // 处理panel变量的组件 + snapshotProgress // 快照进度 }, methods: { // 刷新 @@ -851,7 +857,7 @@ export default { if (type === 'PDF') { this.htmlToPdf() } else { - this.exportToHtml(this.obj.name) + this.snapshotVisible = true } }, getPanelData () {