Browse Source

[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 <chenshuai19950725@gmail.com>
Co-authored-by: Rick Cheng <rickchengx@gmail.com>
Co-authored-by: xiangzihao <460888207@qq.com>
3.2.1-prepare
Chenshuai 1 year ago committed by GitHub
parent
commit
034e99f5a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-rules.ts

2
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-rules.ts

@ -88,6 +88,7 @@ export function useRules(
props: responseItem.props, props: responseItem.props,
value: responseItem.value value: responseItem.value
} }
item.props.filterable = true
const name = responseItem.name?.replace('$t(', '').replace(')', '') const name = responseItem.name?.replace('$t(', '').replace(')', '')
item.name = name ? t(`project.node.${name}`) : '' item.name = name ? t(`project.node.${name}`) : ''
@ -285,6 +286,7 @@ export function useRules(
name: t('project.node.rule_name'), name: t('project.node.rule_name'),
props: { props: {
loading: ruleLoading, loading: ruleLoading,
filterable: true,
onUpdateValue: getRuleById onUpdateValue: getRuleById
}, },
options: rules options: rules

Loading…
Cancel
Save