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

update:更新

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