提交 75703e2f 编写于 作者: tony001's avatar tony001

树部件导航数据处理

上级 6a14bf6d
......@@ -305,10 +305,10 @@ ${navParam.getKey()}:<#if navParam.isRawValue()?? && navParam.isRawValue() == tr
Object.assign(treeNode, { navfilter: "${node.getNavFilter()}" });
</#if>
<#if node.getPSNavigateContexts?? && node.getPSNavigateContexts()??>
Object.assign(treeNode, {navigateContext: '${node.getPSNavigateContexts()}' });
Object.assign(treeNode, {navigateContext: '<@getNavigateContext node />' });
</#if>
<#if node.getPSNavigateParams?? && node.getPSNavigateParams()??>
Object.assign(treeNode, {navigateParams: '${node.getPSNavigateParams()}' });
Object.assign(treeNode, {navigateParams: '<@getNavigateParams node />' });
</#if>
<#-- 补充nodeid和nodeid2 -->
Object.assign(treeNode, { nodeid: treeNode.srfkey });
......@@ -374,10 +374,10 @@ ${navParam.getKey()}:<#if navParam.isRawValue()?? && navParam.isRawValue() == tr
Object.assign(item, { navfilter: "${node.getNavFilter()}" });
</#if>
<#if node.getPSNavigateContexts?? && node.getPSNavigateContexts()??>
Object.assign(treeNode, {navigateContext: '${node.getPSNavigateContexts()}' });
Object.assign(treeNode, {navigateContext: '<@getNavigateContext node />' });
</#if>
<#if node.getPSNavigateParams?? && node.getPSNavigateParams()??>
Object.assign(treeNode, {navigateParams: '${node.getPSNavigateParams()}' });
Object.assign(treeNode, {navigateParams: '<@getNavigateParams node />' });
</#if>
<#-- 补充nodeid和nodeid2 -->
Object.assign(item, { nodeid: item.srfkey });
......@@ -443,10 +443,10 @@ ${navParam.getKey()}:<#if navParam.isRawValue()?? && navParam.isRawValue() == tr
Object.assign(treeNode, { navfilter: "${node.getNavFilter()}" });
</#if>
<#if node.getPSNavigateContexts?? && node.getPSNavigateContexts()??>
Object.assign(treeNode, {navigateContext: '${node.getPSNavigateContexts()}' });
Object.assign(treeNode, {navigateContext: '<@getNavigateContext node />' });
</#if>
<#if node.getPSNavigateParams?? && node.getPSNavigateParams()??>
Object.assign(treeNode, {navigateParams: '${node.getPSNavigateParams()}' });
Object.assign(treeNode, {navigateParams: '<@getNavigateParams node />' });
</#if>
if(item.children && item.children.length >0){
Object.assign(treeNode, { children: item.children });
......@@ -574,10 +574,10 @@ ${navParam.getKey()}:<#if navParam.isRawValue()?? && navParam.isRawValue() == tr
Object.assign(treeNode, { navfilter: "${node.getNavFilter()}" });
</#if>
<#if node.getPSNavigateContexts?? && node.getPSNavigateContexts()??>
Object.assign(treeNode, {navigateContext: '${node.getPSNavigateContexts()}' });
Object.assign(treeNode, {navigateContext: '<@getNavigateContext node />' });
</#if>
<#if node.getPSNavigateParams?? && node.getPSNavigateParams()??>
Object.assign(treeNode, {navigateParams: '${node.getPSNavigateParams()}' });
Object.assign(treeNode, {navigateParams: '<@getNavigateParams node />' });
</#if>
<#-- 补充nodeid和nodeid2 -->
Object.assign(treeNode, { nodeid: treeNode.srfkey });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册