Commit 0818729f84d38885ccd540d6aeee18f6eaefabe4
1 parent
86dc5df3
判断赚取积分跳转到那个活动
Showing
2 changed files
with
14 additions
and
3 deletions
src/pages/partyBuildingGoodDetails/partyBuildingGoodDetails.vue
| @@ -435,10 +435,18 @@ export default { | @@ -435,10 +435,18 @@ export default { | ||
| 435 | * @param {Object} item [数据对象] | 435 | * @param {Object} item [数据对象] |
| 436 | */ | 436 | */ |
| 437 | jumpClientIntegralList (item) { | 437 | jumpClientIntegralList (item) { |
| 438 | - if (item.position == 10) { | 438 | + // onLine线上报名 offline线下报名 partyBuilding党建答题 |
| 439 | + if (this.$route.query.jumpPath == 'partyBuilding') { | ||
| 439 | // 跳转党建首页 | 440 | // 跳转党建首页 |
| 440 | window.location.href = "https://wjjh5" + (this.mode == 'prod' ? "" : "test") + ".cnlive.com/activityH5/djdt/index.html?modelId=1&channelName=tg_wjdc_djdt&isShowTitle=true&isWjjReport=true" + "&oid=" + this.$route.query.oid | 441 | window.location.href = "https://wjjh5" + (this.mode == 'prod' ? "" : "test") + ".cnlive.com/activityH5/djdt/index.html?modelId=1&channelName=tg_wjdc_djdt&isShowTitle=true&isWjjReport=true" + "&oid=" + this.$route.query.oid |
| 441 | - } else if (item.position == 11) { | 442 | + } else if (this.$route.query.jumpPath == 'onLine') { |
| 443 | + // 跳转智慧教育线上报名首页 | ||
| 444 | + window.location.href = "https://wjjh5" + (this.mode == 'prod' ? "" : "test") + ".cnlive.com/cnWisdomEducation.html?oid=" + this.$route.query.jumpPath + "&pageId=" + this.$route.query.pageId + "&channelName=" + this.$route.query.channelName; | ||
| 445 | + } else if (this.$route.query.jumpPath == 'offline') { | ||
| 446 | + // 跳转智慧教育线下报名首页 | ||
| 447 | + window.location.href = "https://wjjh5" + (this.mode == 'prod' ? "" : "test") + ".cnlive.com/cnWisdomEducation.html?oid=" + this.$route.query.jumpPath + "&pageId=" + this.$route.query.pageId + "&channelName=" + this.$route.query.channelName; | ||
| 448 | + } else { | ||
| 449 | + // 跳转智慧教育线上报名首页 | ||
| 442 | window.location.href = "https://wjjh5" + (this.mode == 'prod' ? "" : "test") + ".cnlive.com/education/vitalityValueIndex" | 450 | window.location.href = "https://wjjh5" + (this.mode == 'prod' ? "" : "test") + ".cnlive.com/education/vitalityValueIndex" |
| 443 | } | 451 | } |
| 444 | }, | 452 | }, |
src/pages/partyBuildingPointsMall/partyBuildingPointsMall.vue
| @@ -216,7 +216,10 @@ export default { | @@ -216,7 +216,10 @@ export default { | ||
| 216 | query: { | 216 | query: { |
| 217 | goodsId: item.id, | 217 | goodsId: item.id, |
| 218 | uid: this.$route.query.uid, | 218 | uid: this.$route.query.uid, |
| 219 | - oid: this.$route.query.oid | 219 | + oid: this.$route.query.oid, |
| 220 | + pageId: this.$route.query.pageId, | ||
| 221 | + channelName: this.$route.query.channelName, | ||
| 222 | + jumpPath: this.$route.query.jumpPath, // onLine线上报名 Offline线下报名 | ||
| 220 | } | 223 | } |
| 221 | }); | 224 | }); |
| 222 | } | 225 | } |