提交 d31b24c7 编写于 作者: zhujiamin's avatar zhujiamin

增加搜索历史组件

上级 37e82e72
......@@ -72,12 +72,7 @@
<#-- 输出快速搜索:BEGIN -->
<#if view.isEnableQuickSearch?? && view.isEnableQuickSearch() == true>
<ion-toolbar>
<ion-searchbar style="height: 36px; padding-bottom: 0px;" :placeholder="$t('app.fastsearch')" debounce="500" @ionChange="quickValueChange($event)" show-cancel-button="focus" :cancel-button-text="$t('app.button.cancel')"></ion-searchbar>
<#if view.hasPSControl('searchform')>
<ion-button class="filter-btn" size="small" slot="end" @click="openSearchform"><ion-icon slot="end" name="filter-outline"></ion-icon>过滤</ion-button>
</#if>
</ion-toolbar>
<app-search-history @quickValueChange="quickValueChange" @openSearchform="openSearchform" :model="model" :showfilter="${view.hasPSControl('searchform')}"></app-search-history>
</#if>
<#if view.isEnableQuickGroup?? && view.isEnableQuickGroup()?? && view.isEnableQuickGroup() == true>
......
......@@ -170,6 +170,7 @@ export default class ${srfclassname('${view.name}')}Base extends Vue {
srfCaption: '<#if view.getPSAppDataEntity()??>${view.getPSAppDataEntity().getCodeName()?lower_case}.views.${view.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${view.getCodeName()?lower_case}.caption</#if>',
srfSubCaption: '<#if view.getSubCaption()??>${view.getSubCaption()}</#if>',
dataInfo: '',
viewname:'<#if view.getPSAppDataEntity()??>${view.getPSAppDataEntity().getCodeName()?lower_case}.${view.getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${view.getCodeName()?lower_case}</#if>',
<#if view.getPSSysImage?? && view.getPSSysImage()??>
iconcls: '${view.getPSSysImage().getImagePath()}',
icon: '${view.getPSSysImage().getCssClass()}'
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册