From 5d9ee9bee2f47c4cade403e59a789a98f8c5648e Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 13 Jan 2025 16:12:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/dashboard/DbToolbar.vue | 4 ++- .../custom-component/v-query/QueryCascade.vue | 2 +- .../v-query/QueryConditionConfiguration.vue | 18 +++++++--- .../editor/editor-style/VQueryChartStyle.vue | 7 ++-- .../core-frontend/src/views/copilot/index.vue | 6 ++-- .../views/data-visualization/PreviewHead.vue | 36 ++++++++++++------- .../src/views/workbranch/index.vue | 3 +- 7 files changed, 50 insertions(+), 26 deletions(-) diff --git a/core/core-frontend/src/components/dashboard/DbToolbar.vue b/core/core-frontend/src/components/dashboard/DbToolbar.vue index f11063b23d..1bd61cf2dd 100644 --- a/core/core-frontend/src/components/dashboard/DbToolbar.vue +++ b/core/core-frontend/src/components/dashboard/DbToolbar.vue @@ -764,7 +764,9 @@ const initOpenHandler = newWindow => { margin-left: 10px; } .drop-style { - width: 120px; + :deep(.ed-dropdown-menu__item) { + padding: 5px 12px !important; + } :deep(.ed-dropdown-menu__item:not(.is_disabled):focus) { color: inherit; background-color: rgba(31, 35, 41, 0.1); diff --git a/core/core-frontend/src/custom-component/v-query/QueryCascade.vue b/core/core-frontend/src/custom-component/v-query/QueryCascade.vue index 75b5078b43..d71cc277d8 100644 --- a/core/core-frontend/src/custom-component/v-query/QueryCascade.vue +++ b/core/core-frontend/src/custom-component/v-query/QueryCascade.vue @@ -208,7 +208,7 @@ defineExpose({
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 8da1f8e79a..1d7f059a8d 100644 --- a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue +++ b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue @@ -2718,7 +2718,9 @@ defineExpose({
-
{{ t('v_query.of_option_values') }}
+
+ {{ t('v_query.of_option_values') }} +
{{ t('login.default_login') }} @@ -2807,7 +2809,9 @@ defineExpose({ class="list-item top-item" v-if="!['1', '7', '8', '9', '22'].includes(curComponent.displayType)" > -
{{ t('v_query.option_value_source') }}
+
+ {{ t('v_query.option_value_source') }} +
-
+
{{ t('v_query.of_option_values') }}
@@ -3136,7 +3144,9 @@ defineExpose({
-
{{ t('v_query.condition_type') }}
+
+ {{ t('v_query.condition_type') }} +
diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/VQueryChartStyle.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/VQueryChartStyle.vue index 933715bb2d..c44bd5dece 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/VQueryChartStyle.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/VQueryChartStyle.vue @@ -588,11 +588,12 @@ initParams() - - +
+ {{ t('commons.clear') }} - +
+ {{ t('commons.adv_search.reset') }} diff --git a/core/core-frontend/src/views/copilot/index.vue b/core/core-frontend/src/views/copilot/index.vue index 49e6cf3294..8241342e49 100644 --- a/core/core-frontend/src/views/copilot/index.vue +++ b/core/core-frontend/src/views/copilot/index.vue @@ -312,9 +312,7 @@ const queryAnswer = (event?: KeyboardEvent) => {
- +  {{ $t('chart.dimension') }}
@@ -589,6 +587,7 @@ const queryAnswer = (event?: KeyboardEvent) => { .field-q { position: relative; height: 49px; + padding-left: 8px; &.open { max-height: 50%; @@ -612,6 +611,7 @@ const queryAnswer = (event?: KeyboardEvent) => { .expand { font-size: 10px; + color: #646a73; } &.expanded { diff --git a/core/core-frontend/src/views/data-visualization/PreviewHead.vue b/core/core-frontend/src/views/data-visualization/PreviewHead.vue index 3c8dd436ad..b19832fc76 100644 --- a/core/core-frontend/src/views/data-visualization/PreviewHead.vue +++ b/core/core-frontend/src/views/data-visualization/PreviewHead.vue @@ -174,37 +174,34 @@ const initOpenHandler = newWindow => { {{ t('visualization.edit') }} - +