From e065b2b79af6405ce3791c7d4b004c8a3c89ba7b Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 1 Apr 2024 13:52:58 +0800 Subject: [PATCH 1/6] =?UTF-8?q?fix:=20iframe=E5=B5=8C=E5=85=A5=E5=BC=8F?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E6=9D=BF=E6=A0=91=E6=97=A0=E6=B3=95=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E6=96=B0=E9=A1=B5=E9=9D=A2=E9=A2=84=E8=A7=88=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/dashboard/DbToolbar.vue | 16 +++++++++++++++- core/core-frontend/src/permission.ts | 2 +- .../data-visualization/PreviewCanvas.vue | 12 ++++++++++-- .../views/data-visualization/PreviewHead.vue | 19 +++++++++++++++++-- 4 files changed, 43 insertions(+), 6 deletions(-) diff --git a/core/core-frontend/src/components/dashboard/DbToolbar.vue b/core/core-frontend/src/components/dashboard/DbToolbar.vue index 40a7d2f7de..6ff00cc466 100644 --- a/core/core-frontend/src/components/dashboard/DbToolbar.vue +++ b/core/core-frontend/src/components/dashboard/DbToolbar.vue @@ -25,6 +25,7 @@ import { copyStoreWithOut } from '@/store/modules/data-visualization/copy' import TabsGroup from '@/custom-component/component-group/TabsGroup.vue' import DeResourceGroupOpt from '@/views/common/DeResourceGroupOpt.vue' import OuterParamsSet from '@/components/visualization/OuterParamsSet.vue' +import { XpackComponent } from '@/components/plugin' const { t } = useI18n() const dvMainStore = dvMainStoreWithOut() const snapshotStore = snapshotStoreWithOut() @@ -102,7 +103,8 @@ const previewOuter = () => { } canvasSave(() => { const url = '#/preview?dvId=' + dvInfo.value.id - window.open(url, '_blank') + const newWindow = window.open(url, '_blank') + initOpenHandler(newWindow) }) } @@ -323,6 +325,17 @@ const onDvNameChange = () => { } const appStore = useAppStoreWithOut() const isDataEaseBi = computed(() => appStore.getIsDataEaseBi) + +const openHandler = ref(null) +const initOpenHandler = newWindow => { + if (openHandler?.value) { + const pm = { + methodName: 'initOpenHandler', + args: newWindow + } + openHandler.value.invokeMethod(pm) + } +} From 406d24680697989dbf498fa33e1cee80867eaa68 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 1 Apr 2024 16:55:30 +0800 Subject: [PATCH 4/6] =?UTF-8?q?fix(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20hover?= =?UTF-8?q?=E8=A1=8C=E6=97=B6=20=E9=BC=A0=E6=A0=87=E5=BA=94=E8=AF=A5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=BA=20=E6=8A=93=E6=89=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/share/share/ShareGrid.vue | 4 ++++ core/core-frontend/src/views/workbranch/ShortcutTable.vue | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/core/core-frontend/src/views/share/share/ShareGrid.vue b/core/core-frontend/src/views/share/share/ShareGrid.vue index 1729e041bf..b01fd82c8f 100644 --- a/core/core-frontend/src/views/share/share/ShareGrid.vue +++ b/core/core-frontend/src/views/share/share/ShareGrid.vue @@ -225,6 +225,10 @@ watch( margin-top: 16px; height: calc(100% - 110px); + :deep(.ed-table__row):hover { + cursor: pointer; + } + .name-content { display: flex; align-items: center; diff --git a/core/core-frontend/src/views/workbranch/ShortcutTable.vue b/core/core-frontend/src/views/workbranch/ShortcutTable.vue index 543ee1f115..e459f8b840 100644 --- a/core/core-frontend/src/views/workbranch/ShortcutTable.vue +++ b/core/core-frontend/src/views/workbranch/ShortcutTable.vue @@ -432,6 +432,10 @@ const getEmptyDesc = (): string => { margin-top: 16px; height: calc(100% - 110px); + :deep(.ed-table__row):hover { + cursor: pointer; + } + .name-content { display: flex; align-items: center; From a2971cc42ba9340c3bcf9194be4f16f1a98f4a2d Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 1 Apr 2024 16:56:10 +0800 Subject: [PATCH 5/6] =?UTF-8?q?fix(=E6=99=BA=E8=83=BD=E5=8A=A9=E6=89=8B):?= =?UTF-8?q?=20=E5=9B=BE=E6=A0=87=E5=8F=B3=E4=BE=A7=E9=97=B4=E8=B7=9D?= =?UTF-8?q?=E4=B8=BA20px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/layout/components/Header.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/layout/components/Header.vue b/core/core-frontend/src/layout/components/Header.vue index f05f7b2cba..8d66874dfa 100644 --- a/core/core-frontend/src/layout/components/Header.vue +++ b/core/core-frontend/src/layout/components/Header.vue @@ -96,7 +96,7 @@ onMounted(() => {
- + From 893633001c38667bc99b30332df8b37d1b3746c6 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 1 Apr 2024 16:56:34 +0800 Subject: [PATCH 6/6] =?UTF-8?q?fix(=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6):?= =?UTF-8?q?=20=E6=97=B6=E9=97=B4=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E8=AE=BE=E7=BD=AE=E6=97=B6=E9=97=B4=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E8=8C=83=E5=9B=B4=E4=BC=9A=E7=95=99=E5=9C=A8=E4=BB=AA=E8=A1=A8?= =?UTF-8?q?=E6=9D=BF=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../v-query/QueryConditionConfiguration.vue | 33 ++++++++++++++++--- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue index ce58aa0b50..867ed78df4 100644 --- a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue +++ b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue @@ -498,6 +498,7 @@ const handleBeforeClose = () => { inputCom.value?.mult?.handleClickOutside?.() handleDialogClick() dialogVisible.value = false + visiblePopover.value = false } const confirmClick = () => { @@ -1408,12 +1409,34 @@ defineExpose({
- + + +
- + + +