GRIDEIDTOR.vue.ftl 790 字节
Newer Older
1
<#if item.render??>
2 3
    ${item.render.code}
<#else>
4 5 6
<app-file-upload 
  :formState="viewState" 
  :ignorefieldvaluechange="false" 
7
  @formitemvaluechange="($event)=>{onGridItemValueChange(row,$event,$index)}" 
8 9 10 11 12 13
  :data="JSON.stringify(row)" 
  :name='column.property' 
  :value="row[column.property]" 
  :disabled="row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1" 
  :rowPreview="true"
  :imageOnly="true"
14 15
  :uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>' :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'
  style="${editor.getEditorCssStyle()}overflow: auto;">
16 17
</app-file-upload>
</#if>