EDITOR.vue.ftl 1.2 KB
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 10 11
<#if editor.getEditorParam("PICKUPVIEW",true)??>
  <#if editor.getPickupPSAppView()??>
<app-picker-select-view 
  :formState="formState" 
  :data="data"
  :context="context"
  :viewparams="viewparams"
tony001's avatar
tony001 committed
12 13
  :localContext =<@getNavigateContext editor />
  :localParam =<@getNavigateParams editor />
14 15 16 17
    <#if editor.getPickupPSAppView().getViewType() == 'DEMPICKUPVIEW'>
  :isSingleSelect="false"
    </#if>
  :disabled="detailsModel.${editor.name}.disabled" 
18 19 20
  <#if item.getPlaceHolder()??>
  placeholder="${item.getPlaceHolder()}"
  </#if>
21 22 23 24 25 26 27 28 29 30 31 32 33
  name='${editor.name}'
    <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
  deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
  deKeyField='${editor.getPSAppDataEntity().getCodeName()?lower_case}'
    </#if>
  :service="service"
  valueitem='${editor.getValueItemName()}' 
  :value="data.${editor.name}"
  :pickupView=<@getPickupView editor />
  style="${editor.getEditorCssStyle()}"  
  @formitemvaluechange="onFormItemValueChange">
</app-picker-select-view>
  </#if>
34
</#if>
35
</#if>