<AppUpload
{{#eq ctrlType 'grid'}}
  name="{{#if dataItemName}}{{dataItemName}}{{else}}{{item.codeName}}{{/if}}"
{{/eq}}
{{#eq ctrlType 'panel'}}
  name="{{item.name}}"
{{/eq}}
{{#eq ctrlType 'form'}}
  name="{{item.codeName}}"
{{/eq}}
{{#if item.psEditor.editorParams}}
  {{#jsonParse item.psEditor.editorParams}}
    {{#if method}}
  method="{{method}}"
    {{/if}}
    {{#if multiple}}
  multiple="{{multiple}}"
    {{/if}}
    {{#if showUploadList}}
  :showUploadList="{{showUploadList}}"
    {{/if}}
  {{/jsonParse}}
{{/if}}
{{#if (eq ctrlType 'form')}}
  :disabled="state.detailsModel.{{item.codeName}}.disabled"
{{else if (eq ctrlType 'grid')}}
  {{#if (eq item.enableCond 0)}}
  :disabled="true"
  {{else if (eq item.enableCond 1)}}
  :disabled="!Object.is(record.srfuf,0)"
  {{else if (eq item.enableCond 2)}}
  :disabled="!Object.is(record.srfuf,1)"
  {{/if}}
{{else if (eq ctrlType 'panel')}}
  :disabled="state.detailsModel.{{item.name}}.disabled"
{{/if}}
{{#if item.psEditor.readOnly}}
  :readonly="{{item.psEditor.readOnly}}"
{{/if}}
{{!-- TODO maxFileContent识别 --}}
{{#if item.psEditor.editorParams}}
  {{#jsonParse item.psEditor.editorParams}}
    {{#if limit}}
  :limit="{{limit}}"
    {{/if}}
  {{/jsonParse}}
{{/if}}
{{#eq item.psEditor.editorType "PICTURE"}}
  accept='image/*'
  listType="picture-card"
{{/eq}}
{{#eq item.psEditor.editorType "PICTURE_ONE"}}
  accept='image/*'
  listType="picture-card"
{{/eq}}
{{#if (or (eq ctrlType 'form') (eq ctrlType 'panel'))}}
  :value="state.data.{{item.psEditor.name}}"
  @editorEvent="onEditorEvent"
{{/if}}
{{#eq ctrlType 'grid'}}
  :value="record.{{#if dataItemName}}{{dataItemName}}{{else}}{{item.psEditor.name}}{{/if}}"
  @editorEvent="onEditorEvent($event,index)"
{{/eq}}
/>
