DRTAB.html.ftl 772 字节
Newer Older
1 2 3 4 5 6 7
<#-- ctrl document  -->
<view_${ctrl.getName()} 
    :viewState="viewState"  
    name='${ctrl.name}' 
    ref='${ctrl.name}' 
    :viewparams="viewparams" 
    :context="context"
tony001's avatar
tony001 committed
8
    :formData="formData"
9 10 11 12 13 14 15 16 17 18 19 20 21 22
    <#if ctrl.getPSAppDataEntity()??>parentName = "${ctrl.getPSAppDataEntity().getCodeName()}"</#if>
    <#if view.getViewType() == 'DEEDITVIEW4'>
    :isShowSlot="false"
    </#if>
    <#if ctrl.getHookEventNames()??>
    <#list ctrl.getHookEventNames() as eventName>
    @${eventName?lower_case}='${ctrl.name}_${eventName?lower_case}($event)' 
    </#list>
    </#if>
    @closeview='closeView($event)'>
    <#if view.getViewType() != 'DEEDITVIEW4' && view.hasPSControl('form')>
    ${P.getCtrlCode('form', 'CONTROL.html').code}
    </#if>
</view_${ctrl.getName()}>