提交 9accc83d 编写于 作者: tony001's avatar tony001

zpc --- 零时修复

上级 a725014a
<#-- 计数器ui -->
<#macro badge item> <#macro badge item>
<#if item.getPSUIAction?? && item.getPSUIAction()?? && item.getPSUIAction().getPSAppCounter?? && item.getPSUIAction().getPSAppCounter()??> <#if item.getPSUIAction?? && item.getPSUIAction()?? && item.getPSUIAction().getPSAppCounter?? && item.getPSUIAction().getPSAppCounter()??>
<#assign uiaction = item.getPSUIAction() /> <#assign uiaction = item.getPSUIAction() />
...@@ -9,3 +10,17 @@ ...@@ -9,3 +10,17 @@
<#nested> <#nested>
</#if> </#if>
</#macro> </#macro>
<#-- 搜索框的输入提示信息 -->
<#macro getQuickSearchPlaceholder view>
请输入<#t>
<#assign isdrawcComma = false />
<#if view.getPSDataEntity?? && view.getPSDataEntity()?? && view.getPSDataEntity().getAllPSDEFields?? && view.getPSDataEntity().getAllPSDEFields()??>
<#list view.getPSDataEntity().getAllPSDEFields() as field>
<#if field.isEnableQuickSearch()>
<#if isdrawcComma>,<#else><#assign isdrawcComma = true /></#if><#t>
${field.getLogicName()}<#t>
</#if>
</#list>
</#if>
</#macro>
\ No newline at end of file
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
} }
.grid-pagination { .grid-pagination {
height: 36px; height: 36px;
padding: 6px 0px; padding: 2px 0px;
button{ button{
height: 22px; height: 22px;
} }
......
<#ibizinclude>../../@MACRO/FUNC/MACRO.ftl</#ibizinclude>
<#if view.getPSSysCss?? && view.getPSSysCss()??> <#if view.getPSSysCss?? && view.getPSSysCss()??>
<#assign styleName = view.getPSSysCss().getCssName()/> <#assign styleName = view.getPSSysCss().getCssName()/>
</#if> </#if>
...@@ -6,7 +7,7 @@ ...@@ -6,7 +7,7 @@
<#else> <#else>
<#assign isStyleName = false/> <#assign isStyleName = false/>
</#if> </#if>
<app-layout viewName="${view.getCodeName()?lower_case}" viewTitle="${view.getTitle()}"<#if view.isShowCaptionBar?? && (view.isShowCaptionBar() == false)> :isShowCaptionBar="false"</#if><#if !view.hasPSControl('toolbar')> :isShowToolbar="false"</#if> :className="{ 'view-container': true<#if !isStyleName>, 'default-mode-view': true</#if>, '${view.getViewType()?lower_case}': true, '${srffilepath2(view.getCodeName())}': true<#if view.getPSSysCss?? && view.getPSSysCss()??>, '${view.getPSSysCss().getCssName()}': true</#if><#if viewStyle??>, '${viewStyle}': true</#if> }"<#if !isStyleName> layoutMode="VIEW"</#if> :isShowUserInfo="isDefaultView()" :openMode="openMode" @close-view="closeView($event)"> <app-layout viewName="${view.getCodeName()?lower_case}" viewTitle="${view.getTitle()}"<#if (noCaption?? && noCaption) || (view.isShowCaptionBar?? && (view.isShowCaptionBar() == false))> :isShowCaptionBar="false"</#if><#if !view.hasPSControl('toolbar')> :isShowToolbar="false"</#if> :className="{ 'view-container': true<#if !isStyleName>, 'default-mode-view': true</#if>, '${view.getViewType()?lower_case}': true, '${srffilepath2(view.getCodeName())}': true<#if view.getPSSysCss?? && view.getPSSysCss()??>, '${view.getPSSysCss().getCssName()}': true</#if><#if viewStyle??>, '${viewStyle}': true</#if> }"<#if !isStyleName> layoutMode="VIEW"</#if> :isShowUserInfo="isDefaultView()" :openMode="openMode" @close-view="closeView($event)">
<template slot="headerLeft"> <template slot="headerLeft">
<div class="view-header-left"> <div class="view-header-left">
<#if isStyleName> <go-back-button v-if="isDefaultView()"/></#if> <#if isStyleName> <go-back-button v-if="isDefaultView()"/></#if>
...@@ -17,7 +18,7 @@ ...@@ -17,7 +18,7 @@
<#if view.hasPSControl('toolbar')> <#if view.hasPSControl('toolbar')>
<template slot="headerRight"> <template slot="headerRight">
<div class="view-header-right"> <div class="view-header-right">
<app-header-menus :toolbarModel="toolBarModels" @menu-click="toolbar_click($event)" mode="<#if isStyleName>view2<#else><#if header_menu_mode??>${header_menu_mode}<#else>view</#if></#if>" :openMode="openMode"<#if view.isEnableQuickSearch?? && view.isEnableQuickSearch()> :isEnableQuickSearch="true" v-model="query" @search="onSearch($event)"</#if>/> <app-header-menus :toolbarModel="toolBarModels" @menu-click="toolbar_click($event)" mode="<#if isStyleName>view2<#else><#if header_menu_mode??>${header_menu_mode}<#else>view</#if></#if>" :openMode="openMode"<#if view.isEnableQuickSearch?? && view.isEnableQuickSearch()> :isEnableQuickSearch="true" searchPlaceholder="<@getQuickSearchPlaceholder view />" v-model="query" @search="onSearch($event)"</#if>/>
</div> </div>
</template> </template>
</#if> </#if>
......
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
</card> </card>
</div> </div>
</#assign> </#assign>
<#assign noCaption = true />
<#ibizinclude> <#ibizinclude>
../@MACRO/VIEW_LAYOUT_BASE.ftl ../@MACRO/VIEW_LAYOUT_BASE.ftl
</#ibizinclude> </#ibizinclude>
\ No newline at end of file
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
</row> </row>
</card> </card>
</#assign> </#assign>
<#assign noCaption = true />
<#ibizinclude> <#ibizinclude>
../@MACRO/VIEW_LAYOUT_BASE.ftl ../@MACRO/VIEW_LAYOUT_BASE.ftl
</#ibizinclude> </#ibizinclude>
\ No newline at end of file
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
</#if> </#if>
</@ibizindent> </@ibizindent>
</#assign> </#assign>
<#assign noCaption = true />
<#ibizinclude> <#ibizinclude>
../@MACRO/VIEW_LAYOUT_BASE.ftl ../@MACRO/VIEW_LAYOUT_BASE.ftl
</#ibizinclude> </#ibizinclude>
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
</#if> </#if>
</@ibizindent> </@ibizindent>
</#assign> </#assign>
<#assign noCaption = true />
<#ibizinclude> <#ibizinclude>
../@MACRO/VIEW_LAYOUT_BASE.ftl ../@MACRO/VIEW_LAYOUT_BASE.ftl
</#ibizinclude> </#ibizinclude>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册