提交 22b8c954 编写于 作者: RedPig97's avatar RedPig97

update:登录视图自定义组件

上级 a6e4656a
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
contentStyle="${panelDetail.getPSRawItem().getCssStyle()}"/> contentStyle="${panelDetail.getPSRawItem().getCssStyle()}"/>
</#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 == "APP_LOGIN"> <#-- <#if panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType == "APP_LOGIN">
<app-login-button class="app-login-login" type='primary' :caption="$t('components.login.name')" @itemClick="handleItemClick" /> <app-login-button class="app-login-login" type='primary' :caption="$t('components.login.name')" @itemClick="handleItemClick" />
<#elseif panelDetail.getName == "auth_registbutton1"> <#elseif panelDetail.getName == "auth_registbutton1">
<app-login-button class="app-login-register" type='success' :caption="$t('components.login.register')" @itemClick="handleItemClick" /> <app-login-button class="app-login-register" type='success' :caption="$t('components.login.register')" @itemClick="handleItemClick" />
...@@ -104,8 +104,8 @@ ...@@ -104,8 +104,8 @@
<#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType == "APP_LOGOUT"> <#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType == "APP_LOGOUT">
<app-login-button class="app-login-logout" :caption="$t('components.login.logout')" @itemClick="handleItemClick" /> <app-login-button class="app-login-logout" :caption="$t('components.login.logout')" @itemClick="handleItemClick" />
<#else> <#else>
</#if> -->
<span>按钮</span> <span>按钮</span>
</#if>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "CTRLPOS"> <#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "CTRLPOS">
<#if view?? && view.hasPSControl?? && view.hasPSControl(panelDetail.getName())> <#if view?? && view.hasPSControl?? && view.hasPSControl(panelDetail.getName())>
${P.getCtrlCode(panelDetail.getName(), 'CONTROL.html').code} ${P.getCtrlCode(panelDetail.getName(), 'CONTROL.html').code}
...@@ -113,13 +113,13 @@ ...@@ -113,13 +113,13 @@
<span>部件占位${panelDetail.getName()}</span> <span>部件占位${panelDetail.getName()}</span>
</#if> </#if>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "USERCONTROL"> <#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "USERCONTROL">
<#-- <#if panelDetail.getPredefinedType?? && panelDetail.getPredefinedType == "AUTH_CAPTCHA"> <#if panelDetail.getPredefinedType?? && panelDetail.getPredefinedType == "AUTH_CAPTCHA">
<span>人机识别</span> <app-login-captcha />
<#elseif panelDetail.getPredefinedType?? && panelDetail.getPredefinedType == "AUTH_SSO"> <#elseif panelDetail.getPredefinedType?? && panelDetail.getPredefinedType == "AUTH_SSO">
<span>第三方登录</span> <app-login-third />
<#else> <#else>
</#if> -->
<span>用户自定义控件</span> <span>用户自定义控件</span>
</#if>
<#else> <#else>
<span>${panelDetail.getItemType()}暂未支持</span> <span>${panelDetail.getItemType()}暂未支持</span>
</#if> </#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册