PANELEDITOR.vue.ftl 964 字节
Newer Older
WodahsOrez's avatar
WodahsOrez committed
1
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
2 3
<#if editor?? && editor.render??> 
    ${editor.render.code}
Mosher's avatar
Mosher committed
4
<#else>
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<app-span 
    name="${editor.name}" 
    :value="layoutData.${editor.name}" 
    <#if item.getPSCodeList?? && item.getPSCodeList()??>
    <#assign codelist=item.getPSCodeList() />
    tag="${codelist.codeName}" 
    codelistType="${codelist.getCodeListType()}" 
    <#if codelist.getOrMode?? && codelist.getOrMode()?has_content>
    renderMode="${codelist.getOrMode()}" 
    </#if>
    <#if codelist.valueSeparator?has_content>
    valueSeparator="${codelist.valueSeparator}" 
    </#if>
    <#if codelist.textSeparator?has_content>
    textSeparator="${codelist.textSeparator}" 
    </#if>
    </#if>
    :data="layoutData" 
    :context="context"
    :viewparams="viewparams"
    :localContext=<@getNavigateContext editor />
    :localParam=<@getNavigateParams editor />
    style="${editor.getEditorCssStyle()}">
</app-span>
Mosher's avatar
Mosher committed
29
</#if>