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

索引实体向导添加数据

上级 6242d8fc
......@@ -43,7 +43,19 @@
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: '向导添加未实现' });
<#if viewlogic.getWizardPSAppView?? && viewlogic.getWizardPSAppView()??>
<#assign wizardAppView = viewlogic.getWizardPSAppView() />
let wizardAppView:any = {viewname:'${srffilepath2(wizardAppView.getCodeName())}',height: ${wizardAppView.getHeight()?c},width: ${wizardAppView.getWidth()?c},title: '${wizardAppView.title}'};
let container: Subject<any> = this.$appmodal.openModal(wizardAppView, JSON.parse(JSON.stringify(this.context)), args[0]);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
console.log(result);
})
<#else>
this.$Notice.warning({ title: '错误', desc: '请添加新建数据向导视图' });
</#if>
<#elseif viewlogic.isEnableBatchAdd()>
<#-- 批量添加 -->
let batchAddPSAppViews:Array<any>=[];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册