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