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

定制仪表盘

上级 46246369
<template> <template>
<ion-grid class="app-mob-dashboard <#if appde??>${appde.getCodeName()?lower_case}-${ctrl.name}</#if> <#if ctrl.getPSSysCss()??><#assign singleCss = ctrl.getPSSysCss()> ${singleCss.getCssName()}</#if>"> <ion-grid class="app-mob-dashboard <#if appde??>${appde.getCodeName()?lower_case}-${ctrl.name}</#if> <#if ctrl.getPSSysCss()??><#assign singleCss = ctrl.getPSSysCss()> ${singleCss.getCssName()}</#if>">
<div v-show="isEnableCustomized" class="dashboard-enableCustomized">定制仪表盘<ion-icon name="settings-outline"></ion-icon></div> <div v-show="isEnableCustomized" class="dashboard-enableCustomized" @click="openCustomized">定制仪表盘<ion-icon name="settings-outline"></ion-icon></div>
<#list ctrl.getAllPSPortlets() as portlet><#t> <#list ctrl.getAllPSPortlets() as portlet><#t>
<#if portlet.getPortletType?? && portlet.getPortletType()?? && portlet.getPortletType() != 'CONTAINER'><#t> <#if portlet.getPortletType?? && portlet.getPortletType()?? && portlet.getPortletType() != 'CONTAINER'><#t>
<div class="dashboard-item"> <div class="dashboard-item">
......
...@@ -105,6 +105,15 @@ ...@@ -105,6 +105,15 @@
</#if> </#if>
} }
/**
* 打开定制仪表盘界面
*
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
public openCustomized() {
this.openPopupModal({ viewname: 'app-customize', title: 'app-customize'},{},{modelId:this.modelId,utilServiceName:this.utilServiceName});
}
<#ibizinclude> <#ibizinclude>
../@MACRO/CONTROL/CONTROL_BOTTOM-BASE.vue.ftl ../@MACRO/CONTROL/CONTROL_BOTTOM-BASE.vue.ftl
</#ibizinclude> </#ibizinclude>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册