| | |
| | | }, |
| | | //发送授权验证码 |
| | | sendVerifyCode(data) { |
| | | return $http.post('/signContract/sendVerifyCode', data); |
| | | return $http.post('/inside/getMessageCode', data); |
| | | }, |
| | | //校验授权码 |
| | | checkVerifyCode(data) { |
| | |
| | | } 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:dataForm.verCode } |
| | | this.$api.getFaceUrl(objForm).then(res => { |
| | | window.location.href = res.body.faceUrl |
| | | }) |
| | |
| | | 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() |
| | | }) |