EDITOR.vue.ftl 969 字节
Newer Older
1
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
2 3
<#if editor?? && editor.render??> 
    ${editor.render.code}
4
<#else>
5 6 7 8 9
<app-picker 
  :formState="formState"
  :data="data"
  :context="context"
  :viewparams="viewparams"
10 11 12
  <#if item.getPlaceHolder()??>
  placeholder="${item.getPlaceHolder()}"
  </#if>
tony001's avatar
tony001 committed
13 14
  :localContext =<@getNavigateContext editor />
  :localParam =<@getNavigateParams editor />
15 16 17 18 19 20 21 22 23 24 25 26
  :disabled="detailsModel.${editor.name}.disabled"
  name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
  deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
  deKeyField='${editor.getPSAppDataEntity().getCodeName()?lower_case}'
</#if>
  valueitem='${editor.getValueItemName()}' 
  :value="data.${editor.name}"  
  editortype="linkonly" 
  :linkview=<@getLinkView editor /> 
  style="${editor.getEditorCssStyle()}"  
  @formitemvaluechange="onFormItemValueChange">
27 28
</app-picker>
</#if>