提交 6218ba9c 编写于 作者: Mosher's avatar Mosher

门户部件界面行为过滤操作栏

上级 bd48d21b
......@@ -279,6 +279,7 @@ import { Environment } from '@/environments/environment';
}
</#if>
<#if ctrl.getPortletType() != 'ACTIONBAR'>
/**
* 界面行为模型数据
*
......@@ -300,6 +301,7 @@ import { Environment } from '@/environments/environment';
</#list>
</#if>
}
</#if>
<#if ctrl.getPortletType?? && ctrl.getPortletType()?? && ctrl.getPortletType() == "TOOLBAR" >
<#assign toolbar = ctrl.getContentPSControl()/>
......@@ -373,9 +375,11 @@ import { Environment } from '@/environments/environment';
public afterCreated(){
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
<#if ctrl.getPortletType() != 'ACTIONBAR'>
if(Object.is(tag, "all-portlet") && Object.is(action,'loadmodel')){
this.calcUIActionAuthState(data);
}
</#if>
if (!Object.is(tag, this.name)) {
return;
}
......@@ -428,6 +432,7 @@ import { Environment } from '@/environments/environment';
</#if>
</#if>
<#if ctrl.getPortletType() != 'ACTIONBAR'>
/**
* 计算界面行为权限
*
......@@ -439,6 +444,7 @@ import { Environment } from '@/environments/environment';
ViewTool.calcActionItemAuthState(data,_this.uiactionModel,_this.appUIService);
}
}
</#if>
<#ibizinclude>
../@MACRO/CONTROL/CONTROL_BOTTOM-BASE.vue.ftl
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册