diff --git a/core/core-frontend/src/store/modules/data-visualization/dvMain.ts b/core/core-frontend/src/store/modules/data-visualization/dvMain.ts index 6b223fbcd0..8a8a843146 100644 --- a/core/core-frontend/src/store/modules/data-visualization/dvMain.ts +++ b/core/core-frontend/src/store/modules/data-visualization/dvMain.ts @@ -846,9 +846,9 @@ export const dvMainStore = defineStore('dataVisualization', { addViewTrackFilter(data) { const viewId = data.viewId let trackInfo - // 维度日期类型转换 - viewFieldTimeTrans(this.canvasViewDataInfo[viewId], data) if (data.option === 'linkage') { + // 维度日期类型转换 + viewFieldTimeTrans(this.canvasViewDataInfo[viewId], data) trackInfo = this.nowPanelTrackInfo } else { trackInfo = this.nowPanelJumpInfoTargetPanel diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index 26e90401be..3dd5a3995d 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -44,6 +44,7 @@ import { Base64 } from 'js-base64' import DeRichTextView from '@/custom-component/rich-text/DeRichTextView.vue' import ChartEmptyInfo from '@/views/chart/components/views/components/ChartEmptyInfo.vue' import { snapshotStoreWithOut } from '@/store/modules/data-visualization/snapshot' +import { viewFieldTimeTrans } from '@/utils/viewUtils' const { wsCache } = useCache() const chartComponent = ref() @@ -143,6 +144,7 @@ const state = reactive({ whiteSpace: 'pre-wrap' } as CSSProperties, drillFilters: [], + viewInfoData: null, drillClickDimensionList: [] }) @@ -385,6 +387,8 @@ const jumpClick = param => { } } if (jumpInfo) { + // 维度日期类型转换 + viewFieldTimeTrans(dvMainStore.getViewDataDetails(param.viewId), param) param.sourceDvId = dvInfo.value.id param.sourceViewId = param.viewId param.sourceFieldId = dimension.id