From fdb5c4961497ebcca811aaed53a18b3a1720b991 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 31 Oct 2025 15:33:02 +0800 Subject: [PATCH 01/13] =?UTF-8?q?fix(=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6)?= =?UTF-8?q?:=20=E6=95=B0=E6=8D=AE=E8=BF=87=E6=BB=A4=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/custom-component/v-query/Select.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/core-frontend/src/custom-component/v-query/Select.vue b/core/core-frontend/src/custom-component/v-query/Select.vue index fc91c77c5a..58c9d7b825 100644 --- a/core/core-frontend/src/custom-component/v-query/Select.vue +++ b/core/core-frontend/src/custom-component/v-query/Select.vue @@ -348,6 +348,11 @@ const handleFieldIdChange = (val: EnumValue) => { } }) customSort() + if (!res?.length) { + options.value = [] + selectValue.value = config.value.multiple ? [] : undefined + config.value.defaultValue = selectValue.value + } }) .finally(() => { loading.value = false From a9131423d75e813035de003ecf747ed69e71a328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?= <42510293+ziyujiahao@users.noreply.github.com> Date: Fri, 31 Oct 2025 16:16:00 +0800 Subject: [PATCH 02/13] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F)?= =?UTF-8?q?:=20=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E9=93=BA=E6=BB=A1=E5=85=A8=E5=B1=8F=E6=A8=A1=E5=BC=8F=E7=9A=84?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E6=A8=A1=E6=9D=BF=E9=87=8D=E6=96=B0=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E5=8F=AF=E8=83=BD=E5=87=BA=E7=8E=B0=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E9=94=99=E4=BD=8D=E9=97=AE=E9=A2=98=20#17159=20(#17338)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/data-visualization/PreviewShow.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/core-frontend/src/views/data-visualization/PreviewShow.vue b/core/core-frontend/src/views/data-visualization/PreviewShow.vue index f3718c8edb..bcaba8ffb5 100644 --- a/core/core-frontend/src/views/data-visualization/PreviewShow.vue +++ b/core/core-frontend/src/views/data-visualization/PreviewShow.vue @@ -26,6 +26,7 @@ import { exportLogPDF, exportLogTemplate } from '@/api/visualization/dataVisualization' +import { deepCopy } from '@/utils/utils' const userStore = useUserStoreWithOut() const userName = computed(() => userStore.getName) @@ -100,6 +101,12 @@ const loadCanvasData = (dvId, weight?, ext?) => { state.dvInfo = dvInfo state.curPreviewGap = curPreviewGap dataInitState.value = true + // 修复铺满全屏模版导出错位问题 + if (props.showPosition !== 'multiplexing') { + dvMainStore.setCanvasStyle(deepCopy(canvasStyleResult)) + dvMainStore.setComponentData(deepCopy(canvasDataResult)) + } + if (props.showPosition === 'preview') { dvMainStore.updateCurDvInfo(dvInfo) nextTick(() => { From f7251dde08022ba2203eaaff33dd9a85c6f0560e Mon Sep 17 00:00:00 2001 From: Minamiyama Date: Wed, 15 Oct 2025 11:16:48 +0800 Subject: [PATCH 03/13] =?UTF-8?q?feat(=E5=9B=BE=E8=A1=A8):=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=8C=87=E6=A0=87=E5=90=8D=E7=A7=B0=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在指标组件中新增名称位置(top/bottom)配置功能,并更新多语言支持 --- .../indicator/DeIndicator.vue | 10 ++++++- core/core-frontend/src/locales/en.ts | 3 +++ core/core-frontend/src/locales/tw.ts | 3 +++ core/core-frontend/src/locales/zh-CN.ts | 3 +++ .../src/models/chart/chart-attr.d.ts | 4 +++ .../components/IndicatorNameSelector.vue | 26 +++++++++++++++++++ .../chart/components/editor/util/chart.ts | 3 ++- 7 files changed, 50 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/custom-component/indicator/DeIndicator.vue b/core/core-frontend/src/custom-component/indicator/DeIndicator.vue index 53e3fa9c30..bb8c53aa9a 100644 --- a/core/core-frontend/src/custom-component/indicator/DeIndicator.vue +++ b/core/core-frontend/src/custom-component/indicator/DeIndicator.vue @@ -255,6 +255,7 @@ const showSuffix = ref(DEFAULT_INDICATOR_STYLE.suffixEnable) const suffixContent = ref('') const indicatorNameShow = ref(false) +const indicatorNamePositionBottom = ref(true) const indicatorNameWrapperStyle = reactive({ 'margin-top': DEFAULT_INDICATOR_NAME_STYLE.nameValueSpacing + 'px' @@ -369,8 +370,10 @@ const renderChart = async view => { } indicatorNameWrapperStyle['margin-top'] = (indicatorName.nameValueSpacing ?? DEFAULT_INDICATOR_NAME_STYLE.nameValueSpacing) + 'px' + indicatorNamePositionBottom.value = indicatorName.namePosition !== 'top' } else { indicatorNameShow.value = false + indicatorNamePositionBottom.value = false } } } @@ -595,11 +598,16 @@ defineExpose({ @trackClick="trackClick" :is-data-v-mobile="dataVMobile" /> +
+ {{ resultName }} +
+
{{ formattedResult }} {{ suffixContent }}
-
+
+
{{ resultName }}
diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index 62c7b2f92f..26760f9f72 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -1821,6 +1821,9 @@ export default { dimension_text_style: 'Name style', dimension_letter_space: 'Name letter spacing', name_value_spacing: 'Name/value spacing', + name_position: 'Position', + name_position_top: 'Top', + name_position_bottom: 'Bottom', font_family: 'Font', letter_space: 'Letter spacing', font_shadow: 'Font shadow', diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts index 426959db27..0aab576065 100644 --- a/core/core-frontend/src/locales/tw.ts +++ b/core/core-frontend/src/locales/tw.ts @@ -1777,6 +1777,9 @@ export default { dimension_text_style: '名稱樣式', dimension_letter_space: '名稱字間距', name_value_spacing: '名稱/值間距', + name_position: '位置', + name_position_top: '上方', + name_position_bottom: '下方', font_family: '字體', letter_space: '字間距', font_shadow: '字體陰影', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 752315cd5d..455901d995 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -1785,6 +1785,9 @@ export default { dimension_text_style: '名称样式', dimension_letter_space: '名称字间距', name_value_spacing: '名称/值间距', + name_position: '位置', + name_position_top: '上方', + name_position_bottom: '下方', font_family: '字体', letter_space: '字间距', font_shadow: '字体阴影', diff --git a/core/core-frontend/src/models/chart/chart-attr.d.ts b/core/core-frontend/src/models/chart/chart-attr.d.ts index 52d924d7ee..ed1380f494 100644 --- a/core/core-frontend/src/models/chart/chart-attr.d.ts +++ b/core/core-frontend/src/models/chart/chart-attr.d.ts @@ -1301,6 +1301,10 @@ declare interface ChartIndicatorNameStyle { * 指标/名称间距 */ nameValueSpacing: number + /** + * 指标名称位置 + */ + namePosition?: 'top' | 'bottom' } /** diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/IndicatorNameSelector.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/IndicatorNameSelector.vue index 4b84d16845..0d9d14df6c 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/IndicatorNameSelector.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/IndicatorNameSelector.vue @@ -45,6 +45,11 @@ const fontFamily = CHART_FONT_FAMILY_ORIGIN.concat( ) const fontLetterSpace = CHART_FONT_LETTER_SPACE +const namePositionList = [ + { name: t('chart.name_position_top'), value: 'top' }, + { name: t('chart.name_position_bottom'), value: 'bottom' } +] + const state = reactive({ indicatorNameForm: JSON.parse(JSON.stringify(DEFAULT_INDICATOR_NAME_STYLE)), basicStyleForm: {} as ChartBasicStyle @@ -275,6 +280,27 @@ defineExpose({ getFormData }) @change="changeTitleStyle('nameValueSpacing')" /> + + + + + diff --git a/core/core-frontend/src/views/chart/components/editor/util/chart.ts b/core/core-frontend/src/views/chart/components/editor/util/chart.ts index 0ec56b9219..f360749c69 100644 --- a/core/core-frontend/src/views/chart/components/editor/util/chart.ts +++ b/core/core-frontend/src/views/chart/components/editor/util/chart.ts @@ -548,7 +548,8 @@ export const DEFAULT_INDICATOR_NAME_STYLE: ChartIndicatorNameStyle = { fontFamily: 'Microsoft YaHei', letterSpace: 0, fontShadow: false, - nameValueSpacing: 0 + nameValueSpacing: 0, + namePosition: 'bottom' } export const DEFAULT_TITLE_STYLE_BASE: ChartTextStyle = { From 5ff22511457fa710d936993c2a28f4d3baeb7fed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?= <42510293+ziyujiahao@users.noreply.github.com> Date: Mon, 3 Nov 2025 16:09:58 +0800 Subject: [PATCH 04/13] =?UTF-8?q?fix(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8DSQLBot=E9=97=AE=E6=95=B0=E5=AD=98=E5=9C=A8url?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=9A=84=E6=95=B0=E6=8D=AE=E6=BA=90=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98=20(#17341)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/dataease/extensions/datasource/vo/Configuration.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/extensions/extensions-datasource/src/main/java/io/dataease/extensions/datasource/vo/Configuration.java b/sdk/extensions/extensions-datasource/src/main/java/io/dataease/extensions/datasource/vo/Configuration.java index 75c720bd97..288f6db599 100644 --- a/sdk/extensions/extensions-datasource/src/main/java/io/dataease/extensions/datasource/vo/Configuration.java +++ b/sdk/extensions/extensions-datasource/src/main/java/io/dataease/extensions/datasource/vo/Configuration.java @@ -4,6 +4,7 @@ import lombok.Data; import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.StringUtils; +import java.util.HashMap; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -68,7 +69,7 @@ public class Configuration { protected static final Pattern HOST_PORT_PATTERN = Pattern.compile("//([^:/]+)(?::(\\d+))?"); protected static final Pattern PARAMETERS_PATTERN = Pattern.compile("([^&=]+)=([^&]*)"); private static final Pattern DB_NAME_PATTERN = Pattern.compile("//[^/]+/([^?]+)"); - private Map parameters; + private Map parameters = new HashMap<>(); protected void parseHostAndPort(String jdbcUrl) { Matcher matcher = HOST_PORT_PATTERN.matcher(jdbcUrl); if (matcher.find()) { From 594ccf07c9dcb99c1aab2f9217e69fc4c3a04b92 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Mon, 3 Nov 2025 16:58:44 +0800 Subject: [PATCH 05/13] =?UTF-8?q?feat:=20=E8=A1=8C=E6=9D=83=E9=99=90?= =?UTF-8?q?=E7=99=BD=E5=90=8D=E5=8D=95=E5=9C=A8=E5=A7=93=E5=90=8D=E5=90=8E?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B4=A6=E5=8F=B7=E7=94=A8=E6=9D=A5=E5=8C=BA?= =?UTF-8?q?=E5=88=AB=E5=90=8C=E5=90=8D=E7=94=A8=E6=88=B7=20#17298?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/dataease/api/permissions/user/vo/UserItem.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/api/api-permissions/src/main/java/io/dataease/api/permissions/user/vo/UserItem.java b/sdk/api/api-permissions/src/main/java/io/dataease/api/permissions/user/vo/UserItem.java index 060214c98e..70de494dd6 100644 --- a/sdk/api/api-permissions/src/main/java/io/dataease/api/permissions/user/vo/UserItem.java +++ b/sdk/api/api-permissions/src/main/java/io/dataease/api/permissions/user/vo/UserItem.java @@ -19,4 +19,6 @@ public class UserItem implements Serializable { private Long id; @Schema(description = "用户名称") private String name; + @Schema(description = "账号") + private String account; } From 7642b51800099dcb82151046a52358a79bf3e3f5 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Mon, 3 Nov 2025 17:00:04 +0800 Subject: [PATCH 06/13] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0xpack=E7=B4=A2?= =?UTF-8?q?=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- de-xpack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/de-xpack b/de-xpack index 0c887c7830..388e442484 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit 0c887c7830d7170d2a4a84459d27d03f317afcb8 +Subproject commit 388e442484b2f059a0c62c0e6a51a4c77efe547f From c858c4ff64d7cb8baa984cce8b57720f92f6ed21 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 4 Nov 2025 14:36:59 +0800 Subject: [PATCH 07/13] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E6=BA=90):=20StarR?= =?UTF-8?q?ocks=E6=95=B0=E6=8D=AE=E6=BA=90=E4=BF=9D=E5=AD=98=E5=90=8E=20?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=8F=B0=E6=9C=89=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/share/share/ShareTicket.vue | 10 ++-------- .../views/visualized/data/datasource/form/index.vue | 4 ++-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/core/core-frontend/src/views/share/share/ShareTicket.vue b/core/core-frontend/src/views/share/share/ShareTicket.vue index d3b7fb75f4..159cc5a7e2 100644 --- a/core/core-frontend/src/views/share/share/ShareTicket.vue +++ b/core/core-frontend/src/views/share/share/ShareTicket.vue @@ -301,8 +301,7 @@ onMounted(() => {