From cdfbc727fe28b791ba110debd8ea59debb09afca Mon Sep 17 00:00:00 2001 From: kongdeqiang <kongdeqiang960204@163.com> Date: 星期四, 30 三月 2023 23:01:48 +0800 Subject: [PATCH] 提交代码 --- src/components/page/Index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/page/Index.vue b/src/components/page/Index.vue index 6d26e79..e52aa6c 100644 --- a/src/components/page/Index.vue +++ b/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; }) } -- Gitblit v1.9.1