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

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

This reverts commit 6218ba9c.
上级 6218ba9c
......@@ -279,7 +279,6 @@ import { Environment } from '@/environments/environment';
}
</#if>
<#if ctrl.getPortletType() != 'ACTIONBAR'>
/**
* 界面行为模型数据
*
......@@ -301,7 +300,6 @@ import { Environment } from '@/environments/environment';
</#list>
</#if>
}
</#if>
<#if ctrl.getPortletType?? && ctrl.getPortletType()?? && ctrl.getPortletType() == "TOOLBAR" >
<#assign toolbar = ctrl.getContentPSControl()/>
......@@ -375,11 +373,9 @@ 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;
}
......@@ -432,7 +428,6 @@ import { Environment } from '@/environments/environment';
</#if>
</#if>
<#if ctrl.getPortletType() != 'ACTIONBAR'>
/**
* 计算界面行为权限
*
......@@ -444,7 +439,6 @@ 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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册