EDITOR.vue.ftl 794 字节
Newer Older
tony001's avatar
tony001 committed
1
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
2 3
<#if editor?? && editor.render??> 
    ${editor.render.code}
4
<#else>
tony001's avatar
tony001 committed
5 6 7 8 9 10
<app-checkbox-list 
  v-model="data.${editor.name}" 
  :data="data" 
  :context="context"
  :viewparams="viewparams" 
  :disabled="detailsModel.${editor.name}.disabled" 
tony001's avatar
tony001 committed
11 12
  :localContext =<@getNavigateContext editor />
  :localParam =<@getNavigateParams editor />
tony001's avatar
tony001 committed
13 14 15 16 17 18 19 20 21 22 23
  <#if editor.getPSCodeList()??>
  <#assign codelist=editor.getPSCodeList()>
  tag='${codelist.codeName}' 
  codelistType='${codelist.getCodeListType()}' 
  <#if codelist.valueSeparator?has_content>
  valueSeparator="${codelist.valueSeparator}"
  </#if>  
  mode="${codelist.getOrMode()?lower_case}"
  </#if> 
  name="${editor.name}" 
  style="${editor.getEditorCssStyle()}">
24 25
</app-checkbox-list>
</#if>