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

界面行为显示模式

上级 39928dd0
......@@ -861,11 +861,17 @@
public ActionModel:any ={
<#if ctrl.getPSUIActions()??>
<#list ctrl.getPSUIActions() as item>
${item.getUIActionTag()}: { name: '${item.getUIActionTag()}',disabled: false, visabled: true,noprivdisplaymode:<#if item.getNoPrivDisplayMode(view)??>${item.getNoPrivDisplayMode(view)}</#if>,dataaccaction: '<#if item.getDataAccessAction()??>${item.getDataAccessAction()}</#if>', target: '${item.getActionTarget()}',icon:'<#if item.getIconCls?? && item.getIconCls()??>${item.getIconCls()}</#if>'}<#if item_has_next>,</#if>
${item.getUIActionTag()}: { name: '${item.getUIActionTag()}',disabled: false, visabled: true,noprivdisplaymode:<#if item.getNoPrivDisplayMode(view)??>${item.getNoPrivDisplayMode(view)}</#if>,dataaccaction: '<#if item.getDataAccessAction()??>${item.getDataAccessAction()}</#if>', target: '${item.getActionTarget()}',icon:'<#if item.getIconCls?? && item.getIconCls()??>${item.getIconCls()},<@getAction ctrl item.getCodeName() /></#if>'}<#if item_has_next>,</#if>
</#list>
</#if>
};
<#macro getAction item actionName>
<#t>
<#if item.getPSDEUIActionGroup2()?? && item.getPSDEUIActionGroup2()??><#if item.getPSDEUIActionGroup2().getPSUIActionGroupDetails?? && item.getPSDEUIActionGroup2().getPSUIActionGroupDetails()??><#list item.getPSDEUIActionGroup2().getPSUIActionGroupDetails() as action><#if action.getPSUIAction().getCodeName()== actionName>isShowCaption:${action.isShowCaption()},isShowIcon:${action.isShowIcon}</#if></#list></#if><#t>
</#macro>
/**
* 获取界面行为权限状态
*
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册