提交 57d4456e 编写于 作者: tony001's avatar tony001

处理表格导航视图导航数据 --- fix1

上级 9ac220ec
......@@ -161,20 +161,32 @@
public navViewName: string = "<#if xDataControl.getNavPSAppView()??><#assign navPSAppView = xDataControl.getNavPSAppView() />${srffilepath2(navPSAppView.getCodeName())}</#if>";
/**
* 导航视图参数
* 导航过滤项
*
* @type {string}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public navViewParam: string = '<#if xDataControl.getNavViewParamJO()??>${xDataControl.getNavViewParamJO()}</#if>';
public navFilter: string = "<#if xDataControl.getNavFilter()??>${xDataControl.getNavFilter()}</#if>";
<#if xDataControl.getPSNavigateContexts?? && xDataControl.getPSNavigateContexts()??>
/**
* 导航上下文参数
*
* @type {*}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public navigateContext:any = <@getNavigateContext xDataControl />;
</#if>
<#if xDataControl.getPSNavigateParams?? && xDataControl.getPSNavigateParams()??>
/**
* 导航过滤项
* 导航视图参数
*
* @type {string}
* @type {*}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public navFilter: string = "<#if xDataControl.getNavFilter()??>${xDataControl.getNavFilter()}</#if>";
public tempNavigateParams:any = <@getNavigateParams xDataControl />;
</#if>
</#if>
/**
......@@ -345,12 +357,6 @@
Object.assign(data,{'${curDataEntity.getCodeName()?lower_case}':arg['${curDataEntity.getCodeName()?lower_case}']});
Object.assign(data,{srfparentdename:'${curDataEntity.getCodeName()}',srfparentkey:arg['${curDataEntity.getCodeName()?lower_case}']});
</#if>
<#if xDataControl.getPSNavigateContexts?? && xDataControl.getPSNavigateContexts()??>
let tempNavigateContext:any = <@getNavigateContext xDataControl />;
</#if>
<#if xDataControl.getPSNavigateParams?? && xDataControl.getPSNavigateParams()??>
let tempNavigateParams:any = <@getNavigateParams xDataControl />;
</#if>
</#if>
this.selection = {};
Object.assign(this.selection, { view: { viewname: this.navViewName }, data:data });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册