保誠-保戶業務員媒合平台
Tomas
2022-05-09 27c419054caf6d2e31713372579126812a747edc
PAMapp/pages/consultantLogin/index.vue
@@ -19,7 +19,7 @@
      <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']"
@@ -133,15 +133,8 @@
      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);
    }