保誠-保戶業務員媒合平台
HelenHuang
2022-05-09 439ee886de4b408d3b36414ca0038021fd20a2ef
PAMapp/pages/consultantLogin/index.vue
@@ -17,7 +17,10 @@
        </div>
      </div>
      <div class="pam-paragraph">
        <div class="pam-consultant-login__title ">密碼</div>
        <div class="password-Txt">
          <div class="pam-consultant-login__title ">密碼</div>
          <div class="password-reset" @click="passwordReset">忘記密碼</div>
        </div>
        <div class="position-r mt-10">
          <input :type="[ isShowPassword ? 'text' : 'password']"
            v-model="consultantDto.password"
@@ -130,6 +133,17 @@
      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);
      }
    }
    ////////////////////////////////////////////////////////////////////
@@ -202,6 +216,16 @@
  .position-r {
    position: relative;
  }
  .password-Txt {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  .password-reset {
    font-size: 16px ;
    cursor: pointer;
  }
  .pam-consultant-login {
    margin: auto;