提交 de8f483b 编写于 作者: KK's avatar KK

树逻辑 -- fix3

上级 1fa181c5
...@@ -124,16 +124,14 @@ import { Util } from '@ibiz-core/utils' ...@@ -124,16 +124,14 @@ import { Util } from '@ibiz-core/utils'
* @memberof ${srfclassname('${ctrl.codeName}')}Base * @memberof ${srfclassname('${ctrl.codeName}')}Base
*/ */
public treenodes:any = [ public treenodes:any = [
<#if ctrl.getPSDETreeNodes?? && ctrl.getPSDETreeNodes()??> <#assign rootnode>
<#list ctrl.getPSDETreeNodes() as node> <#if ctrl.getRootPSDETreeNode?? && ctrl.getRootPSDETreeNode()?? && ctrl.getRootPSDETreeNode().getNodeType?? && ctrl.getRootPSDETreeNode().getNodeType()??>
<#if node.isRootNode?? && node.isRootNode()?? && node.isRootNode()> <#assign rootnode = ctrl.getRootPSDETreeNode().getNodeType()>
<#if node.getPSDETreeNodeRSs?? && node.getPSDETreeNodeRSs()??>
<#list node.getPSDETreeNodeRSs() as nodeitem>
<#if nodeitem.getChildPSDETreeNode?? && nodeitem.getChildPSDETreeNode()??>
<#assign nodeitemchild = nodeitem.getChildPSDETreeNode()>
<#if nodeitemchild.getTreeNodeType?? && nodeitemchild.getTreeNodeType()?? && nodeitemchild.getTreeNodeType() != 'STATIC' || nodeitemchild.hasPSDETreeNodeRSs?? && nodeitemchild.hasPSDETreeNodeRSs()?? && nodeitemchild.hasPSDETreeNodeRSs()>
<#if nodeitemchild.getNodeType?? && nodeitemchild.getNodeType()??>'${nodeitemchild.getNodeType()}',</#if>
</#if> </#if>
<#if ctrl.getPSDETreeNodeRSs?? && ctrl.getPSDETreeNodeRSs()??>
<#list ctrl.getPSDETreeNodeRSs() as node>
<#if node.hasPSDETreeNodeRSs?? && node.hasPSDETreeNodeRSs()?? && node.hasPSDETreeNodeRSs() || node.getTreeNodeType?? && node.getTreeNodeType()?? && node.getTreeNodeType() != 'STATIC'>
<#if node.getNodeType?? && node.getNodeType()??>'${nodeitemchild.getNodeType()};${rootnode}',</#if>
</#if> </#if>
</#list> </#list>
</#if> </#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册