GRIDEIDTOR.vue.ftl 976 字节
Newer Older
tony001's avatar
tony001 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>
tony001's avatar
tony001 committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<app-span <#t>
  name='${editor.name}' <#t>
  :value="row[column.property]" <#t>
<#if item.getPSCodeList?? && item.getPSCodeList()??>
  <#assign codelist=item.getPSCodeList() />
  tag='${codelist.codeName}' <#t>
  codelistType='${codelist.getCodeListType()}' <#t>
  <#if codelist.getOrMode?? && codelist.getOrMode()?has_content>
    renderMode="${codelist.getOrMode()}" <#t>
  </#if>
  <#if codelist.valueSeparator?has_content>
    valueSeparator="${codelist.valueSeparator}" <#t>
  </#if>
  <#if codelist.textSeparator?has_content>
    textSeparator="${codelist.textSeparator}" <#t>
  </#if>
</#if>
  :data="row" <#t>
  :context="context" <#t>
  :viewparams="viewparams" <#t>
  :localContext =<@getNavigateContext editor /> <#t>
  :localParam =<@getNavigateParams editor /> <#t>
  style="${editor.getEditorCssStyle()}"><#t>
Mosher's avatar
Mosher committed
28 29
</app-span><#lt>
</#if>