提交 85cfac1f 编写于 作者: KK's avatar KK

新增后台界面行为支持动态显示处理提示

上级 ca19335c
...@@ -83,17 +83,15 @@ ${backend_block} ...@@ -83,17 +83,15 @@ ${backend_block}
const backend = async () => { const backend = async () => {
<#if item.getPSAppDataEntity?? && item.getPSAppDataEntity()?? && item.getPSAppDEMethod?? && item.getPSAppDEMethod()??> <#if item.getPSAppDataEntity?? && item.getPSAppDataEntity()?? && item.getPSAppDEMethod?? && item.getPSAppDEMethod()??>
const curUIService: any = await this.globaluiservice.getAppEntityService('${item.getPSAppDataEntity().getCodeName()?lower_case}'); const curUIService: any = await this.globaluiservice.getAppEntityService('${item.getPSAppDataEntity().getCodeName()?lower_case}');
<#if item.isShowBusyIndicator()>
</#if>
const response: any = await curUIService.${item.getPSAppDEMethod().getCodeName()}(_context, _params); const response: any = await curUIService.${item.getPSAppDEMethod().getCodeName()}(_context, _params);
<#if item.isShowBusyIndicator()>
</#if>
if (response && response.status === 200) { if (response && response.status === 200) {
<#if item.isShowBusyIndicator()>
<#if item.getSuccessMsg?? && item.getSuccessMsg()??> <#if item.getSuccessMsg?? && item.getSuccessMsg()??>
this.notice.success('${item.getSuccessMsg()}'); this.notice.success('${item.getSuccessMsg()}');
<#else> <#else>
this.notice.success('${item.getCaption()}成功!'); this.notice.success('${item.getCaption()}成功!');
</#if> </#if>
</#if>
<#-- 是否重新加载数据 --> <#-- 是否重新加载数据 -->
<#if item.isReloadData?? && item.isReloadData()> <#if item.isReloadData?? && item.isReloadData()>
if (xData && xData.refresh && xData.refresh instanceof Function) { if (xData && xData.refresh && xData.refresh instanceof Function) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册