[update] 修改高级检索和标准搜索条件树查询可清空

This commit is contained in:
lideqin
2023-12-08 18:18:51 +08:00
parent 73efcb60be
commit 2828550629
2 changed files with 10 additions and 3 deletions
+8 -3
View File
@@ -17,6 +17,7 @@
:tree-data="optionsData[item.dbFieldName]"
tree-checkable
show-search
allowClear
:filterTreeNode="filterTreeOption"
:placeholder="$t('pleaseSelect')+item.dbFieldTxt"
/>
@@ -32,6 +33,7 @@
:getPopupContainer="triggerNode=> triggerNode.parentNode"
:tree-data="optionsData[item.dbFieldName]"
show-search
allowClear
:filterTreeNode="filterTreeOption"
:placeholder="$t('pleaseSelect')+item.dbFieldTxt"
/>
@@ -88,7 +90,7 @@
tree-node-filter-prop="title"
v-model="queryParam[item.dbFieldName]"
:maxTagCount="1"
:show-search="true"
allowClear
:getPopupContainer="triggerNode=> triggerNode.parentNode"
class="box-input"
style="width: 100%"
@@ -106,7 +108,7 @@
tree-node-filter-prop="title"
v-model="queryParam[item.dbFieldName]"
:maxTagCount="1"
:show-search="true"
allowClear
:getPopupContainer="triggerNode=> triggerNode.parentNode"
class="box-input"
style="width: 100%"
@@ -150,6 +152,7 @@
treeCheckStrictly
:placeholder="$t('pleaseSelect')+item.dbFieldTxt"
show-search
allowClear
:filterTreeNode="filterTreeOption"
/>
</a-form-item>
@@ -165,6 +168,7 @@
:tree-data="optionsData[item.dbFieldName]"
:placeholder="$t('pleaseSelect')+item.dbFieldTxt"
show-search
allowClear
:filterTreeNode="filterTreeOption"
/>
</a-form-item>
@@ -185,13 +189,13 @@
tree-node-filter-prop="title"
v-model="queryParam[item.dbFieldName]"
:maxTagCount="1"
:show-search="true"
:getPopupContainer="triggerNode=> triggerNode.parentNode"
class="box-input"
style="width: 100%"
:tree-data="categoryTreeList"
:placeholder="$t('pleaseSelect') + item.dbFieldTxt"
show-search
allowClear
:filterTreeNode="filterTreeOption"
/>
</a-form-item>
@@ -204,6 +208,7 @@
v-model="queryParam[item.dbFieldName]"
:maxTagCount="1"
:show-search="true"
allowClear
:getPopupContainer="triggerNode=> triggerNode.parentNode"
class="box-input"
style="width: 100%"