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

导航参数调整

上级 85f41977
......@@ -16,8 +16,8 @@ protected click${item.codeName}(item: any = {}) {
let navigateParam: any = <@getNavigateParams item />;
let navigateContext: any = <@getNavigateContext item />;
const { param: _navigateParam, context: _navigateContext } = this.$viewTool.formatNavigateParam({ context: navigateContext, param: navigateParam }, this.context, this.viewparams, {});
let context = { ...this.context, ..._navigateContext };
let param = { ...this.viewparams, ..._navigateParam };
let context = { ..._navigateContext };
let param = { ..._navigateParam };
<#if dataview.getOpenMode() == 'POPUPMODAL' || dataview.getOpenMode() == 'POPUPAPP' || dataview.getOpenMode() == 'POPOVER' || dataview.getOpenMode()?index_of('DRAWER') == 0 >
<@outPutViewInfo dataview/>
</#if>
......
......@@ -58,7 +58,7 @@ ${front_block}
context = { ...container.context, ...context };
let panelNavParam= <@getNavigateParams item />;
let panelNavContext= <@getNavigateContext item />;
const { context: navContext, param: navParam } = this.$viewTool.formatNavigateParam({ context: panelNavContext, param: panelNavParam }, context, params, {});
const { context: navContext, param: navParam } = this.viewTool.formatNavigateParam({ context: panelNavContext, param: panelNavParam }, context, params, {});
<#-- 构建srfparentdename和srfparentkey start -->
let parentObj: any = {
srfparentdename: srfParentDeName ? srfParentDeName : null,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册