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

调整 新建、编辑预置逻辑

上级 1d765850
......@@ -37,11 +37,11 @@
public newdata(args: any[],fullargs?:any[], params?: any, $event?: any, xData?: any) {
<#if viewlogic.getPSAppUILogicRefViews?? && viewlogic.getPSAppUILogicRefViews()??>
<#list viewlogic.getPSAppUILogicRefViews() as appUILogicRefView>
<#if appUILogicRefView_index == 0><#assign curUILogicRefView = appUILogicRefView /></#if>
<#if appUILogicRefView_index == 0><#assign curNewLogicRefView = appUILogicRefView /></#if>
</#list>
</#if>
let localContext:any = <#if curUILogicRefView && curUILogicRefView.getPSNavigateContexts?? && curUILogicRefView.getPSNavigateContexts()??><@getNavigateContext curUILogicRefView /><#else>null</#if>;
let localViewParam:any =<#if curUILogicRefView && curUILogicRefView.getPSNavigateParams?? && curUILogicRefView.getPSNavigateParams()??><@getNavigateParams curUILogicRefView /><#else>null</#if>;
let localContext:any = <#if curNewLogicRefView?? && curNewLogicRefView.getPSNavigateContexts?? && curNewLogicRefView.getPSNavigateContexts()??><@getNavigateContext curNewLogicRefView /><#else>null</#if>;
let localViewParam:any =<#if curNewLogicRefView?? && curNewLogicRefView.getPSNavigateParams?? && curNewLogicRefView.getPSNavigateParams()??><@getNavigateParams curNewLogicRefView /><#else>null</#if>;
<#if viewlogic.isEnableWizardAdd()>
this.$Notice.warning({ title: '错误', desc: '向导添加未实现' });
<#elseif viewlogic.isEnableBatchAdd()>
......
......@@ -16,11 +16,11 @@
public ${item.name}(args: any[],fullargs?:any[],params?: any, $event?: any, xData?: any) {
<#if viewlogic.getPSAppUILogicRefViews?? && viewlogic.getPSAppUILogicRefViews()??>
<#list viewlogic.getPSAppUILogicRefViews() as appUILogicRefView>
<#if appUILogicRefView_index == 0><#assign curUILogicRefView = appUILogicRefView /></#if>
<#if appUILogicRefView_index == 0><#assign curOPenLogicRefView = appUILogicRefView /></#if>
</#list>
</#if>
let localContext:any = <#if curUILogicRefView && curUILogicRefView.getPSNavigateContexts?? && curUILogicRefView.getPSNavigateContexts()??><@getNavigateContext curUILogicRefView /><#else>null</#if>;
let localViewParam:any =<#if curUILogicRefView && curUILogicRefView.getPSNavigateParams?? && curUILogicRefView.getPSNavigateParams()??><@getNavigateParams curUILogicRefView /><#else>null</#if>;
let localContext:any = <#if curOPenLogicRefView?? && curOPenLogicRefView.getPSNavigateContexts?? && curOPenLogicRefView.getPSNavigateContexts()??><@getNavigateContext curUILogicRefView /><#else>null</#if>;
let localViewParam:any =<#if curOPenLogicRefView?? && curOPenLogicRefView.getPSNavigateParams?? && curOPenLogicRefView.getPSNavigateParams()??><@getNavigateParams curUILogicRefView /><#else>null</#if>;
<#if viewlogic.getOpenDataPSAppView()??>
<#assign dataview = viewlogic.getOpenDataPSAppView()/>
const data: any = {};
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册