|
|
@@ -2108,24 +2108,28 @@ export default {
|
|
|
// 滚动条与底部距离小于 offset 时触发 初始化会触发
|
|
|
onLoad() {
|
|
|
// 授权
|
|
|
- getTicketFun().then(() => {
|
|
|
- var postType = localStorage.getItem('postType');
|
|
|
- if (postType == 'GZ') {
|
|
|
- this.typeShow = false;
|
|
|
- } else {
|
|
|
- this.typeShow = true;
|
|
|
- }
|
|
|
- if (this.lon == '' && this.tabVal != 1) {
|
|
|
- this.positionFn(1);
|
|
|
- } else {
|
|
|
- if (this.tabVal == 1) {
|
|
|
- this.positionFn();
|
|
|
- // this.getUserOutPlaListFun();
|
|
|
+ getTicketFun()
|
|
|
+ .then(() => {
|
|
|
+ var postType = localStorage.getItem('postType');
|
|
|
+ if (postType == 'GZ') {
|
|
|
+ this.typeShow = false;
|
|
|
} else {
|
|
|
- this.getUserOrgStoreList();
|
|
|
+ this.typeShow = true;
|
|
|
}
|
|
|
- }
|
|
|
- });
|
|
|
+ if (this.lon == '' && this.tabVal != 1) {
|
|
|
+ this.positionFn(1);
|
|
|
+ } else {
|
|
|
+ if (this.tabVal == 1) {
|
|
|
+ this.positionFn();
|
|
|
+ // this.getUserOutPlaListFun();
|
|
|
+ } else {
|
|
|
+ this.getUserOrgStoreList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.finished = true;
|
|
|
+ });
|
|
|
},
|
|
|
// 跳转好帮手门店详情
|
|
|
goOtherSystem(item) {
|