| | |
| | | <div class="pam-paragraph"> |
| | | <div class="password-Txt"> |
| | | <div class="pam-consultant-login__title ">密碼</div> |
| | | <div class="password-reset" @click="passwordReset">忘記密碼</div> |
| | | <div class="password-reset" @click="resetPassword">忘記密碼</div> |
| | | </div> |
| | | <div class="position-r mt-10"> |
| | | <input :type="[ isShowPassword ? 'text' : 'password']" |
| | |
| | | return !!(this.verificationCode && this.consultantDto.username && this.consultantDto.password); |
| | | } |
| | | |
| | | passwordReset() { |
| | | const uatResetUrl = 'https://eserviceuat.pcalife.com.tw/sso/reset_password/agentInputUserInfo.html?sys=epos' |
| | | const prodResetUrl ='https://www.eservice.pcalife.com.tw/sso/reset_password/agentInputUserInfo.html?sys=epos' |
| | | if (process.env.ENV === 'uat') { |
| | | window.open(uatResetUrl); |
| | | } |
| | | else { |
| | | window.open(prodResetUrl); |
| | | } |
| | | resetPassword() { |
| | | window.open(process.env.CONSULTANT_FORGET_PASSWORD_URL); |
| | | } |
| | | |
| | | |