PANELEDITOR.vue.ftl 823 字节
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
 <dropdown-list 
  v-model="data.${editor.name?lower_case}" 
7
  :disabled="detailsModel.${item.getCodeName()}.disabled"
tony001's avatar
tony001 committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21
  :data="data" 
  :context="context"
  :viewparams="viewparams" 
  :localContext =<@getNavigateContext editor />
  :localParam =<@getNavigateParams editor />
<#if item.getPSCodeList()??>
  <#assign codelist=item.getPSCodeList()>
  tag='${codelist.codeName}' 
  codelistType='${codelist.getCodeListType()}'
</#if> 
  placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>'请选择...'</#if> 
  style="${item.getEditorCssStyle()}width: 100px;" 
  @change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
 </dropdown-list>
22
</#if>