提交 8079b9c3 编写于 作者: RedPig97's avatar RedPig97

update: 登录组件更新

上级 1a85ee15
......@@ -67,15 +67,15 @@
</app-tab-panel>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "FIELD">
<#if panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_USERID">
<app-login-input class="app-login-user" name="${panelDetail.getName()}" :model="layoutModelDetails.${panelDetail.getName()}" :value="layoutData.${panelDetail.getName()}" defaultIcon="ios-contact" @valueChange="handleValueChange" />
<app-login-input class="app-login-user" name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" defaultIcon="ios-contact" @valueChange="handleValueChange" />
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_PASSWORD">
<app-login-input class="app-login-password" name="${panelDetail.getName()}" defaultType="password" :model="layoutModelDetails.${panelDetail.getName()}" :value="layoutData.${panelDetail.getName()}" defaultIcon="ios-key" @valueChange="handleValueChange" />
<app-login-input class="app-login-password" name="${panelDetail.getName()}" defaultType="password" :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" defaultIcon="ios-key" @valueChange="handleValueChange" />
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_ORGPICK">
<app-login-org name="${panelDetail.getName()}" :model="layoutModelDetails.${panelDetail.getName()}" :value="layoutData.${panelDetail.getName()}" @valueChange="handleValueChange" />
<app-login-org name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" @valueChange="handleValueChange" />
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_VERIFICATIONCODE">
<app-login-note-verify name="${panelDetail.getName()}" :model="layoutModelDetails.${panelDetail.getName()}" :value="layoutData.${panelDetail.getName()}" @valueChange="handleValueChange" />
<app-login-note-verify name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" @valueChange="handleValueChange" />
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "AUTH_LOGINMSG">
<app-login-message name="${panelDetail.getName()}" :model="layoutModelDetails.${panelDetail.getName()}" :value="layoutData.${panelDetail.getName()}" />
<app-login-message name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" />
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "APP_APPTITLE">
<app-preset-title name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails"/>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "VIEW_PAGECAPTION">
......@@ -181,11 +181,11 @@
</#if>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "BUTTON">
<#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()}" :model="layoutModelDetails.${panelDetail.getName()}" defaultStyle='primary' @itemClick="handleButtonClick" />
<app-login-button class="app-login-button" name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails" defaultStyle='primary' @itemClick="handleButtonClick" />
<#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()}" :model="layoutModelDetails.${panelDetail.getName()}" defaultStyle='success' @itemClick="handleButtonClick" />
<app-login-button class="app-reset-button" name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails" defaultStyle='success' @itemClick="handleButtonClick" />
<#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()}" :model="layoutModelDetails.${panelDetail.getName()}" @itemClick="handleButtonClick" />
<app-login-button class="app-logout-button" name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails" @itemClick="handleButtonClick" />
<#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()??>
<app-preset-button
name="${panelDetail.getName()}"
......@@ -219,9 +219,9 @@
</app-ctrl-pos>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "USERCONTROL">
<#if panelDetail.getPredefinedType?? && panelDetail.getPredefinedType()?? && panelDetail.getPredefinedType() == "AUTH_CAPTCHA">
<app-login-captcha name="${panelDetail.getName()}" :model="layoutModelDetails.${panelDetail.getName()}" :value="layoutData.${panelDetail.getName()}" @valueChange="handleValueChange" />
<app-login-captcha name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" @valueChange="handleValueChange" />
<#elseif panelDetail.getPredefinedType?? && panelDetail.getPredefinedType()?? && panelDetail.getPredefinedType() == "AUTH_SSO">
<app-login-third name="${panelDetail.getName()}" :model="layoutModelDetails.${panelDetail.getName()}" :value="layoutData.${panelDetail.getName()}" />
<app-login-third name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails" :value="layoutData.${panelDetail.getName()}" />
<#else>
<span>用户自定义控件</span>
</#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册