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

后台调用逻辑调整

上级 ed068b5d
......@@ -137,10 +137,26 @@ ${backend_block}
</#if>
};
<#if item.getFrontPSAppView?? && item.getFrontPSAppView()??>
<@outPutViewInfo dataview/>
<#assign frontview = item.getFrontPSAppView()>
<#-- 抽屉打开 -->
<#if frontview.getOpenMode()?index_of('DRAWER') == 0>
const view: any = {
viewname: '${srffilepath2(frontview.getCodeName())}',
title: actionContext.<@getViewLanguageTitle frontview />,
height: ${frontview.getHeight()?c},
width: ${frontview.getWidth()?c},
placement: '${frontview.getOpenMode()}'
};
<#-- 模态打开 -->
<#else>
const view = {
viewname: '${srffilepath2(frontview.getCodeName())}',
title: actionContext.<@getViewLanguageTitle frontview />,
height: ${frontview.getHeight()?c},
width: ${frontview.getWidth()?c},
};
<#-- 抽屉打开 -->
<#if frontview.getOpenMode()?index_of('DRAWER') == 0>
const result: any = await this.openService.openPopOver(view, _context, _params);
<#-- 模态打开 -->
<#else>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册