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

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

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