提交 005886a6 编写于 作者: WodahsOrez's avatar WodahsOrez

lxm--表格视图搜索

上级 fa39b2a4
...@@ -8,4 +8,16 @@ ...@@ -8,4 +8,16 @@
<#else> <#else>
<#nested> <#nested>
</#if> </#if>
</#macro>
<#macro getQuickSearchPlaceholder view>
请输入<#t>
<#if view.getPSDataEntity?? && view.getPSDataEntity()?? && view.getPSDataEntity().getAllPSDEFields?? && view.getPSDataEntity().getAllPSDEFields()??>
<#list view.getPSDataEntity().getAllPSDEFields() as field>
<#if field.isEnableQuickSearch()>
<#if field_index != 0>,</#if><#t>
${field.getLogicName()}<#t>
</#if>
</#list>
</#if>
</#macro> </#macro>
\ No newline at end of file
<#ibizinclude>../../@MACRO/FUNC/MACRO.ftl</#ibizinclude>
<#assign MDContent><#t> <#assign MDContent><#t>
<#if view.getPSSysCounterRef() ?? && view.getPSSysCounterRef().getPSAppCounter()??> <#if view.getPSSysCounterRef() ?? && view.getPSSysCounterRef().getPSAppCounter()??>
<#assign appCounter = view.getPSSysCounterRef().getPSAppCounter() /> <#assign appCounter = view.getPSSysCounterRef().getPSAppCounter() />
...@@ -25,7 +26,7 @@ ${P.getCtrlCode('grid', 'CONTROL.html').code} ...@@ -25,7 +26,7 @@ ${P.getCtrlCode('grid', 'CONTROL.html').code}
</div> </div>
</#if> </#if>
<#if view.isEnableQuickSearch()> <#if view.isEnableQuickSearch()>
<i-input<#if view.hasPSControl('searchform')><#if view.isExpandSearchForm??> v-show="!isExpandSearchForm"</#if></#if> v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' /> <i-input<#if view.hasPSControl('searchform')><#if view.isExpandSearchForm??> v-show="!isExpandSearchForm"</#if></#if> v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="<@getQuickSearchPlaceholder view />" />
</#if> </#if>
<div class='pull-right'> <div class='pull-right'>
<#if view.hasPSControl('toolbar')> <#if view.hasPSControl('toolbar')>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册