提交 74ec59b7 编写于 作者: zcdtk's avatar zcdtk

添加引擎导航参数处理

上级 ce55187c
......@@ -24,8 +24,8 @@
this.$notice.warning('只支持批添加未实现');
<#elseif viewlogic.getNewDataPSAppView()??>
<#assign dataview = viewlogic.getNewDataPSAppView()/>
const params: any = {};
let context = { ...this.context };
const params: any = { ...paramJO };
let context = { ...this.context, ...contextJO };
if (args.length > 0) {
Object.assign(context, args[0]);
}
......
......@@ -18,8 +18,8 @@
public async ${item.name}(args: any[], contextJO: any = {}, paramJO: any = {}, $event?: any, xData?: any, container?: any, srfParentDeName?: string): Promise<any> {
<#if viewlogic.getOpenDataPSAppView()??>
<#assign dataview = viewlogic.getOpenDataPSAppView()/>
const params: any = {};
let context = { ...this.context };
const params: any = { ...paramJO };
let context = { ...this.context, ...contextJO };
if (args.length > 0) {
Object.assign(context, args[0]);
}
......
......@@ -29,8 +29,8 @@
<#if engine.getPSAppViewEngineParams()??>
<#list engine.getPSAppViewEngineParams() as param>
<#if param.getParamType() == "LOGIC" && param.getPSAppViewLogic()??>
${param.getName()?lower_case}: (args: any[], params?: any, $event?: any, xData?: any) => {
this.${param.getPSAppViewLogic().getName()}(args, params, $event, xData);
${param.getName()?lower_case}: (args: any[], contextJO: any = {}, paramJO: any = {}, $event?: any, xData?: any, container?: any, srfParentDeName?: string) => {
this.${param.getPSAppViewLogic().getName()}(args, contextJO, paramJO, $event, xData, container, srfParentDeName);
},
</#if>
<#if param.getParamType() == "CTRL" && param.getPSControl()??>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册