提交 f4e42c65 编写于 作者: zhujiamin's avatar zhujiamin

actionmodel 宏导入使用

上级 8b03df94
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
<#ibizinclude> <#ibizinclude>
../@MACRO/CONTROL/CONTROL_HEADER-BASE.vue.ftl ../@MACRO/CONTROL/CONTROL_HEADER-BASE.vue.ftl
</#ibizinclude>
<#ibizinclude>
../../@NAVPARAMS/FUNC/PUBLIC.vue.ftl
</#ibizinclude> </#ibizinclude>
/** /**
...@@ -867,7 +871,7 @@ ...@@ -867,7 +871,7 @@
public ActionModel:any ={ public ActionModel:any ={
<#if ctrl.getPSUIActions()??> <#if ctrl.getPSUIActions()??>
<#list ctrl.getPSUIActions() as item> <#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>',<@getAction ctrl item.getCodeName() />}<#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:'<@setIcon item />',<@getAction ctrl item.getCodeName() />}<#if item_has_next>,</#if>
</#list> </#list>
</#if> </#if>
}; };
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册