提交 80d2f5d1 编写于 作者: Shine-zwj's avatar Shine-zwj

update:更新

上级 62151c43
...@@ -210,7 +210,11 @@ import UIService from '@/uiservice/ui-service'; ...@@ -210,7 +210,11 @@ import UIService from '@/uiservice/ui-service';
* @memberof ${srfclassname('${ctrl.name}')}Base * @memberof ${srfclassname('${ctrl.name}')}Base
*/ */
public layoutItems:any = { public layoutItems:any = {
<@getLayoutItemModel panelItems=ctrl.getAllPSPanelItems() type='ITEMLAYOUT' view /> <#if ctrl.getAllPSPanelItems()??>
<#assign panelItems = ctrl.getAllPSPanelItems() />
<#assign type='ITEMLAYOUT' />
<@getLayoutItemModel panelItems type view />
</#if>
}; };
/** /**
...@@ -381,7 +385,11 @@ import UIService from '@/uiservice/ui-service'; ...@@ -381,7 +385,11 @@ import UIService from '@/uiservice/ui-service';
</#list> </#list>
} }
<@handleButtonClick panelItems=ctrl.getAllPSPanelItems() item=ctrl /> <#if ctrl.getAllPSPanelItems()??>
<#assign panelItems = ctrl.getAllPSPanelItems() />
<#assign item = ctrl />
<@handleButtonClick panelItems item />
</#if>
<#if ctrl.getPSUIActions?? && ctrl.getPSUIActions()??> <#if ctrl.getPSUIActions?? && ctrl.getPSUIActions()??>
<#list ctrl.getPSUIActions() as uiAction> <#list ctrl.getPSUIActions() as uiAction>
......
...@@ -147,7 +147,7 @@ this.$verify.testCond(_${item.getDstModelField()?lower_case}, "${item.getCondOp( ...@@ -147,7 +147,7 @@ this.$verify.testCond(_${item.getDstModelField()?lower_case}, "${item.getCondOp(
<#-- 获取布局项模型 type-布局项类型('ITEMLAYOUT' | 'VIEWLAYOUT') --> <#-- 获取布局项模型 type-布局项类型('ITEMLAYOUT' | 'VIEWLAYOUT') -->
<#macro getLayoutItemModel panelItems type view> <#macro getLayoutItemModel panelItems type view>
<#list panelItems as panelItem> <#list panelItems as panelItem>
<#assign detail> <#assign detail>
name: '${panelItem.getName()}', name: '${panelItem.getName()}',
type: '${type}', type: '${type}',
caption: '${panelItem.getCaption()}', caption: '${panelItem.getCaption()}',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册