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:
teukkk 2024-09-13 18:14:50 +08:00 committed by Craftsman
parent fab8e55180
commit 128fc3f778
1 changed files with 10 additions and 0 deletions

View File

@ -126,6 +126,15 @@
v-model:model-value="item.value"
:data="item.treeSelectData"
:disabled="isValueDisabled(item)"
allow-search
:placeholder="t('common.pleaseSelect')"
:filter-tree-node="filterTreeNode"
:tree-props="{
virtualListProps: {
height: 200,
threshold: 200,
},
}"
v-bind="item.treeSelectProps"
>
<template #tree-slot-title="node">
@ -221,6 +230,7 @@
import { addView, getViewDetail, updateView } from '@/api/modules/user/index';
import { useI18n } from '@/hooks/useI18n';
import useAppStore from '@/store/modules/app';
import { filterTreeNode } from '@/utils';
import { SelectValue } from '@/models/projectManagement/menuManagement';
import { FilterType, OperatorEnum, ViewTypeEnum } from '@/enums/advancedFilterEnum';