Commit c776df70 authored by 郭志伟's avatar 郭志伟

Merge branch 'fix/policy_add' into 'master'

fix: 顾问轮询,跳转问题修复

See merge request !216
parents 61c89c1d b692b0f9
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
this.getOrderInfo(fromPay); this.getOrderInfo(fromPay);
}, },
methods: { methods: {
...mapActions["setIsLoading"], ...mapActions(["setIsLoading"]),
// 1-待支付,3-支付成功,4-问卷收集完成,方案配置中,5-方案配置完成, -1 -支付失败订单关闭,-2 -支付超过1小时订单关闭,-3 -订单关闭 // 1-待支付,3-支付成功,4-问卷收集完成,方案配置中,5-方案配置完成, -1 -支付失败订单关闭,-2 -支付超过1小时订单关闭,-3 -订单关闭
async getOrderInfo(checkPayState = false) { async getOrderInfo(checkPayState = false) {
console.log(checkPayState); console.log(checkPayState);
......
...@@ -27,7 +27,8 @@ export default { ...@@ -27,7 +27,8 @@ export default {
this.isPayWait = true; this.isPayWait = true;
this.orderInfo = this.$route.query; this.orderInfo = this.$route.query;
// 如果存在isXyqb,同时当前不是在信用钱包环境 // 如果存在isXyqb,同时当前不是在信用钱包环境
if (this.orderInfo.isConsultant) { if (this.orderInfo.isConsultant && !isXyqb) {
window.location.href = "xyqb://my";
this.$router.replace({ path: "/consultant", query: { from: "wxh5" } }); this.$router.replace({ path: "/consultant", query: { from: "wxh5" } });
return; return;
} else if ( } else if (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment