fix(仪表板): 下拉树创建级联没有关联字段,且为相同数据集,不应该需要用户主动设置

This commit is contained in:
dataeaseShu
2025-12-12 10:47:43 +08:00
committed by dataeaseShu
parent 721b197881
commit cfdf98ce2f
5 changed files with 6 additions and 4 deletions

View File

@@ -327,6 +327,7 @@ defineExpose({
font-family: var(--de-custom_font, 'PingFang');
font-size: 14px;
font-weight: 400;
line-height: 20px;
.ed-icon {
position: absolute;

View File

@@ -1189,8 +1189,9 @@ const openCascadeDialog = () => {
.reduce((pre, next) => {
const isTree = [9].includes(+next.displayType)
const fieldId = isTree ? next.treeFieldList[0].id : next.field.id
const datasetId = isTree ? next.treeFieldList[0].datasetGroupId : next.dataset.id
pre[next.id] = {
datasetId: next.dataset.id,
datasetId,
isTree,
name: next.name,
queryId: next.id,

View File

@@ -2868,7 +2868,7 @@ export default {
must_be_met:
"Based on the current component's condition, if cascade configuration is required, the following conditions must be met:",
select_data_set:
'1. Display type: text and number drop-down component; 2. Option value source: select Dataset',
'1. Display type: Text dropdown component and numeric dropdown component, dropdown tree; 2. Source of option values: Selection dataset',
add_cascade_configuration: 'Add cascade configuration',
add_cascade_condition: 'Add cascade condition',
query_condition_level: 'Level',

View File

@@ -2793,7 +2793,7 @@ export default {
condition_cascade_configuration: '查詢條件級聯配置',
not_reverse_cascade: '(僅上級能級聯下級,不可反向級聯)',
must_be_met: '基於目前查詢元件的查詢條件,如果需要進行級聯配置,需要滿足以下條件:',
select_data_set: '1. 展示類型文字下拉元件與數字下拉元件2. 選項值來源:選擇資料集',
select_data_set: '1. 展示類型:文字下拉元件與數字下拉元件,下拉樹2. 選項值來源:選擇資料集',
add_cascade_configuration: '新增級聯配置',
add_cascade_condition: '新增級聯條件',
query_condition_level: '查詢條件層級',

View File

@@ -2799,7 +2799,7 @@ export default {
condition_cascade_configuration: '查询条件级联配置',
not_reverse_cascade: '(仅上级能级联下级,不可反向级联)',
must_be_met: '基于当前查询组件的查询条件,如果需要进行级联配置,需要满足以下条件:',
select_data_set: '1. 展示类型文本下拉组件和数字下拉组件2. 选项值来源:选择数据集',
select_data_set: '1. 展示类型:文本下拉组件和数字下拉组件,下拉树2. 选项值来源:选择数据集',
add_cascade_configuration: '添加级联配置',
add_cascade_condition: '添加级联条件',
query_condition_level: '查询条件层级',