zhouhao
2022-01-08 980cd417324ef09cde62add23738e1e388a6902a
src/views/main/addBankcard.vue
@@ -177,7 +177,12 @@
          this.$router.push({ path: '/main/queryres', query: { ...objForm } })
        }else  if(this.dataInfo.status == 6 && Number(this.bizType) ==1 || this.dataInfo.status ==2 && Number(this.bizType) ==0 ){  //已完成人脸识别合同签署
               this.$router.push({path:'/main/bancardsucces',query:{bizId:this.bizId,bizType:this.bizType}}) 
        }
        }else if(res.body.status==99 &&  Number(this.bizType)==0 || res.body.status==88 &&  Number(this.bizType)==1  || res.body.status==99 &&  Number(this.bizType)==1){   //人脸识别失败
                      //  window.clearInterval(t2)  // 去除定时器
                      //   slfe.dataInfo =res.body
                      //   slfe.ResultIs =true    //重试
             this.$router.push({ path: '/main/queryres', query: { ...objForm } })
            }
      })
    },
    onClickLeft() {
@@ -197,7 +202,7 @@
      } else {  //生产
        objUrl = `${window.location.origin}/comn_business/#/main/queryres?bizId=${this.bizId}&bizType=${this.bizType}`
      }
      const objForm = { bizId: this.bizId, bizType: this.bizType, callbackUrl: objUrl }
      const objForm = { bizId: this.bizId, bizType: this.bizType, callbackUrl: objUrl,verCode:this.dataForm.verCode }
      this.$api.getFaceUrl(objForm).then(res => {
        window.location.href = res.body.faceUrl
      })
@@ -246,8 +251,8 @@
    getVerificationCode: function () {
      // 向服务器获取验证码        
      this.$api.bankCardAuthMsg({ ...this.dataForm, orderId: this.orderId }).then(res => {
        this.agreementextw = repstrw(this.dataObj.userName, this.dataObj.idNo, this.dataForm.bankCardMblNo, this.bankName, this.dataForm.bankCardNo);
      this.$api.sendVerifyCode({bizId: this.bizId, bizType: this.bizType}).then(res => {
        // this.agreementextw = repstrw(this.dataObj.userName, this.dataObj.idNo, this.dataForm.bankCardMblNo, this.bankName, this.dataForm.bankCardNo);
        this.$notify_success('验证码发送成功!')
        this.setTime()
      })