| | |
| | | if (process.env.NODE_ENV === "development") { //开发环境 |
| | | objUrl = `https://t.finlean.com/comn_business/#/main/queryres?bizId=${this.bizId}&bizType=${this.bizType}` |
| | | } else{ //生产 |
| | | objUrl = `${window.location.origin}/#/main/queryres?bizId=${this.bizId}&bizType=${this.bizType}` |
| | | objUrl = `${window.location.origin}/comn_business/#/main/queryres?bizId=${this.bizId}&bizType=${this.bizType}` |
| | | } |
| | | const objForm ={bizId:this.bizId,bizType:this.bizType,callbackUrl:objUrl} |
| | | this.$api.getFaceUrl(objForm).then(res=>{ |
| | | const objForm ={bizId:this.bizId,bizType:this.bizType,callbackUrl:objUrl} |
| | | this.$api.getFaceUrl(objForm).then(res=>{ |
| | | window.location.href=res.body.faceUrl |
| | | }) |
| | | }) |
| | | // this.$refs.credRef.validate().then(() => { |
| | | // // 验证通过 |
| | | // if (this.dataForm.verCode ==undefined || this.dataForm.verCode =='') return this.$notify('请输入验证码') |