提交 e2f0d18f 编写于 作者: Mosher's avatar Mosher

评分器编辑器增加代码表发布

上级 9943b1c0
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<app-rate name='${editor.name}' :value="this.data.${editor.name}" @change="($event)=>{this.data.${editor.name} = $event} " :disabled="detailsModel.${editor.name}.disabled" style="${editor.getEditorCssStyle()}"></app-rate>
<app-rate
name='${editor.name}'
:value="this.data.${editor.name}"
@change="($event)=>{this.data.${editor.name} = $event} "
:disabled="detailsModel.${editor.name}.disabled"
style="${editor.getEditorCssStyle()}">
<#if item.getPSCodeList?? && item.getPSCodeList()??>
<#assign codelist=item.getPSCodeList()>
tag='${codelist.codeName}' <#t>
codelistType='${codelist.getCodeListType()}' <#t>
<#if codelist.getValueSeparator?? && codelist.getValueSeparator()?? && codelist.getValueSeparator() != ''>
valueSeparator='${codelist.getValueSeparator()}' <#t>
</#if>
</#if>
</app-rate>
</#if>
\ No newline at end of file
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<app-rate name='${item.name}' :value="row[column.property]" @change="($event)=>{row[column.property] = $event; gridEditItemChange(row, column.property, $event, $index)} " :disabled="getColumnDisabled(row,column.property)" style="${item.getEditorCssStyle()}"></app-rate>
<app-rate
name='${item.name}'
:value="row[column.property]"
@change="($event)=>{row[column.property] = $event; gridEditItemChange(row, column.property, $event, $index)} "
:disabled="getColumnDisabled(row,column.property)"
<#if item.getPSCodeList?? && item.getPSCodeList()??>
<#assign codelist=item.getPSCodeList()>
tag='${codelist.codeName}' <#t>
codelistType='${codelist.getCodeListType()}' <#t>
<#if codelist.getValueSeparator?? && codelist.getValueSeparator()?? && codelist.getValueSeparator() != ''>
valueSeparator='${codelist.getValueSeparator()}' <#t>
</#if>
</#if>
style="${item.getEditorCssStyle()}"></app-rate>
</#if>
\ No newline at end of file
......@@ -6,6 +6,14 @@
:value="data.${editor.name?lower_case}"
@change="($event)=>{data.${editor.name?lower_case} = $event; panelEditItemChange(data, '${editor.name?lower_case}', $event)} "
:disabled="detailsModel.${item.getCodeName()}.disabled"
<#if item.getPSCodeList?? && item.getPSCodeList()??>
<#assign codelist=item.getPSCodeList()>
tag='${codelist.codeName}' <#t>
codelistType='${codelist.getCodeListType()}' <#t>
<#if codelist.getValueSeparator?? && codelist.getValueSeparator()?? && codelist.getValueSeparator() != ''>
valueSeparator='${codelist.getValueSeparator()}' <#t>
</#if>
</#if>
style="${item.getEditorCssStyle()}">
</app-rate>
</#if>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册