|
@@ -114,7 +114,25 @@ var loginPage = new Vue({
|
|
|
location.href="/index.html";
|
|
|
}
|
|
|
}else if(response.code == -4){
|
|
|
- window.location.href = '/bind.html';
|
|
|
+ _self.userData = {
|
|
|
+ account: response.data.account,
|
|
|
+ email: response.data.email,
|
|
|
+ phone: response.data.bindMobile,
|
|
|
+ name: response.data.name,
|
|
|
+ userName: response.data.userName,
|
|
|
+ userId: response.data.userId,
|
|
|
+ spId: response.data.serviceProviderId,
|
|
|
+ clubId: response.data.clubId,
|
|
|
+ shopId: response.data.shopId,
|
|
|
+ userIdentity: response.data.userIdentity,
|
|
|
+ permission: response.data.userPermission,
|
|
|
+ token: response.data.token,
|
|
|
+ unionId:response.data.unionId
|
|
|
+ };
|
|
|
+ _self.setStorages( _self.userData);
|
|
|
+ setTimeout(function(){
|
|
|
+ window.location.href = '/bind.html';
|
|
|
+ },1000);
|
|
|
}else if(response.code == '-3'){//审核未通过
|
|
|
_self.text ='您的供应商账号审核未通过,原因:图片模糊,营业执照错误,审核人员在后台填写的内容';
|
|
|
_self.stautsfalse = true;
|