提交 2c22c434 编写于 作者: KK's avatar KK

获取界面i行为模型

上级 098b18f1
...@@ -114,9 +114,27 @@ ...@@ -114,9 +114,27 @@
</#list> </#list>
</#if> </#if>
/**
* 界面行为模型
*
* @type {*}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public ActionModel:any ={
<#if mdctrl.getPSUIActions()??>
<#list mdctrl.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()}'}<#if item_has_next>,</#if>
</#list>
</#if>
};
/**
public UIActions = { * 界面行为模型
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}Base
*/
public UIActions = {
left:[<#if mdctrl.getPSDEUIActionGroup2?? && mdctrl.getPSDEUIActionGroup2()??> left:[<#if mdctrl.getPSDEUIActionGroup2?? && mdctrl.getPSDEUIActionGroup2()??>
<#assign left = mdctrl.getPSDEUIActionGroup2()> <#assign left = mdctrl.getPSDEUIActionGroup2()>
<#if left.getPSUIActionGroupDetails?? && left.getPSUIActionGroupDetails()??> <#if left.getPSUIActionGroupDetails?? && left.getPSUIActionGroupDetails()??>
...@@ -134,7 +152,7 @@ public UIActions = { ...@@ -134,7 +152,7 @@ public UIActions = {
</#if> </#if>
</#if> </#if>
] ]
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册