提交 6c954007 编写于 作者: KK's avatar KK

Revert "后台调用逻辑调整"

This reverts commit 1e45a0db.
上级 32a70e3b
......@@ -137,37 +137,21 @@ ${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>
const result: any = await this.openService.openModal(view, _context, _params);
</#if>
if (result && Object.is(result.ret, 'OK')) {
Object.assign(params, { srfactionparam: result.datas });
return backend();
}
<#else>
const result: any = await this.openService.openPopOver(view, _context, _params);
<#-- 模态打开 -->
<#else>
const result: any = await this.openService.openModal(view, _context, _params);
</#if>
if (result && Object.is(result.ret, 'OK')) {
Object.assign(params, { srfactionparam: result.datas });
return backend();
}
<#else>
return backend();
</#if>
</#if>
</#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册