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

面板按钮

上级 0545aa08
<#assign selfContent> <#assign selfContent>
<i-button type="primary" long <#if item.getPSUIAction?? && item.getPSUIAction()??>@click="uiAction(null, '${item.getPSUIAction().getUIActionTag()}', $event)"</#if> <#if item.getHeight() gt 0>style="height: ${item.getHeight()?c}px;"</#if>> <#if item.render??>
<#if item.getPSSysImage()??> ${item.render.code}
<#assign image = item.getPSSysImage()> <#else>
<i class="${image.getCssClass()}"></i> <app-panel-button
</#if> caption="<#if item.getCaption?? && item.getCaption()??>${item.getCaption()}</#if>"
<#if item.isShowCaption()> icon="<#if item.getPSSysImage?? && item.getPSSysImage()??>${item.getPSSysImage().getCssClass()}</#if>"
<span<#if item.getLabelPSSysCss()??> class="${item.getLabelPSSysCss().getCssName()}"</#if><#if item.getLabelPSSysCss()??> style="${item.getLabelPSSysCss().getRawCssStyle()}"</#if>>${item.getCaption()}</span> :showCaption="<#if item.isShowCaption?? && item.isShowCaption()??>${item.isShowCaption()}<#else>true</#if>"
</#if> <#if item.getPSUIAction?? && item.getPSUIAction()??>@onClick="($event)=>{uiAction(null, '${item.getPSUIAction().getUIActionTag()}', $event)}"</#if>
</i-button> />
</#if>
</#assign> </#assign>
<#ibizinclude> <#ibizinclude>
......
<#if !item.isHidden()> <#if !item.isHidden()>
<#assign selfContent> <#assign selfContent>
<div class="item-field"> <div class="item-field">
<#if item.render??>
${item.render.code}
<#else>
<app-panel-item <app-panel-item
name='${item.name}' name='${item.name}'
error='detailsModel.${item.name}.error' error='detailsModel.${item.name}.error'
labelPos='<#if item.getLabelPos?? && item.getLabelPos()??>${item.getLabelPos()}<#else>LEFT</#if>' labelPos='<#if item.getLabelPos?? && item.getLabelPos()??>${item.getLabelPos()}<#else>LEFT</#if>'
:caption="<#if langbase??>$t('${langbase}.details.${item.name}')<#else>'${item.getCaption()}'</#if>" caption="<#if item.getCaption?? && item.getCaption()??>${item.getCaption()}</#if>"
:isEmptyCaption="<#if item.isEmptyCaption?? && item.isEmptyCaption()??>${item.isEmptyCaption()?c}<#else>false</#if>" :isEmptyCaption="<#if item.isEmptyCaption?? && item.isEmptyCaption()??>${item.isEmptyCaption()?c}<#else>false</#if>"
:data='data' :data='data'
:value='data.${item.name}' :value='data.${item.name}'
...@@ -13,6 +16,7 @@ ...@@ -13,6 +16,7 @@
> >
${P.getEditorCode(item, "PANELEDITOR.vue").code} ${P.getEditorCode(item, "PANELEDITOR.vue").code}
</app-panel-item> </app-panel-item>
</#if>
</div> </div>
</#assign> </#assign>
......
<#assign selfContent> <#assign selfContent>
<#if item.render??>
${item.render.code}
<#else>
${item.getHtmlContent()} ${item.getHtmlContent()}
</#if>
</#assign> </#assign>
<#ibizinclude> <#ibizinclude>
......
<#assign selfContent>
<#if item.render??>
${item.render.code}
<#else>
面板自定义插件没有定义插件
</#if>
</#assign>
<#ibizinclude> <#ibizinclude>
./@MACRO/PLAYOUT.vue.ftl ./@MACRO/PLAYOUT.vue.ftl
</#ibizinclude> </#ibizinclude>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册