<#ibizinclude>../@MACRO/FUNC/MACRO.ftl</#ibizinclude> <#ibizinclude> ../@MACRO/CONTROL/LANGBASE.vue.ftl </#ibizinclude> <#if item.render??> ${item.render.code} <#else> <@badge item>
<i-button type="primary" :disabled="detailsModel.${item.getName()}.disabled" @click="${item.getName()}_click($event)" class="app-form-button<#if item.getPSSysCss?? && item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>"
style="<#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if>">
<#if item.getPSSysImage()??> <#assign img=item.getPSSysImage()> <#if img.getCssClass()?? && (img.getCssClass()?length gt 0)> <i class="${img.getCssClass()}" style="margin-right: 2px;"></i> </#if> <#else> <#if item.getPSUIAction?? && item.getPSUIAction()?? && item.getPSUIAction().getPSSysImage?? && item.getPSUIAction().getPSSysImage()??> <#assign img=item.getPSUIAction().getPSSysImage()> <#if img.getCssClass()?? && (img.getCssClass()?length gt 0)> <menu-icon :item="{iconcls: '${img.getCssClass()}'}" /> </#if> </#if> </#if>
<#if item.isShowCaption()><span ><#if item.getCaptionItemName()?? && item.getCaptionItemName()?length gt 0>{{data.${item.getCaptionItemName()}}}<#else><#if langbase??>{{$t('${langbase}.details.${item.name}')}}<#else>${item.getCaption()}</#if></#if></span></#if> </i-button> </@badge> </#if>