门店
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<view class="font-22 color-fff">Hi~ {{hoursTip}}欢迎回到狸车宝!</view>
|
||||
<view>
|
||||
<text class="text-middle text-bold font-48 color-fff">{{userInfo.uname}}</text>
|
||||
<text class="inline-block ml10 pl10 pr10 bg-fff text-middle font-18 ulib-r750">{{userInfo.biz_name}}</text>
|
||||
<!-- <text class="inline-block ml10 pl10 pr10 bg-fff text-middle font-18 ulib-r750">{{userInfo.biz_name}}</text> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -50,6 +50,8 @@ Page({
|
||||
|
||||
if(this.data.biz_id){
|
||||
this.putAppUserResetbiz()
|
||||
}else{
|
||||
this.getUserInfo()
|
||||
}
|
||||
|
||||
if(app.getStorageByKey("stopNotice")){
|
||||
@@ -58,7 +60,6 @@ Page({
|
||||
})
|
||||
}
|
||||
|
||||
this.getUserInfo()
|
||||
this.getAppStatisticsHcust()
|
||||
this.getAppStatisticsHorder()
|
||||
|
||||
@@ -90,6 +91,7 @@ Page({
|
||||
let params = {};
|
||||
params['biz_id'] = this.data.biz_id;
|
||||
_.apiQuery.putAppUserResetbiz(params).then(res => {
|
||||
this.getUserInfo()
|
||||
this.getAppUserCal()
|
||||
});
|
||||
},
|
||||
|
||||
+7
-14
@@ -105,24 +105,17 @@ Page({
|
||||
params['code'] =resc.code;
|
||||
params['sms_code'] = this.data.sms_code;
|
||||
_.apiQuery.getUserUkey(params).then(res => {
|
||||
console.log('111111111111')
|
||||
console.log(res)
|
||||
wx.setStorage({
|
||||
key: "ukey",
|
||||
data: res.data.ukey
|
||||
})
|
||||
let pages = getCurrentPages();
|
||||
if (pages.length > 1) {
|
||||
wx.navigateBack();
|
||||
}else{
|
||||
_.apiQuery.getUserInfo().then(res => {
|
||||
if(res.group_id==4){
|
||||
_.$router.openUrlScheme('/pages/channel/index')
|
||||
}else{
|
||||
_.$router.openUrlScheme('/pages/index/index')
|
||||
}
|
||||
});
|
||||
}
|
||||
_.apiQuery.getUserInfo().then(res => {
|
||||
if(res.group_id==4){
|
||||
_.$router.openUrlScheme('/pages/channel/index')
|
||||
}else{
|
||||
_.$router.openUrlScheme('/pages/index/index')
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user