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

Revert "获取界面i行为模型"

This reverts commit 2c22c434.
上级 47d7653c
......@@ -114,45 +114,27 @@
</#list>
</#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>
};
/**
* 界面行为模型
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}Base
*/
public UIActions = {
left:[<#if mdctrl.getPSDEUIActionGroup2?? && mdctrl.getPSDEUIActionGroup2()??>
<#assign left = mdctrl.getPSDEUIActionGroup2()>
<#if left.getPSUIActionGroupDetails?? && left.getPSUIActionGroupDetails()??>
<#list left.getPSUIActionGroupDetails() as action>
{name:'${action.getName()}',title:'<#if action.getPSUIAction?? && action.getPSUIAction()??>${action.getPSUIAction().getName()}</#if>'},
</#list>
</#if>
</#if>],
right:[<#if mdctrl.getPSDEUIActionGroup?? && mdctrl.getPSDEUIActionGroup()??>
<#assign right = mdctrl.getPSDEUIActionGroup()>
<#if right.getPSUIActionGroupDetails?? && right.getPSUIActionGroupDetails()??>
<#list right.getPSUIActionGroupDetails() as action>
{name:'${action.getName()}',title:'<#if action.getPSUIAction?? && action.getPSUIAction()??>${action.getPSUIAction().getName()}</#if>'},
</#list>
</#if>
</#if>
]
}
public UIActions = {
left:[<#if mdctrl.getPSDEUIActionGroup2?? && mdctrl.getPSDEUIActionGroup2()??>
<#assign left = mdctrl.getPSDEUIActionGroup2()>
<#if left.getPSUIActionGroupDetails?? && left.getPSUIActionGroupDetails()??>
<#list left.getPSUIActionGroupDetails() as action>
{name:'${action.getName()}',title:'<#if action.getPSUIAction?? && action.getPSUIAction()??>${action.getPSUIAction().getName()}</#if>'},
</#list>
</#if>
</#if>],
right:[<#if mdctrl.getPSDEUIActionGroup?? && mdctrl.getPSDEUIActionGroup()??>
<#assign right = mdctrl.getPSDEUIActionGroup()>
<#if right.getPSUIActionGroupDetails?? && right.getPSUIActionGroupDetails()??>
<#list right.getPSUIActionGroupDetails() as action>
{name:'${action.getName()}',title:'<#if action.getPSUIAction?? && action.getPSUIAction()??>${action.getPSUIAction().getName()}</#if>'},
</#list>
</#if>
</#if>
]
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册