| | |
| | | </template> |
| | | </van-field> --> |
| | | <!-- <van-field readonly clickable name="noName" :value="bankName" label="银行名称" placeholder="请选择银行名称" @click="showPicker = true" :rules="noName" right-icon="arrow"/> --> |
| | | <div> |
| | | <div v-if="this.bizType==0 && this.dataInfo.status==0 || this.dataInfo.status==0 && this.bizType==1"> |
| | | <van-field v-model.trim="dataForm.name" label="姓名:" readonly/> |
| | | <van-field v-model.trim="dataForm.idNo" label="身份证号:" readonly/> |
| | | </div> |
| | | |
| | | <div v-else> |
| | | <van-field v-model.trim="dataForm.name" label="企业名称:" readonly/> |
| | | <van-field v-model.trim="dataForm.idNo" label="负责人姓名:" readonly/> |
| | | </div> |
| | | <van-field v-model.trim="dataForm.verCode" center clearable label="短信验证码" :rules="codeRules" placeholder="请输入短信验证码" > |
| | | <template #button> |
| | | <van-button size="small" color="#6cc3bb" @click.stop="getCode" native-type="button" :disabled="isdisabled">{{codeText}}</van-button> |
| | |
| | | </van-field> |
| | | <div class="index-title"> |
| | | <van-checkbox v-model="checked" style="height:30px; margin-right:5px" checked-color="#6cc3bb"></van-checkbox> |
| | | <div v-if="bizType==0 && $route.query.types!=1" style="color:#999999;font-size:12px"> 阅读并同意<span style="border-bottom:1px solid #00F; color:#00F" @click="show=true">《信息授权函》</span>的签订</div> |
| | | <div v-if="bizType==1 && $route.query.types!=1" style="color:#999999;font-size:12px"> 阅读并同意<span style="border-bottom:1px solid #00F; color:#00F" @click="showx=true">《保理付款服务合同》</span>的签订</div> |
| | | <div v-if="bizType==0 && this.dataInfo.status==0" style="color:#999999;font-size:12px"> 阅读并同意<span style="border-bottom:1px solid #00F; color:#00F" @click="show=true">《信息授权函》</span>的签订</div> |
| | | <div v-if="bizType==1 && this.dataInfo.status==0" style="color:#999999;font-size:12px"> 阅读并同意<span style="border-bottom:1px solid #00F; color:#00F" @click="showx=true">《保理付款服务合同》</span>的签订</div> |
| | | <div v-if="bizType==1 && this.dataInfo.status==3" style="color:#999999;font-size:12px"> 阅读并同意<span style="border-bottom:1px solid #00F; color:#00F" @click="showx=true">《有追索权保理业务合同s》</span>的签订</div> |
| | | </div> |
| | | <div style="margin: 16px;margin-top:30px"> |
| | | <van-button round block color="#6cc3bb" @click="onFailed" native-type="submit">确认</van-button> |
| | |
| | | methods: { |
| | | bankCardNoInit() { |
| | | let objForm ={bizId:this.bizId,bizType:this.bizType} |
| | | this.$api.refreshFaceStatus(objForm).then(res=>{ |
| | | this.$api.getBizStatus(objForm).then(res=>{ |
| | | this.dataInfo =res.body |
| | | if (this.dataInfo.status==0){ |
| | | this.$api.getFrontData(objForm).then(res=>{ |
| | | this.dataForm =res.body |
| | | }) |
| | | }else if(this.dataInfo.status==1 && Number(this.bizType)==0 || this.dataInfo.status==1 && Number(this.bizType)==1 || this.dataInfo.status==4 && Number(this.bizType)==1){ |
| | | this.$router.push({path:'/main/queryres',query:{...objForm}}) |
| | | } |
| | | }) |
| | | }, |
| | |
| | | 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('请输入验证码') |