mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 21:12:33 +08:00
refactor: 外部参数使用过滤选项时,支持关联过滤组件的图表使用过滤选项过滤结果 (#17843)
This commit is contained in:
@@ -363,10 +363,22 @@ export const searchQuery = (queryComponentList, filter, curComponentId, firstLoa
|
||||
timeGranularity = 'date',
|
||||
displayType,
|
||||
displayId,
|
||||
multiple
|
||||
multiple,
|
||||
optionFilter
|
||||
} = item
|
||||
|
||||
const isTree = +displayType === 9
|
||||
if (optionFilter) {
|
||||
filter.push({
|
||||
filterId: id,
|
||||
componentId: ele.id,
|
||||
fieldId: item.checkedFieldsMap[curComponentId],
|
||||
operator: 'in',
|
||||
value: optionFilter,
|
||||
parameters: [],
|
||||
isTree
|
||||
})
|
||||
}
|
||||
|
||||
if (
|
||||
timeType === 'dynamic' &&
|
||||
|
||||
Reference in New Issue
Block a user