提交 441e29fc 编写于 作者: tao.wu's avatar tao.wu

联调分享参数有效

上级 58b630cb
......@@ -350,7 +350,7 @@
}
return `再获得${vm.doctorInfo.targetRequiredScore}勤奋分即可上升到前${vm.doctorInfo.targetRank}名获得${award}`
}
}
},
},
created() {
vm = this;
......@@ -361,7 +361,7 @@
vm.getTasks();
// 这里需要删掉!!!
vm.isWeb = vm.$rocNative.isWeb;
vm.shareObj.shareUrl = `${getShareUrl()}year_end_ssr/shareActive?id=${vm.encryptId}&taskId=${vm.eachInviteAward.taskId}&activityId=${vm.eachInviteAward.activityId}`
// vm.shareObj.shareUrl = `${getShareUrl()}year_end_ssr/shareActive?id=${vm.encryptId}&taskId=${vm.eachInviteAward.taskId}&activityId=${vm.eachInviteAward.activityId}`
// 取服务器时间,切换不同时间段的显示
vm.getServerTime();
......@@ -636,6 +636,7 @@
});
},
handleLoginCheck(cb) {
vm.shareObj.shareUrl = shareWxUrl();
if( !this.isLogin ){ // 未登录 >>> 去登录
this.goToLogin();
}else if( this.isLogin && !this.isJoin ){ // 已登录 && 未加入机构 >>>> 去加入机构
......@@ -732,9 +733,12 @@
name: 'invite-details',
});
},
shareWxUrl() {
return `${getShareUrl()}year_end_ssr/shareActive?id=${vm.encryptId}&taskId=${vm.eachInviteAward.taskId}&activityId=${vm.eachInviteAward.activityId}`
},
// 去邀请 按钮
handleInviteClick() {
vm.shareObj.shareUrl = shareWxUrl();
let cb = this.goToShare;
this.handleLoginCheck(cb);
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册