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

update:更新

上级 69b59655
......@@ -66,17 +66,17 @@
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_LOGINMSG">
<app-login-message />
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "APP_APPTITLE">
<app-preset-title />
<app-preset-title name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails"/>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "VIEW_PAGECAPTION">
<app-preset-caption>${view.caption}</app-preset-caption>
<app-preset-caption name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails">${view.caption}</app-preset-caption>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_TEXT_DYNAMIC">
<app-preset-text name="${panelDetail.getName()}" predefinedType="${panelDetail.getPSEditor().getPredefinedType()}"/>
<app-preset-text name="${panelDetail.getName()}" :value="layoutData.${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails"/>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_SWITCH">
<app-preset-switch name="${panelDetail.getName()}"/>
<app-preset-switch :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" name="${panelDetail.getName()}" @valueChange="handleVauleChange"/>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_QRCODE">
<app-preset-qrcode name="${panelDetail.getName()}"/>
<app-preset-qrcode :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" name="${panelDetail.getName()}"/>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_TEXTBOX">
<app-preset-text-input name="${panelDetail.getName()}"/>
<app-preset-text-input :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" name="${panelDetail.getName()}" @valueChange="handleVauleChange"/>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_ORGPICK">
<app-index-org-select name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails"></app-index-org-select>
<#else>
......@@ -118,17 +118,7 @@
<#elseif panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()?? && panelDetail.getPSRawItem().getPredefinedType?? && panelDetail.getPSRawItem().getPredefinedType()?? && panelDetail.getPSRawItem().getPredefinedType() == 'NAV_BREADCRUMB'>
<app-index-nav-breadcrumb name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails"<#if view?? && view.getViewType?? && view.getViewType() == 'APPINDEXVIEW'> indexViewTag="${srffilepath2(view.getCodeName())}"</#if>></app-index-nav-breadcrumb>
<#elseif panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()?? && panelDetail.getPSRawItem().getPredefinedType?? && panelDetail.getPSRawItem().getPredefinedType()?? && (panelDetail.getPSRawItem().getPredefinedType() == 'STATIC_LABEL' || panelDetail.getPSRawItem().getPredefinedType() == 'STATIC_TEXT')>
<app-preset-text
name="${panelDetail.getName()}"
predefinedType="${panelDetail.getPSRawItem().getPredefinedType()}"
renderMode="${panelDetail.getPSRawItem().getRenderMode()}"
contentType="${panelDetail.getPSRawItem().getContentType()}"
<#if panelDetail.getPSRawItem().getContentType() == 'RAW'>
value="${panelDetail.getRawContent()}"
<#elseif panelDetail.getPSRawItem().getContentType() == 'HTML'>
value="${panelDetail.getHtmlContent()}"
</#if>
contentStyle="${panelDetail.getPSRawItem().getCssStyle()}"/>
<app-preset-text name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails"/>
<#elseif panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()?? && panelDetail.getPSRawItem().getPredefinedType?? && panelDetail.getPSRawItem().getPredefinedType()?? && panelDetail.getPSRawItem().getPredefinedType() == 'NAV_TABS'>
<app-index-nav-tabs name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails"></app-index-nav-tabs>
<#elseif panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()?? && panelDetail.getPSRawItem().getPredefinedType?? && panelDetail.getPSRawItem().getPredefinedType()?? && panelDetail.getPSRawItem().getPredefinedType() == 'AUTH_USERINFO'>
......@@ -144,6 +134,19 @@
<app-login-button class="app-reset-button" :model="layoutModelDetails.${panelDetail.getName()}" defaultStyle='success' @itemClick="handleItemClick" />
<#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType()?? && panelDetail.getPSUIAction().getPredefinedType() == "APP_LOGOUT">
<app-login-button class="app-logout-button" :model="layoutModelDetails.${panelDetail.getName()}" @itemClick="handleItemClick" />
<#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()??>
<app-preset-button
name="${panelDetail.getName()}"
:layoutModelDetails="layoutModelDetails"
<#if panelDetail.getCaptionItemName()??>
:caption="layoutData.${panelDetail.getCaptionItemName()}"
:tooltip="layoutData.${panelDetail.getCaptionItemName()}"
<#else>
:caption="$t('<#if panelDetail.getPSUIAction().getCapPSLanguageRes()??>${panelDetail.getPSUIAction().getCapPSLanguageRes().lanResTag}</#if>', '${panelDetail.getPSUIAction().getCaption()}')"
:tooltip="$t('<#if panelDetail.getPSUIAction().getTooltipPSLanguageRes()??>${panelDetail.getPSUIAction().getTooltipPSLanguageRes().lanResTag}</#if>', '${panelDetail.getPSUIAction().getTooltip()}')"
</#if>
@itemClick="handleItemClick">
</app-preset-button>
<#else>
<span>按钮</span>
</#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册