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

增加树视图右键权限校验 --- fix4

上级 43551ce7
...@@ -270,7 +270,7 @@ import UIService from '@/uiservice/ui-service'; ...@@ -270,7 +270,7 @@ import UIService from '@/uiservice/ui-service';
<#if childCtrl.getControlType() == "CONTEXTMENU"> <#if childCtrl.getControlType() == "CONTEXTMENU">
<#if childCtrl.getPSDEToolbarItems()??> <#if childCtrl.getPSDEToolbarItems()??>
<#list childCtrl.getPSDEToolbarItems() as item> <#list childCtrl.getPSDEToolbarItems() as item>
<#if !P.exists='importService', item.name, ""> <#if !P.exists("importService", item.name, "")>
${item.name}: { uiservice: "<#if childCtrl.getPSAppDataEntity()?? && childCtrl.getPSAppDataEntity().getCodeName()??>${srfclassname('${curAppEntity.getCodeName()}')}UIService</#if>"<#if item.getPSUIAction()??><#assign uiaction=item.getPSUIAction()>,uiaction: { type: '${uiaction.getUIActionType()}', tag: '${uiaction.getUIActionTag()}' ${item.name}: { uiservice: "<#if childCtrl.getPSAppDataEntity()?? && childCtrl.getPSAppDataEntity().getCodeName()??>${srfclassname('${curAppEntity.getCodeName()}')}UIService</#if>"<#if item.getPSUIAction()??><#assign uiaction=item.getPSUIAction()>,uiaction: { type: '${uiaction.getUIActionType()}', tag: '${uiaction.getUIActionTag()}'
<#if (uiaction.getActionTarget()!="")>, actiontarget: '${uiaction.getActionTarget()}'</#if><#if uiaction.getNoPrivDisplayMode(view)??>, noprivdisplaymode:${uiaction.getNoPrivDisplayMode(view)}</#if><#if uiaction.getDataAccessAction()??>, dataaccaction:'${uiaction.getDataAccessAction()}'</#if>, visabled: true, disabled: false}</#if>}, <#if (uiaction.getActionTarget()!="")>, actiontarget: '${uiaction.getActionTarget()}'</#if><#if uiaction.getNoPrivDisplayMode(view)??>, noprivdisplaymode:${uiaction.getNoPrivDisplayMode(view)}</#if><#if uiaction.getDataAccessAction()??>, dataaccaction:'${uiaction.getDataAccessAction()}'</#if>, visabled: true, disabled: false}</#if>},
</#list> </#list>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册