zhaoxiaoqiang
2022-11-11 a2a242b8cd3aaebbfea69ca153459b77b0c32c16
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>
@@ -57,16 +57,11 @@
            this.url = "./static/img/ing.png";
            this.titleText = "支付中";
            this.tipText = "正在进行支付,请稍后…";
          }
        });
      }
      if(this.$route.query.model == 2){
          this.$api
        .preSettleStatus({
          orderId: this.$route.query.orderId
        })
        .then(res => {
          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";
@@ -96,9 +91,7 @@
    goBack(){
        this.$router.push({
            path:'/order/order-detail',
            query:{
                id:this.$route.query.orderId
            }
            query:{id:this.$route.query.orderId}
        })
    }
  },