提交 8b1957ba 编写于 作者: JunZai's avatar JunZai

update

上级 f1d69f98
...@@ -55,6 +55,31 @@ export class ${srfclassname('${ctrl.name}')} implements OnInit { ...@@ -55,6 +55,31 @@ export class ${srfclassname('${ctrl.name}')} implements OnInit {
*/ */
@Output() dataChangeEvent: EventEmitter<any> = new EventEmitter<any>(); @Output() dataChangeEvent: EventEmitter<any> = new EventEmitter<any>();
/**
* 代码表模型
*
* @type {*}
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
public codelistModel: any = {
<#if ctrl.getAllPSDEFormDetails()??>
<#list ctrl.getAllPSDEFormDetails() as formitem>
<#if formitem.isNeedCodeListConfig?? && formitem.isNeedCodeListConfig()?? && formitem.isNeedCodeListConfig() == true>
<#if formitem.getPSCodeList()??>
<#assign codelist=formitem.getPSCodeList()>
<#if codelist.getAllPSCodeItems()??>
"${codelist.getSystemTag()}_${codelist.codeName}":[
<#list codelist.getAllPSCodeItems() as codeItem>
{"id":"${codeItem.getCodeName()}","text":"${codeItem.getText()}"}<#if codeItem_has_next>,</#if>
</#list>
],
</#if>
</#if>
</#if>
</#list>
</#if>
};
/** /**
* 属性值规则 * 属性值规则
* *
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册