kongdeqiang
2023-03-30 cdfbc727fe28b791ba110debd8ea59debb09afca
src/components/page/Index.vue
@@ -70,12 +70,12 @@
            var cs = url.split('?')[1];
            var cs_arr = cs.split('&');
            var cs={};
            for(var i=0;i<cs_arr.length;i++){         
            for(var i=0;i<cs_arr.length;i++){
                cs[cs_arr[i].split('=')[0]] = cs_arr[i].split('=')[1]
            }
            this.ticketId = cs.id;
            this.$byutil.postData(this, this.$systemconfig.basePath + '/ticket/findById', {id:cs.id}, res => {
                this.statisticData = res.obj;
                this.statisticData = res.data;
            })
        },
        methods: {
@@ -83,11 +83,11 @@
                //window.location.href = "https://payapp.weixin.qq.com/life/index?fr=PSBC&pg=charge&ct=39&sv=20&wx=130100002001&bk=13040621E00000002330"
                this.$byutil.postData(this, this.$systemconfig.basePath + '/ffPay/zhiFa', {id:this.ticketId}, res => {
                    this.$message({
                        message: '10秒后自动跳转到支付页面,防止内外网数据同步延迟,请稍等',
                        message: '2秒后自动跳转到支付页面,防止内外网数据同步延迟,请稍等',
                        type: 'success',
                        duration:10000,
                        duration:2000,
                    });
                    setTimeout(function(){window.location.href = res.obj;},10000);
                    setTimeout(function(){window.location.href = res.msg;},2000);
                    this.showFlag = false;
                })
            }