PANELEDITOR.vue.ftl 791 字节
Newer Older
1 2
<#if editor?? && editor.render??> 
    ${editor.render.code}
Mosher's avatar
Mosher committed
3
<#else>
tony001's avatar
tony001 committed
4
<app-rate 
5 6 7 8 9 10 11
    name="${editor.name}"
    style="${editor.getEditorCssStyle()}"
    :value="layoutData.${editor.name}" 
    :disabled="layoutModelDetails.${editor.name}.disabled" 
<#if item.getEditorParam('max','') != ''>
    :max="${item.getEditorParam('max','')}"
</#if>
12 13
<#if item.getPSCodeList?? && item.getPSCodeList()??>
  <#assign codelist=item.getPSCodeList()>
14 15
    tag="${codelist.codeName}"
    codelistType="${codelist.getCodeListType()}"
16
  <#if codelist.getValueSeparator?? && codelist.getValueSeparator()?? && codelist.getValueSeparator() != ''>
17
    valueSeparator="${codelist.getValueSeparator()}"
18
  </#if>
19 20
</#if> 
    @change="(value) => handleValueChange({ name: '${editor.name}', value})">
Mosher's avatar
Mosher committed
21 22
</app-rate>
</#if>