提交 f5ccedfb 编写于 作者: zhangpingchuan's avatar zhangpingchuan

zpc

上级 977951e0
......@@ -38,6 +38,30 @@ export default {
</#if>
},
/**
* 代码表模型
*
*/
codelistModel:{
<#if ctrl.getAllPSDEFormDetails()??>
<#list ctrl.getAllPSDEFormDetails() as formitem>
<#if formitem.isNeedCodeListConfig()?? && formitem.isNeedCodeListConfig() == true>
<#if formitem.getPSCodeList()??>
<#assign codelist=formitem.getPSCodeList()>
<#if codelist.getAllPSCodeItems()??>
${codelist.getSystemTag()}_${codelist.codeName}:[
<#list codelist.getAllPSCodeItems()?? as codeItem>
{codeItem.getCodeName():codeItem.getText()}<#if codeItem_has_next>,</#if>
</#list>
]
</#if>
</#if>
</#if>
</#list>
</#if>
},
/**
* 值规则
*
......
<div style="${item.getEditorCssStyle()}"><checkbox value={ !this.data.${item.name} ? false : true} on-on-change={($event: any) => $event ? this.data.${item.name} = 1 : this.data.${item.name} = 0} disabled={this.detailsModel.${item.name}.disabled}></checkbox></div>
\ No newline at end of file
<div style="${item.getEditorCssStyle()}">
<app-checkbox v-model="data.${item.name}" :disabled="detailsModel.${item.name}.disabled" @change="formItemChange('${item.name}',$event)"></app-checkbox>
</div>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册