|
|
@@ -95,9 +95,7 @@
|
|
|
<view class="kr-box adffcac">
|
|
|
<image :src="imgBase+'remind_close.png'" @click="teamKindShow=false"></image>
|
|
|
<view class="kr-title">温馨提示</view>
|
|
|
- <view class="kr-p" style="margin-top: 32rpx;">你尚未加入<span>(问卷ID:{{87999}})</span>的团队</view>
|
|
|
- <view class="kr-p">因此无法填写此问卷</view>
|
|
|
- <view class="kr-p">请联系问卷创建者<span>{{'刘怡然'}}</span>将你加入团队</view>
|
|
|
+ <view class="kr-p" style="margin-top: 32rpx;">{{teamKindMsg}}</view>
|
|
|
<view class="kr-btn" @click="teamKindShow=false">我知道了</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -130,6 +128,7 @@
|
|
|
],
|
|
|
newUserFreeShow:false,
|
|
|
teamKindShow:false,
|
|
|
+ teamKindMsg:'',
|
|
|
questionnaireKindShow:false,
|
|
|
}
|
|
|
},
|
|
|
@@ -144,7 +143,22 @@
|
|
|
console.log(e,'e');
|
|
|
}
|
|
|
}
|
|
|
- if(options.shareTQId) uni.setStorageSync('shareTQId',options.shareTQId)
|
|
|
+ if(options.shareTQId){
|
|
|
+ uni.setStorageSync('shareTQId',options.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')|'',
|
|
|
+ }).then(({data: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();
|
|
|
@@ -189,6 +203,9 @@
|
|
|
},
|
|
|
handleToFill(){
|
|
|
this.questionnaireKindShow = false;
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'/pagesHome/questionnaire?type=receive'
|
|
|
+ })
|
|
|
},
|
|
|
handleFree(){
|
|
|
uni.reLaunch({
|