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

update:更新

上级 9ea9fcc8
...@@ -39,7 +39,44 @@ export default class ${srfclassname('${item.getCodeName()}')}UILogicBase { ...@@ -39,7 +39,44 @@ export default class ${srfclassname('${item.getCodeName()}')}UILogicBase {
protected logicNodes: any = { protected logicNodes: any = {
<#if item.getPSDEUILogicNodes?? && item.getPSDEUILogicNodes()??> <#if item.getPSDEUILogicNodes?? && item.getPSDEUILogicNodes()??>
<#list item.getPSDEUILogicNodes() as logicNode> <#list item.getPSDEUILogicNodes() as logicNode>
'${logicNode.codeName}': new <@getLogicNodeByType logicNode />(), <#assign node>
codeName: '${logicNode.codeName}',
name: '${logicNode.name}',
logicNodeType: '${logicNode.getLogicNodeType()}',
<#if logicNode.getDstPSDEUILogicParam?? && logicNode.getDstPSDEUILogicParam()??>
dstParam: '${logicNode.getSrcFieldName().codeName}',
</#if>
<#if logicNode.getDstIndex?? && logicNode.getDstIndex()??>
dstIndex: '${logicNode.getDstIndex()?c}',
</#if>
<#if logicNode.getSrcPSDEUILogicParam?? && logicNode.getSrcPSDEUILogicParam()??>
srcParam: '${logicNode.getSrcPSDEUILogicParam().codeName}',
</#if>
<#if logicNode.getSrcFieldName?? && logicNode.getSrcFieldName()??>
srcFieldName: '${logicNode.getSrcFieldName().codeName}',
</#if>
<#if logicNode.getSrcIndex?? && logicNode.getSrcIndex()??>
srcIndex: '${logicNode.getSrcIndex()?c}',
</#if>
<#if logicNode.getSrcSize?? && logicNode.getSrcSize()??>
srcSize: '${logicNode.getSrcSize()?c}',
</#if>
<#if logicNode.getPSDEUILogicLinks?? && logicNode.getPSDEUILogicLinks()??>
logicLinks: [
<#list logicNode.getPSDEUILogicLinks() as link>
{
name: '${link.name}',
dstLogicNode: '${link.getDstPSDEUILogicNode().codeName}',
<#if link.getPSDEUILogicLinkGroupCond?? && link.getPSDEUILogicLinkGroupCond()??>
// 逻辑连接暂未支持
linkGroupCond: [],
</#if>
}
</#list>
]
</#if>
</#assign>
<@compress single_line=true>'${logicNode.codeName}': new <@getLogicNodeByType logicNode />({ ${node} }),</@compress>
</#list> </#list>
</#if> </#if>
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册