|
|
@@ -103,7 +103,7 @@
|
|
|
<view class="kr-box adffcac">
|
|
|
<image :src="imgBase+'remind_close.png'" @click="questionnaireKindShow=false"></image>
|
|
|
<view class="kr-title">温馨提示</view>
|
|
|
- <view class="kr-p" style="margin-top: 32rpx;">你有一份<span>“PERILL团队评估初级”</span>问卷待完成,请及时填写,</view>
|
|
|
+ <view class="kr-p" style="margin-top: 32rpx;">你有一份<span>“PERILL团队评估中级”</span>问卷待完成,请及时填写,</view>
|
|
|
<view class="kr-p">以便我们为你提供精准分析</view>
|
|
|
<view class="kr-btn" @click="handleToFill">去填写</view>
|
|
|
</view>
|
|
|
@@ -143,23 +143,25 @@
|
|
|
console.log(e,'e');
|
|
|
}
|
|
|
}
|
|
|
- if(options.shareTQId){
|
|
|
- uni.setStorageSync('shareTQId',options.shareTQId)
|
|
|
+ if(options.shareType) uni.setStorageSync('channelType',options.shareType)
|
|
|
+ if(options.shareUserId) uni.setStorageSync('shareUserId',options.shareUserId)
|
|
|
+ if(options.shareTQId) uni.setStorageSync('shareTQId',options.shareTQId)
|
|
|
+ if(options.shareTQId||uni.getStorageSync('shareTQId')){
|
|
|
// 邀请进来的并且已经登录的
|
|
|
if(uni.getStorageSync('userInfo')){
|
|
|
this.$api.get('/wx/queShareCheck',{
|
|
|
- channelType:uni.getStorageSync('channelType')|'',
|
|
|
- phone:JSON.parse(uni.getStorageSync('userInfo')).mobile,
|
|
|
- referrerId:uni.getStorageSync('shareUserId')|'',
|
|
|
- teamQuestionnaireId:uni.getStorageSync('shareTQId')|'',
|
|
|
+ channelType:uni.getStorageSync('channelType')||'',
|
|
|
+ phone:JSON.parse(uni.getStorageSync('userInfo')).mobile||'',
|
|
|
+ referrerId:uni.getStorageSync('shareUserId')||'',
|
|
|
+ teamQuestionnaireId:uni.getStorageSync('shareTQId')||'',
|
|
|
}).then(({data:res})=>{
|
|
|
+ this.$showModal(JSON.stringify(res))
|
|
|
if(res.code===0) return this.questionnaireKindShow = true;
|
|
|
this.teamKindMsg = res.msg||'';
|
|
|
this.teamKindShow = true;
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
- if(options.shareUserId) uni.setStorageSync('shareUserId',options.shareUserId)
|
|
|
if(uni.getStorageSync('token')){
|
|
|
this.getPerillPJ();
|
|
|
this.getPerillBG();
|