提交 fb494c8e 编写于 作者: Mosher's avatar Mosher

update:更新表格导航

上级 46cfbb69
<#if view.getPSViewMsgGroup()?? && view.getPSViewMsgGroup().getPSAppViewMsgGroupDetails?? && view.getPSViewMsgGroup().getPSAppViewMsgGroupDetails()??>
<#assign hasBody = false/>
<#list view.getPSViewMsgGroup().getPSAppViewMsgGroupDetails() as detail>
<#if detail.getPosition?? && detail.getPosition()?? && detail.getPosition() == 'BODY'>
<#assign hasBody = true/>
</#if>
</#list>
<#if hasBody>
<div class='view-body-messages'> <div class='view-body-messages'>
<#if view.getPSViewMsgGroup()??> <#assign viewMsgGroup = view.getPSViewMsgGroup()/>
<#assign viewMsgGroup = view.getPSViewMsgGroup()/> <#compress>
<#compress>
<#if viewMsgGroup.getCodeName()??> <#if viewMsgGroup.getCodeName()??>
<app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='${viewMsgGroup.getCodeName()}' viewname='${view.getCodeName()?lower_case}'></app-alert-group> <app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='${viewMsgGroup.getCodeName()}' viewname='${view.getCodeName()?lower_case}'></app-alert-group>
<#else> <#else>
<app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='${viewMsgGroup.getName()}' viewname='${view.getCodeName()?lower_case}'></app-alert-group> <app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='${viewMsgGroup.getName()}' viewname='${view.getCodeName()?lower_case}'></app-alert-group>
</#if> </#if>
</#compress> </#compress>
</#if>
</div> </div>
</#if>
</#if>
\ No newline at end of file
<div class='view-bottom-messages'>
<#if view.getPSViewMsgGroup()??> <#if view.getPSViewMsgGroup()??>
<#assign viewMsgGroup = view.getPSViewMsgGroup()/> <#assign hasBottom = false/>
<#compress> <#list view.getPSViewMsgGroup().getPSAppViewMsgGroupDetails() as detail>
<#if detail.getPosition?? && detail.getPosition()?? && detail.getPosition() == 'BOTTOM'>
<#assign hasBottom = true/>
</#if>
</#list>
<#if hasBottom>
<div class='view-bottom-messages'>
<#assign viewMsgGroup = view.getPSViewMsgGroup()/>
<#compress>
<#if viewMsgGroup.getCodeName()??> <#if viewMsgGroup.getCodeName()??>
<app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='${viewMsgGroup.getCodeName()}' viewname='${view.getCodeName()?lower_case}'></app-alert-group> <app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='${viewMsgGroup.getCodeName()}' viewname='${view.getCodeName()?lower_case}'></app-alert-group>
<#else> <#else>
<app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='${viewMsgGroup.getName()}' viewname='${view.getCodeName()?lower_case}'></app-alert-group> <app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='${viewMsgGroup.getName()}' viewname='${view.getCodeName()?lower_case}'></app-alert-group>
</#if> </#if>
</#compress> </#compress>
</#if>
</div> </div>
</#if>
</#if>
\ No newline at end of file
<div class='view-top-messages'>
<#if view.getPSViewMsgGroup()??> <#if view.getPSViewMsgGroup()??>
<#assign viewMsgGroup = view.getPSViewMsgGroup()/> <#assign hasTop = false/>
<#compress> <#list view.getPSViewMsgGroup().getPSAppViewMsgGroupDetails() as detail>
<#if detail.getPosition?? && (detail.getPosition() == '' || detail.getPosition() == 'TOP' || detail.getPosition() == 'POPUP')>
<#assign hasTop = true/>
</#if>
</#list>
<#if hasTop>
<div class='view-top-messages'>
<#assign viewMsgGroup = view.getPSViewMsgGroup()/>
<#compress>
<#if viewMsgGroup.getCodeName()??> <#if viewMsgGroup.getCodeName()??>
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='${viewMsgGroup.getCodeName()}' viewname='${view.getCodeName()?lower_case}'></app-alert-group> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='${viewMsgGroup.getCodeName()}' viewname='${view.getCodeName()?lower_case}'></app-alert-group>
<#else> <#else>
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='${viewMsgGroup.getName()}' viewname='${view.getCodeName()?lower_case}'></app-alert-group> <app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='${viewMsgGroup.getName()}' viewname='${view.getCodeName()?lower_case}'></app-alert-group>
</#if> </#if>
</#compress> </#compress>
</#if>
</div> </div>
</#if>
</#if>
\ No newline at end of file
...@@ -20,21 +20,22 @@ ...@@ -20,21 +20,22 @@
</@ibizindent> </@ibizindent>
<#-- END:视图内容区视图消息 --> <#-- END:视图内容区视图消息 -->
<split v-model="split" mode="<#if view.getSideBarLayout()?? && view.getSideBarLayout() == "LEFT">horizontal<#else>vertical</#if>" @on-move-end="onSplitChange"> <split v-model="split" mode="<#if view.getSideBarLayout()?? && view.getSideBarLayout() == "LEFT">horizontal<#else>vertical</#if>" @on-move-end="onSplitChange">
<div slot="<#if view.getSideBarLayout()?? && view.getSideBarLayout() == "LEFT">left<#else>top</#if>"> <template slot="<#if view.getSideBarLayout()?? && view.getSideBarLayout() == "LEFT">left<#else>top</#if>">
<#if view.hasPSControl('gridexpbar')> <#if view.hasPSControl('gridexpbar')>
${P.getCtrlCode('gridexpbar', 'CONTROL.html').code} ${P.getCtrlCode('gridexpbar', 'CONTROL.html').code}
</#if> </#if>
</div> </template>
<div slot="<#if view.getSideBarLayout()?? && view.getSideBarLayout() == "LEFT">right<#else>bottom</#if>"> <template slot="<#if view.getSideBarLayout()?? && view.getSideBarLayout() == "LEFT">right<#else>bottom</#if>">
<component <component
v-if="navItem && navItem.navView" v-if="navItem && navItem.navView"
:is="navItem.navView" :is="navItem.navView"
:key="navItem.data && navItem.data.length ? navItem.data[0].srfkey : ''"
class="viewcontainer2" class="viewcontainer2"
:viewDefaultUsage="false" :viewDefaultUsage="false"
:viewdata="JSON.stringify(navItem.srfnavdata.context)" :viewdata="JSON.stringify(navItem.srfnavdata.context)"
:viewparam="JSON.stringify(navItem.srfnavdata.viewparams)"> :viewparam="JSON.stringify(navItem.srfnavdata.viewparams)">
</component> </component>
</div> </template>
</split> </split>
</div> </div>
<#-- BEGIN:视图底部视图消息 --> <#-- BEGIN:视图底部视图消息 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册