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

update:更新

上级 6ae3062c
......@@ -44,6 +44,13 @@ import ${srfclassname('${appde.getCodeName()}')}UIService from '@/uiservice/${sr
</#if>
<#if view.getPSViewLayoutPanel()?? && !view.getPSViewLayoutPanel().isUseDefaultLayout()>
import { PanelContainerModel, PanelRawitemModel, PanelFieldModel, PanelControlModel, PanelButtonModel, PanelUserControlModel, PanelTabPanelModel, PanelTabPageModel, PanelCtrlPosModel} from '@/model/panel-detail';
<#if view.getPSViewLayoutPanel().getAllPSPanelItems()??>
<#list view.getPSViewLayoutPanel().getAllPSPanelItems() as panelItem>
<#if panelItem.getItemType() == 'BUTTON' && panelItem.getPSUIAction?? && panelItem.getPSUIAction()?? && panelItem.getPSUIAction().getPSAppDataEntity?? && panelItem.getPSUIAction().getPSAppDataEntity()??>
import ${srfclassname('${panelItem.getPSUIAction().getPSAppDataEntity().getCodeName()}')}UIService from '@/uiservice/${srffilepath2(panelItem.getPSUIAction().getPSAppDataEntity().getCodeName())}/${srffilepath2(panelItem.getPSUIAction().getPSAppDataEntity().getCodeName())}-ui-service';
</#if>
</#list>
</#if>
</#if>
<#if import_block??>
......@@ -427,7 +434,13 @@ ${P.getCtrlCode('toolbar', 'CONTROL.vue').code}
<#list view.getPSViewLayoutPanel().getAllPSPanelItems() as panelItem>
<#if panelItem.getItemType() == 'BUTTON' && panelItem.getPSUIAction?? && panelItem.getPSUIAction()??>
if (Object.is(name, '${panelItem.name}')) {
<#if panelItem.getPSUIAction().getPSAppDataEntity?? && panelItem.getPSUIAction().getPSAppDataEntity()??>
<assign curAppEntity = panelItem.getPSUIAction().getPSAppDataEntity() />
const curUIService: ${srfclassname('${curAppEntity.getCodeName()}')}UIService = new ${srfclassname('${curAppEntity.getCodeName()}')}UIService();
curUIService.${panelItem.getPSUIAction().getFullCodeName()}(datas, contextJO, paramJO, $event, xData, this, undefined);
<#else>
_this.${panelItem.getPSUIAction().getFullCodeName()}(datas, contextJO, paramJO, $event, xData, this, undefined);
</#if>
}
</#if>
</#list>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册