PANELEDITOR.vue.ftl 1.1 KB
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<#if editor.getEditorParam("PICKUPVIEW",true)??>
  <#if editor.getPickupPSAppView()??>
<app-picker 
  :formState="viewState" 
  :data="data"
  :context="context"
  :viewparams="viewparams"
  :localContext =<@getNavigateContext editor />
  :localParam =<@getNavigateParams editor />
  :disabled="data.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1" 
  name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
  deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
  deKeyField='${editor.getPSAppDataEntity().getCodeName()?lower_case}'
</#if>
  :service="service"
  :acParams=<@getAcParams editor />
  valueitem='${editor.getValueItemName()}' 
  :value="data[${editor.name}]" 
  editortype="" 
  :pickupView=<@getPickupView editor />
  style="${editor.getEditorCssStyle()}"  
  @formitemvaluechange="($event)=>{onPanelItemValueChange(data,$event)}">
    <@getItemRender editor />
</app-picker>
  </#if>
</#if>