zhaoxiaoqiang
2022-11-11 a2a242b8cd3aaebbfea69ca153459b77b0c32c16
删除对接专用
2 files modified
65 ■■■■■ changed files
src/views/order-handling/face-recognition.vue 4 ●●●● patch | view | raw | blame | history
src/views/order/pay-result.vue 61 ●●●●● patch | view | raw | blame | history
src/views/order-handling/face-recognition.vue
@@ -2,7 +2,7 @@
 * @Author: 小明丶
 * @Date: 2020-05-25 09:09:32
 * @LastEditors: zxq
 * @LastEditTime: 2022-08-12 10:02:49
 * @LastEditTime: 2022-11-11 15:09:14
 * @Description: 人脸识别结果页面
-->
<template>
@@ -77,7 +77,7 @@
        </van-checkbox>
      </div>
      <div class="ridio-box">
        <van-checkbox v-model="checkede" icon-size="13px">我同意e签宝采集人脸照片并提供给首诺商业保理(深圳)有限公司(对接专用)用于实名认证</van-checkbox>
        <van-checkbox v-model="checkede" icon-size="13px">我同意e签宝采集人脸照片并提供给首诺商业保理(深圳)有限公司用于实名认证</van-checkbox>
      </div>
    </div>
    <div class="btn-box">
src/views/order/pay-result.vue
@@ -1,8 +1,8 @@
<!--
 * @Author: 小明丶
 * @Date: 2020-06-19 15:59:27
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-10-29 16:51:54
 * @LastEditors: zxq
 * @LastEditTime: 2022-11-11 09:35:55
 * @Description: 支付结果页面
--> 
<template>
@@ -56,39 +56,34 @@
          if (res.body.repaySts == 0) {
            this.url = "./static/img/ing.png";
            this.titleText = "支付中";
            this.tipText = "正在进行支付,请稍后…";
            this.tipText = "正在进行支付,请稍后…";
          }
        });
      }
      if(this.$route.query.model == 2){
          this.$api
        .preSettleStatus({
          orderId: this.$route.query.orderId
        })
        .then(res => {
          this.preSettleStatus = res.body.status
          if (res.body.status == 2) {
            this.url = "./static/img/faile.png";
            this.titleText = "支付失败";
            this.tipText = res.body.msg;
          }
          if (res.body.status == 1) {
            this.url = "./static/img/success.png";
            this.titleText = "支付成功";
            this.tipText = "支付成功,跳转中请稍后…";
            this.timer = setTimeout(()=>{
                this.goBack()
            },3000)
          }
          if (res.body.status == 0) {
            this.url = "./static/img/ing.png";
            this.titleText = "支付中";
            this.tipText = "正在进行支付,请稍后…";
            this.timer = setInterval(()=>{
                this.init()
            },3000)
          }
          this.$api.preSettleStatus({ orderId: this.$route.query.orderId}).then(res => {
              this.preSettleStatus = res.body.status
              if (res.body.status == 2) {
                this.url = "./static/img/faile.png";
                this.titleText = "支付失败";
                this.tipText = res.body.msg;
              }
              if (res.body.status == 1) {
                this.url = "./static/img/success.png";
                this.titleText = "支付成功";
                this.tipText = "支付成功,跳转中请稍后…";
                this.timer = setTimeout(()=>{
                    this.goBack()
                },3000)
              }
              if (res.body.status == 0) {
                  this.url = "./static/img/ing.png";
                  this.titleText = "支付中";
                  this.tipText = "正在进行支付,请稍后…";
                  this.timer = setInterval(()=>{
                      this.init()
                  },3000)
              }
        });
      }
      
@@ -96,9 +91,7 @@
    goBack(){
        this.$router.push({
            path:'/order/order-detail',
            query:{
                id:this.$route.query.orderId
            }
            query:{id:this.$route.query.orderId}
        })
    }
  },