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

update:更新

上级 62c356dc
......@@ -464,16 +464,6 @@
<#-- 暂时只支持实体界面逻辑 -->
<#if logic.getLogicType() == 'DEUILOGIC' && logic.getPSAppDEUILogic?? && logic.getPSAppDEUILogic()??>
<#assign hasLogic = true>
<#if view.getPSAppDataEntity?? && view.getPSAppDataEntity()?? && view.getPSAppDataEntity().codeName == logic.getPSAppDEUILogic().getPSAppDataEntity().codeName>
this.appUIService.executeUILogic('${logic.getPSAppDEUILogic().codeName}', [], this.context, this.viewparams, {}, {}, this, '${logic.getPSAppDEUILogic().getPSAppDataEntity().codeName}').then((result: any) => {
if (result && result.hasOwnProperty('srfret') && !result.srfret) {
return;
}
<@ibizindent blank=8>
${afterMountedBlock}
</@ibizindent>
});
<#else>
window.uiServiceRegister.getService('${logic.getPSAppDEUILogic().getPSAppDataEntity().codeName}').then((service: any) => {
service.executeUILogic('${logic.getPSAppDEUILogic().codeName}', [], this.context, this.viewparams, {}, {}, this, '${logic.getPSAppDEUILogic().getPSAppDataEntity().codeName}').then((result: any) => {
if (result && result.hasOwnProperty('srfret') && !result.srfret) {
......@@ -482,12 +472,10 @@
<@ibizindent blank=12>
${afterMountedBlock}
</@ibizindent>
${afterMountedBlock}
});
})
</#if>
</#if>
</#if>
</#list>
</#if>
<#if !hasLogic>
......@@ -515,16 +503,6 @@
<#-- 暂时只支持实体界面逻辑 -->
<#if logic.getLogicType() == 'DEUILOGIC' && logic.getPSAppDEUILogic?? && logic.getPSAppDEUILogic()??>
<#assign hasLogic = true>
<#if view.getPSAppDataEntity?? && view.getPSAppDataEntity()?? && view.getPSAppDataEntity().codeName == logic.getPSAppDEUILogic().getPSAppDataEntity().codeName>
this.appUIService.executeUILogic('${logic.getPSAppDEUILogic().codeName}', [], this.context, this.viewparams, {}, {}, this, '${logic.getPSAppDEUILogic().getPSAppDataEntity().codeName}').then((result: any) => {
if (result && result.hasOwnProperty('srfret') && !result.srfret) {
return;
}
<@ibizindent blank=16>
${afterMountedBlock}
</@ibizindent>
});
<#else>
window.uiServiceRegister.getService('${logic.getPSAppDEUILogic().getPSAppDataEntity().codeName}').then((service: any) => {
service.executeUILogic('${logic.getPSAppDEUILogic().codeName}', [], this.context, this.viewparams, {}, {}, this, '${logic.getPSAppDEUILogic().getPSAppDataEntity().codeName}').then((result: any) => {
if (result && result.hasOwnProperty('srfret') && !result.srfret) {
......@@ -537,7 +515,6 @@
})
</#if>
</#if>
</#if>
</#list>
</#if>
<#if !hasLogic>
......@@ -692,16 +669,6 @@ ${P.getLogicCode(uiAction, "LOGIC.vue").code}
<#-- 暂时只支持实体界面逻辑 -->
<#if logic.getLogicType() == 'DEUILOGIC' && logic.getPSAppDEUILogic?? && logic.getPSAppDEUILogic()??>
<#assign hasLogic = true>
<#if view.getPSAppDataEntity?? && view.getPSAppDataEntity()?? && view.getPSAppDataEntity().codeName == logic.getPSAppDEUILogic().getPSAppDataEntity().codeName>
this.appUIService.executeUILogic('${logic.getPSAppDEUILogic().codeName}', [], this.context, this.viewparams, {}, {}, this, '${logic.getPSAppDEUILogic().getPSAppDataEntity().codeName}').then((result: any) => {
if (result && result.hasOwnProperty('srfret') && !result.srfret) {
return;
}
<@ibizindent blank=4>
${afterDestroyedBlock}
</@ibizindent>
});
<#else>
window.uiServiceRegister.getService('${logic.getPSAppDEUILogic().getPSAppDataEntity().codeName}').then((service: any) => {
service.executeUILogic('${logic.getPSAppDEUILogic().codeName}', [], this.context, this.viewparams, {}, {}, this, '${logic.getPSAppDEUILogic().getPSAppDataEntity().codeName}').then((result: any) => {
if (result && result.hasOwnProperty('srfret') && !result.srfret) {
......@@ -710,12 +677,10 @@ ${P.getLogicCode(uiAction, "LOGIC.vue").code}
<@ibizindent blank=8>
${afterDestroyedBlock}
</@ibizindent>
${afterDestroyedBlock}
});
});
</#if>
</#if>
</#if>
</#list>
</#if>
<#if !hasLogic>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册