View_Pos_Top_Msgs.vue.ftl 727 字节
Newer Older
ibizdev's avatar
ibizdev committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<div class='view-top-messages'>
<#if view.getPSViewMsgGroup()??>
<#assign viewMsgGroup = view.getPSViewMsgGroup()/>
    <#list viewMsgGroup.getPSViewMsgGroupDetails() as detail>
    <#assign msg = detail.getPSViewMsg()>
    <#--  BEGIN:暂时支持静态  -->
    <#if msg.getCodeName() != '' && msg.getPosition() == 'TOP' && msg.getDynamicMode() == 0>
    <#assign type = msg.getMessageType() />
    <alert type='<#if type == 'INFO'>info<#elseif type == 'WARN'>warning<#elseif type == 'ERROR'>error<#else>info</#if>' closable={${msg.isEnableRemove()?c}}>
        ${msg.getTitle()}
        <span slot='desc'>${msg.getMessage()}</span>
    </alert>
    </#if>
    <#--  END:暂时支持静态  -->
    </#list>
</#if>
</div>