From 89f6334f624a19a964e46d05b556828671fbd8d0 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 23 May 2024 14:14:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E9=83=A8=E5=88=86=E5=9B=BE=E8=A1=A8=E5=88=B0=E5=A4=84excel?= =?UTF-8?q?=E6=97=A0=E5=86=85=E5=AE=B9=E6=88=96=E8=80=85=E7=BC=BA=E5=B0=91?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E9=97=AE=E9=A2=98=20#9676?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/visualization/UserViewEnlarge.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/components/visualization/UserViewEnlarge.vue b/core/core-frontend/src/components/visualization/UserViewEnlarge.vue index 83aebe4037..ba1f3095c1 100644 --- a/core/core-frontend/src/components/visualization/UserViewEnlarge.vue +++ b/core/core-frontend/src/components/visualization/UserViewEnlarge.vue @@ -8,7 +8,7 @@ trigger="click" >
- + = { render: 'antv', type: 'table-info', @@ -163,6 +164,7 @@ const pixelOptions = [ } ] const dialogInit = (canvasStyle, view, item, opt) => { + sourceViewType.value = view.type optType.value = opt dialogShow.value = true viewInfo.value = deepCopy(view) as DeepPartial @@ -191,7 +193,12 @@ const downloadViewImage = () => { const downloadViewDetails = () => { const viewDataInfo = dvMainStore.getViewDataDetails(viewInfo.value.id) const chartExtRequest = dvMainStore.getLastViewRequestInfo(viewInfo.value.id) - const chart = { ...viewInfo.value, chartExtRequest, data: viewDataInfo } + const chart = { + ...viewInfo.value, + chartExtRequest, + data: viewDataInfo, + type: sourceViewType.value + } exportLoading.value = true exportExcelDownload(chart, () => { exportLoading.value = false