提交 c608b87a 编写于 作者: tony001's avatar tony001

update:更新

上级 cc068c3b
...@@ -92,31 +92,83 @@ ...@@ -92,31 +92,83 @@
defaultIcon="ios-key" defaultIcon="ios-key"
@valueChange="handleValueChange" /></@compress> @valueChange="handleValueChange" /></@compress>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_ORGPICK"> <#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_ORGPICK">
<app-login-org name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" @valueChange="handleValueChange" /> <@compress single_line=true><app-login-org
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
:value="layoutData.${panelDetail.getName()}"
@valueChange="handleValueChange" /></@compress>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_VERIFICATIONCODE"> <#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_VERIFICATIONCODE">
<app-login-note-verify name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" @valueChange="handleValueChange" /> <@compress single_line=true><app-login-note-verify
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
:value="layoutData.${panelDetail.getName()}"
@valueChange="handleValueChange" /></@compress>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_LOGINMSG"> <#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_LOGINMSG">
<app-login-message name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" /> <@compress single_line=true><app-login-message
name="${panelDetail.getName()}
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
:value="layoutData.${panelDetail.getName()}" /></@compress>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "APP_APPTITLE"> <#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "APP_APPTITLE">
<app-preset-title name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails"/> <@compress single_line=true><app-preset-title
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"/></@compress>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "VIEW_PAGECAPTION"> <#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "VIEW_PAGECAPTION">
<app-preset-caption name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails">${view.caption}</app-preset-caption> <@compress single_line=true><app-preset-caption
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails">
${view.caption}
</app-preset-caption></@compress>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_TEXT_DYNAMIC"> <#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_TEXT_DYNAMIC">
<app-preset-text name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :value="layoutData.${panelDetail.getViewFieldName()}" :layoutModelDetails="layoutModelDetails"/> <@compress single_line=true><app-preset-text
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:value="layoutData.${panelDetail.getViewFieldName()}"
:layoutModelDetails="layoutModelDetails"/></@compress>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_SWITCH"> <#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_SWITCH">
<app-preset-switch name="${panelDetail.getName()}" <#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" @valueChange="handleValueChange"/> <@compress single_line=true><app-preset-switch
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
:value="layoutData.${panelDetail.getName()}"
@valueChange="handleValueChange"/></@compress>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_QRCODE"> <#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_QRCODE">
<app-preset-qrcode name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" /> <@compress single_line=true><app-preset-qrcode
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
:value="layoutData.${panelDetail.getName()}" /></@compress>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_TEXTBOX"> <#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_TEXTBOX">
<app-preset-text-input name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" @valueChange="handleValueChange"/> <@compress single_line=true><app-preset-text-input
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
:value="layoutData.${panelDetail.getName()}"
@valueChange="handleValueChange"/></@compress>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_ORGPICK"> <#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_ORGPICK">
<app-index-org-select name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails"></app-index-org-select> <@compress single_line=true><app-index-org-select
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"/></@compress>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_IMAGE"> <#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_IMAGE">
<app-field-image-dynamic name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :value="layoutData['${panelDetail.getName()}']" :layoutModelDetails="layoutModelDetails"></app-field-image-dynamic> <@compress single_line=true><app-field-image-dynamic
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:value="layoutData['${panelDetail.getName()}']"
:layoutModelDetails="layoutModelDetails" /></@compress>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_CAROUSEL"> <#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_CAROUSEL">
<app-rawitem-carousel name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> type="FIELD_CAROUSEL" :data="layoutData" :layoutModelDetails="layoutModelDetails"></app-rawitem-carousel> <@compress single_line=true><app-rawitem-carousel
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
type="FIELD_CAROUSEL"
:data="layoutData"
:layoutModelDetails="layoutModelDetails"/></@compress>
<#else> <#else>
<span>属性项</span> <@compress single_line=true><span>属性项</span></@compress>
</#if> </#if>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "RAWITEM"> <#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "RAWITEM">
<#if panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()??> <#if panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()??>
...@@ -131,15 +183,13 @@ ...@@ -131,15 +183,13 @@
<#if rawdetail.getPSSysImage?? && rawdetail.getPSSysImage()?? && rawdetail.getPSSysImage().getCssClass?? && rawdetail.getPSSysImage().getCssClass()??> <#if rawdetail.getPSSysImage?? && rawdetail.getPSSysImage()?? && rawdetail.getPSSysImage().getCssClass?? && rawdetail.getPSSysImage().getCssClass()??>
imageClass="${ rawdetail.getPSSysImage().getCssClass() }" imageClass="${ rawdetail.getPSSysImage().getCssClass() }"
</#if> </#if>
:layoutModelDetails="layoutModelDetails" :layoutModelDetails="layoutModelDetails"/></@compress>
>
</app-rawitem-image></@compress>
<#elseif rawdetail.getPredefinedType?? && rawdetail.getPredefinedType()?? && rawdetail.getPredefinedType() == "STATIC_CAROUSEL"> <#elseif rawdetail.getPredefinedType?? && rawdetail.getPredefinedType()?? && rawdetail.getPredefinedType() == "STATIC_CAROUSEL">
<app-rawitem-carousel <@compress single_line=true><app-rawitem-carousel
name="${panelDetail.getName()}" name="${panelDetail.getName()}"
type="STATIC_CAROUSEL" type="STATIC_CAROUSEL"
<#if isMultiData == true >:index="slotProps.data.index"</#if> <#if isMultiData == true >:index="slotProps.data.index"</#if>
:value=<@compress single_line=true>"[ :value="[
<#if rawdetail.getPSRawItemParams?? && rawdetail.getPSRawItemParams()??> <#if rawdetail.getPSRawItemParams?? && rawdetail.getPSRawItemParams()??>
<#list rawdetail.getPSRawItemParams() as param>{ <#list rawdetail.getPSRawItemParams() as param>{
<#if param.key??> <#if param.key??>
...@@ -159,15 +209,13 @@ ...@@ -159,15 +209,13 @@
</#if> </#if>
]"</@compress> ]"</@compress>
:layoutModelDetails="layoutModelDetails" :layoutModelDetails="layoutModelDetails"
:data="layoutData" :data="layoutData"/></@compress>
>
</app-rawitem-carousel>
<#elseif rawdetail.getPredefinedType?? && rawdetail.getPredefinedType()?? && rawdetail.getPredefinedType() == "STATIC_VIDEOPLAYER"> <#elseif rawdetail.getPredefinedType?? && rawdetail.getPredefinedType()?? && rawdetail.getPredefinedType() == "STATIC_VIDEOPLAYER">
<app-rawitem-video <@compress single_line=true><app-rawitem-video
name="${panelDetail.getName()}" name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if> <#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails" :layoutModelDetails="layoutModelDetails"
:videoParmas=<@compress single_line=true>"[ :videoParmas="[
<#if rawdetail.getPSRawItemParams?? && rawdetail.getPSRawItemParams()??> <#if rawdetail.getPSRawItemParams?? && rawdetail.getPSRawItemParams()??>
<#list rawdetail.getPSRawItemParams() as param>{ <#list rawdetail.getPSRawItemParams() as param>{
<#if param.key??> <#if param.key??>
...@@ -179,29 +227,62 @@ ...@@ -179,29 +227,62 @@
}<#if param_has_next>,</#if> }<#if param_has_next>,</#if>
</#list> </#list>
</#if> </#if>
]"</@compress> ]"/></@compress>
/>
<#elseif panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()?? && panelDetail.getPSRawItem().getPredefinedType?? && panelDetail.getPSRawItem().getPredefinedType()?? && panelDetail.getPSRawItem().getPredefinedType() == 'NAV_POS'> <#elseif panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()?? && panelDetail.getPSRawItem().getPredefinedType?? && panelDetail.getPSRawItem().getPredefinedType()?? && panelDetail.getPSRawItem().getPredefinedType() == 'NAV_POS'>
<app-nav-pos name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails" :navData="layoutModelDetails['${panelDetail.getName()}'].navData"></app-nav-pos> <@compress single_line=true><app-nav-pos
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
:navData="layoutModelDetails['${panelDetail.getName()}'].navData"/></@compress>
<#elseif panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()?? && panelDetail.getPSRawItem().getPredefinedType?? && panelDetail.getPSRawItem().getPredefinedType()?? && panelDetail.getPSRawItem().getPredefinedType() == 'NAV_BREADCRUMB'> <#elseif panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()?? && panelDetail.getPSRawItem().getPredefinedType?? && panelDetail.getPSRawItem().getPredefinedType()?? && panelDetail.getPSRawItem().getPredefinedType() == 'NAV_BREADCRUMB'>
<app-index-nav-breadcrumb name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails"<#if view?? && view.getViewType?? && view.getViewType() == 'APPINDEXVIEW'> indexViewTag="${srffilepath2(view.getCodeName())}"</#if>></app-index-nav-breadcrumb> <@compress single_line=true><app-index-nav-breadcrumb
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
<#if view?? && view.getViewType?? && view.getViewType() == 'APPINDEXVIEW'> indexViewTag="${srffilepath2(view.getCodeName())}"</#if> /></@compress>
<#elseif panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()?? && panelDetail.getPSRawItem().getPredefinedType?? && panelDetail.getPSRawItem().getPredefinedType()?? && (panelDetail.getPSRawItem().getPredefinedType() == 'STATIC_LABEL' || panelDetail.getPSRawItem().getPredefinedType() == 'STATIC_TEXT')> <#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()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails"/> <@compress single_line=true><app-preset-text
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"/></@compress>
<#elseif panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()?? && panelDetail.getPSRawItem().getPredefinedType?? && panelDetail.getPSRawItem().getPredefinedType()?? && panelDetail.getPSRawItem().getPredefinedType() == 'NAV_TABS'> <#elseif panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()?? && panelDetail.getPSRawItem().getPredefinedType?? && panelDetail.getPSRawItem().getPredefinedType()?? && panelDetail.getPSRawItem().getPredefinedType() == 'NAV_TABS'>
<app-index-nav-tabs name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails"></app-index-nav-tabs> <@compress single_line=true><app-index-nav-tabs
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails" /></@compress>
<#elseif panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()?? && panelDetail.getPSRawItem().getPredefinedType?? && panelDetail.getPSRawItem().getPredefinedType()?? && panelDetail.getPSRawItem().getPredefinedType() == 'AUTH_USERINFO'> <#elseif panelDetail.getPSRawItem?? && panelDetail.getPSRawItem()?? && panelDetail.getPSRawItem().getPredefinedType?? && panelDetail.getPSRawItem().getPredefinedType()?? && panelDetail.getPSRawItem().getPredefinedType() == 'AUTH_USERINFO'>
<app-index-user-info name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails"></app-index-user-info> <@compress single_line=true><app-index-user-info
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails" /></@compress>
</#if> </#if>
</#if> </#if>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "BUTTON"> <#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "BUTTON">
<#if panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType()?? && panelDetail.getPSUIAction().getPredefinedType() == "APP_LOGIN"> <#if panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType()?? && panelDetail.getPSUIAction().getPredefinedType() == "APP_LOGIN">
<app-login-button class="app-login-button" name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails" defaultStyle='primary' @itemClick="handleButtonClick" /> <@compress single_line=true><app-login-button
class="app-login-button"
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
defaultStyle='primary'
@itemClick="handleButtonClick" /></@compress>
<#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType()?? && panelDetail.getPSUIAction().getPredefinedType() == "DATA_CANCELCHANGES"> <#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType()?? && panelDetail.getPSUIAction().getPredefinedType() == "DATA_CANCELCHANGES">
<app-login-button class="app-reset-button" name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails" defaultStyle='success' @itemClick="handleButtonClick" /> <@compress single_line=true><app-login-button
class="app-reset-button"
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
defaultStyle='success'
@itemClick="handleButtonClick" /></@compress>
<#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType()?? && panelDetail.getPSUIAction().getPredefinedType() == "APP_LOGOUT"> <#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType()?? && panelDetail.getPSUIAction().getPredefinedType() == "APP_LOGOUT">
<app-login-button class="app-logout-button" name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails" @itemClick="handleButtonClick" /> <@compress single_line=true><app-login-button
class="app-logout-button"
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
@itemClick="handleButtonClick" /></@compress>
<#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()??> <#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()??>
<app-preset-button <@compress single_line=true><app-preset-button
name="${panelDetail.getName()}" name="${panelDetail.getName()}"
<#if isMultiData == true > :index="slotProps.data.index"</#if> <#if isMultiData == true > :index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails" :layoutModelDetails="layoutModelDetails"
...@@ -212,36 +293,43 @@ ...@@ -212,36 +293,43 @@
caption="${panelDetail.getPSUIAction().getCaption()}" caption="${panelDetail.getPSUIAction().getCaption()}"
tooltip="${panelDetail.getPSUIAction().getTooltip()}" tooltip="${panelDetail.getPSUIAction().getTooltip()}"
</#if> </#if>
@itemClick="handleButtonClick"> @itemClick="handleButtonClick" /></@compress>
</app-preset-button>
<#else> <#else>
<app-preset-button <@compress single_line=true><app-preset-button
name="${panelDetail.getName()}" name="${panelDetail.getName()}"
<#if isMultiData == true > :index="slotProps.data.index"</#if> <#if isMultiData == true > :index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails" :layoutModelDetails="layoutModelDetails"
caption="${panelDetail.getCaption()}" caption="${panelDetail.getCaption()}"
@itemClick="handleButtonClick"> @itemClick="handleButtonClick"/></@compress>
</app-preset-button>
</#if> </#if>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "CTRLPOS"> <#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "CTRLPOS">
<app-ctrl-pos name="${panelDetail.getName()}" <#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails"> <app-ctrl-pos name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails">
<#if panelDetail.getName() == 'quicksearchbar' || panelDetail.getName() == 'QUICKSEARCHBAR'> <#if panelDetail.getName() == 'quicksearchbar' || panelDetail.getName() == 'QUICKSEARCHBAR'>
<i-input v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="<@getQuickSearchPlaceholder view />" /> <i-input v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="<@getQuickSearchPlaceholder view />" />
<#elseif view?? && view.hasPSControl?? && view.hasPSControl(panelDetail.getName())> <#elseif view?? && view.hasPSControl?? && view.hasPSControl(panelDetail.getName())>
${P.getCtrlCode(panelDetail.getName(), 'CONTROL.html').code} ${P.getCtrlCode(panelDetail.getName(), 'CONTROL.html').code}
<#else> <#else>
<span>部件占位${panelDetail.getName()}</span> <span>部件占位${panelDetail.getName()}</span>
</#if> </#if>
</app-ctrl-pos> </app-ctrl-pos>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "USERCONTROL"> <#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "USERCONTROL">
<#if panelDetail.getPredefinedType?? && panelDetail.getPredefinedType()?? && panelDetail.getPredefinedType() == "AUTH_CAPTCHA"> <#if panelDetail.getPredefinedType?? && panelDetail.getPredefinedType()?? && panelDetail.getPredefinedType() == "AUTH_CAPTCHA">
<app-login-captcha name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" @valueChange="handleValueChange" /> <@compress single_line=true><app-login-captcha
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
:value="layoutData.${panelDetail.getName()}"
@valueChange="handleValueChange" /></@compress>
<#elseif panelDetail.getPredefinedType?? && panelDetail.getPredefinedType()?? && panelDetail.getPredefinedType() == "AUTH_SSO"> <#elseif panelDetail.getPredefinedType?? && panelDetail.getPredefinedType()?? && panelDetail.getPredefinedType() == "AUTH_SSO">
<app-login-third name="${panelDetail.getName()}"<#if isMultiData == true > :index="slotProps.data.index"</#if> :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" /> <@compress single_line=true><app-login-third
name="${panelDetail.getName()}"
<#if isMultiData == true >:index="slotProps.data.index"</#if>
:layoutModelDetails="layoutModelDetails"
:value="layoutData.${panelDetail.getName()}" /></@compress>
<#else> <#else>
<span>用户自定义控件</span> <@compress single_line=true><span>用户自定义控件</span></@compress>
</#if> </#if>
<#else> <#else>
<span>${panelDetail.getItemType()}暂未支持</span> <@compress single_line=true><span>${panelDetail.getItemType()}暂未支持</span></@compress>
</#if> </#if>
</#macro> </#macro>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册