|
|
@@ -275,16 +275,10 @@ export default {
|
|
|
},
|
|
|
success: (res) => {
|
|
|
if (res.data.code === 200) {
|
|
|
- if (res.data.data.nickname) {
|
|
|
- this.isAuth = true;
|
|
|
- this.userHeadImg = res.data.data.headimg;
|
|
|
- this.userNickName = res.data.data.nickname;
|
|
|
- getApp().globalData.user_phone = res.data.data.phone;
|
|
|
- getApp().globalData.globalAuth = true;
|
|
|
+
|
|
|
if(res.data.data.stat_user){
|
|
|
this.list[3].isShow = true;
|
|
|
}
|
|
|
-
|
|
|
if (res.data.data.owner_info){
|
|
|
let wi = res.data.data.owner_info;
|
|
|
this.houseInfo.address = wi.estate_name + wi.building_name + wi.unit + wi.room;
|
|
|
@@ -292,11 +286,6 @@ export default {
|
|
|
this.houseInfo.area = wi.area;
|
|
|
this.isWith = 1;
|
|
|
}
|
|
|
-
|
|
|
- } else {
|
|
|
- this.isAuth = false;
|
|
|
- getApp().globalData.globalAuth = false;
|
|
|
- }
|
|
|
}
|
|
|
},
|
|
|
fail: () => {
|