diff --git a/frontend/src/components/pure/ms-advance-filter/filterDrawer.vue b/frontend/src/components/pure/ms-advance-filter/filterDrawer.vue index 740acdd38e..fa408d72b3 100644 --- a/frontend/src/components/pure/ms-advance-filter/filterDrawer.vue +++ b/frontend/src/components/pure/ms-advance-filter/filterDrawer.vue @@ -136,6 +136,19 @@ :placeholder="t('common.pleaseSelect')" :field-names="item.treeSelectProps?.fieldNames" /> + = { INPUT: { type: 'INPUT', }, + CASCADER: { + type: 'CASCADER', + propsKey: 'cascaderProps', + props: { multiple: true, valueKey: 'value', labelKey: 'text', options: [] }, + }, SELECT: { type: 'SELECT', propsKey: 'selectProps', diff --git a/frontend/src/enums/advancedFilterEnum.ts b/frontend/src/enums/advancedFilterEnum.ts index 2e0e4d94da..1851c6bbe2 100644 --- a/frontend/src/enums/advancedFilterEnum.ts +++ b/frontend/src/enums/advancedFilterEnum.ts @@ -24,6 +24,7 @@ export enum FilterType { TREE_SELECT = 'TreeSelect', TEXTAREA = 'textArea', BOOLEAN = 'boolean', + CASCADER = 'Cascader', } export enum ViewTypeEnum {