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

门户注册

上级 e9e102f3
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
<#if app.getAllPSAppPortlets?? && app.getAllPSAppPortlets()??>
<#list app.getAllPSAppPortlets() as appPortlet>
<#if appPortlet.isEnableAppDashboard?? && appPortlet.isEnableAppDashboard()?? && appPortlet.isEnableAppDashboard() == true && appPortlet.isEnableDEDashboard?? && appPortlet.isEnableDEDashboard()?? && appPortlet.isEnableDEDashboard() == false>
<#if appPortlet.getPSSysPortlet?? && appPortlet.getPSSysPortlet()??>
<#assign sysPortlet = appPortlet.getPSSysPortlet() />
<#if appPortlet.getPSAppDataEntity?? && appPortlet.getPSAppDataEntity()??>
<#assign appDataEntity = appPortlet.getPSAppDataEntity() />
import ${srfclassname('${appDataEntity.getCodeName()}')}${srfclassname('${sysPortlet.codeName}')} from '@/widgets/${srffilepath2(appDataEntity.getCodeName())}/${srffilepath2(sysPortlet.getCodeName())}-portlet/${srffilepath2(sysPortlet.getCodeName())}-portlet.vue';
<#else>
import ${srfclassname('${sysPortlet.codeName}')} from '@/widgets/app/${srffilepath2(sysPortlet.getCodeName())}-portlet/${srffilepath2(sysPortlet.getCodeName())}-portlet.vue';
</#if>
</#if>
</#if>
</#list>
</#if>
<#if app.getAllPSAppDataEntities?? && app.getAllPSAppDataEntities()??>
<#list app.getAllPSAppDataEntities() as appDataEntity>
<#if appDataEntity.getAllPSAppPortlets?? && appDataEntity.getAllPSAppPortlets()??>
<#list appDataEntity.getAllPSAppPortlets() as appdePortlet>
<#if appdePortlet.getPSSysPortlet?? && appdePortlet.getPSSysPortlet()??>
<#assign sysPortlet = appdePortlet.getPSSysPortlet() />
import ${srfclassname('${appDataEntity.getCodeName()}')}${srfclassname('${sysPortlet.codeName}')} from '@/widgets/${srffilepath2(appDataEntity.getCodeName())}/${srffilepath2(sysPortlet.getCodeName())}-portlet/${srffilepath2(sysPortlet.getCodeName())}-portlet.vue';
</#if>
</#list>
</#if>
</#list>
</#if>
export const PortletComponent = {
install(v: any, opt: any) {
<#if app.getAllPSAppPortlets?? && app.getAllPSAppPortlets()??>
<#list app.getAllPSAppPortlets() as appPortlet>
<#if appPortlet.isEnableAppDashboard?? && appPortlet.isEnableAppDashboard()?? && appPortlet.isEnableAppDashboard() == true >
<#if appPortlet.getPSAppDataEntity?? && appPortlet.getPSAppDataEntity()??>
<#assign appDataEntity = appPortlet.getPSAppDataEntity() />
<#if appPortlet.getPSSysPortlet?? && appPortlet.getPSSysPortlet()??>
<#assign sysPortlet = appPortlet.getPSSysPortlet() />
v.component('app-${srffilepath2(appDataEntity.getCodeName())}-${srffilepath2(sysPortlet.getCodeName())}-portlet', ${srfclassname('${appDataEntity.getCodeName()}')}${srfclassname('${sysPortlet.codeName}')});
</#if>
<#else>
<#if appPortlet.getPSSysPortlet?? && appPortlet.getPSSysPortlet()??>
<#assign sysPortlet = appPortlet.getPSSysPortlet() />
v.component('app-${srffilepath2(sysPortlet.getCodeName())}-portlet', ${srfclassname('${sysPortlet.codeName}')});
</#if>
</#if>
</#if>
</#list>
</#if>
<#if app.getAllPSAppDataEntities?? && app.getAllPSAppDataEntities()??>
<#list app.getAllPSAppDataEntities() as appDataEntity>
<#if appDataEntity.getAllPSAppPortlets?? && appDataEntity.getAllPSAppPortlets()??>
<#list appDataEntity.getAllPSAppPortlets() as appdePortlet>
<#if appdePortlet.getPSSysPortlet?? && appdePortlet.getPSSysPortlet()??>
<#assign sysPortlet = appdePortlet.getPSSysPortlet() />
v.component('${srffilepath2(appDataEntity.getCodeName())}-${srffilepath2(sysPortlet.getCodeName())}-portlet', ${srfclassname('${appDataEntity.getCodeName()}')}${srfclassname('${sysPortlet.codeName}')});
</#if>
</#list>
</#if>
</#list>
</#if>
}
};
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册