fix: 高级筛选-所属模块的输入框可以搜索&有默认提示信息
--bug=1046360 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001046360 --bug=1046335 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001046335
This commit is contained in:
parent
fab8e55180
commit
128fc3f778
|
@ -126,6 +126,15 @@
|
||||||
v-model:model-value="item.value"
|
v-model:model-value="item.value"
|
||||||
:data="item.treeSelectData"
|
:data="item.treeSelectData"
|
||||||
:disabled="isValueDisabled(item)"
|
:disabled="isValueDisabled(item)"
|
||||||
|
allow-search
|
||||||
|
:placeholder="t('common.pleaseSelect')"
|
||||||
|
:filter-tree-node="filterTreeNode"
|
||||||
|
:tree-props="{
|
||||||
|
virtualListProps: {
|
||||||
|
height: 200,
|
||||||
|
threshold: 200,
|
||||||
|
},
|
||||||
|
}"
|
||||||
v-bind="item.treeSelectProps"
|
v-bind="item.treeSelectProps"
|
||||||
>
|
>
|
||||||
<template #tree-slot-title="node">
|
<template #tree-slot-title="node">
|
||||||
|
@ -221,6 +230,7 @@
|
||||||
import { addView, getViewDetail, updateView } from '@/api/modules/user/index';
|
import { addView, getViewDetail, updateView } from '@/api/modules/user/index';
|
||||||
import { useI18n } from '@/hooks/useI18n';
|
import { useI18n } from '@/hooks/useI18n';
|
||||||
import useAppStore from '@/store/modules/app';
|
import useAppStore from '@/store/modules/app';
|
||||||
|
import { filterTreeNode } from '@/utils';
|
||||||
|
|
||||||
import { SelectValue } from '@/models/projectManagement/menuManagement';
|
import { SelectValue } from '@/models/projectManagement/menuManagement';
|
||||||
import { FilterType, OperatorEnum, ViewTypeEnum } from '@/enums/advancedFilterEnum';
|
import { FilterType, OperatorEnum, ViewTypeEnum } from '@/enums/advancedFilterEnum';
|
||||||
|
|
Loading…
Reference in New Issue