From 034e99f5a9f6f3877ca974603f245160088a6d30 Mon Sep 17 00:00:00 2001 From: Chenshuai <785659165@qq.com> Date: Tue, 12 Sep 2023 12:35:57 +0800 Subject: [PATCH] [Fix-14790][dolphinscheduler-ui] Fix the data quality task, keyword filtering not supported (#14792) * fix: filter * fix: data-quality task filter rule --------- Co-authored-by: Jim Chen Co-authored-by: Rick Cheng Co-authored-by: xiangzihao <460888207@qq.com> --- .../src/views/projects/task/components/node/fields/use-rules.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-rules.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-rules.ts index 3df621bb5c..bf9c487fb8 100644 --- a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-rules.ts +++ b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-rules.ts @@ -88,6 +88,7 @@ export function useRules( props: responseItem.props, value: responseItem.value } + item.props.filterable = true const name = responseItem.name?.replace('$t(', '').replace(')', '') item.name = name ? t(`project.node.${name}`) : '' @@ -285,6 +286,7 @@ export function useRules( name: t('project.node.rule_name'), props: { loading: ruleLoading, + filterable: true, onUpdateValue: getRuleById }, options: rules