|
@@ -25,20 +25,21 @@
|
|
|
<i class="iconfont icon-xiangyou"></i>
|
|
<i class="iconfont icon-xiangyou"></i>
|
|
|
<span class="l-right">{{currentEnName}}</span>
|
|
<span class="l-right">{{currentEnName}}</span>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="line" @click="go('/mobile/user/storeinfo')" v-if="storeStatus.uuid">
|
|
|
|
|
|
|
+ <!--v-if="storeStatus.uuid"-->
|
|
|
|
|
+ <div class="line" @click="go('/mobile/user/storeinfo')" >
|
|
|
<div class="img-wrap">
|
|
<div class="img-wrap">
|
|
|
<img src="/images/mobile/user/icon_02.png" alt="">
|
|
<img src="/images/mobile/user/icon_02.png" alt="">
|
|
|
</div>
|
|
</div>
|
|
|
<span>店铺信息</span>
|
|
<span>店铺信息</span>
|
|
|
<i class="iconfont icon-xiangyou"></i>
|
|
<i class="iconfont icon-xiangyou"></i>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="line" @click="go('/mobile/user/storeinfo')" v-else>
|
|
|
|
|
- <div class="img-wrap">
|
|
|
|
|
- <img src="/images/mobile/user/apply-store.png" alt="">
|
|
|
|
|
- </div>
|
|
|
|
|
- <span>开店申请</span>
|
|
|
|
|
- <i class="iconfont icon-xiangyou"></i>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <!--<div class="line" @click="go('/mobile/user/storeinfo')" v-else>-->
|
|
|
|
|
+ <!--<div class="img-wrap">-->
|
|
|
|
|
+ <!--<img src="/images/mobile/user/apply-store.png" alt="">-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
|
|
+ <!--<span>开店申请</span>-->
|
|
|
|
|
+ <!--<i class="iconfont icon-xiangyou"></i>-->
|
|
|
|
|
+ <!--</div>-->
|
|
|
<div class="line block-line" @click="go('/mobile/user/enterpriseinfo')">
|
|
<div class="line block-line" @click="go('/mobile/user/enterpriseinfo')">
|
|
|
<div class="img-wrap">
|
|
<div class="img-wrap">
|
|
|
<img src="/images/mobile/user/icon_03.png" alt="">
|
|
<img src="/images/mobile/user/icon_03.png" alt="">
|
|
@@ -133,7 +134,7 @@
|
|
|
this.showLogin = false
|
|
this.showLogin = false
|
|
|
this.$store.dispatch('loadStoreStatus', {op: 'check'})
|
|
this.$store.dispatch('loadStoreStatus', {op: 'check'})
|
|
|
this.$http.get('/store-service/applications?status=normal').then(res => {
|
|
this.$http.get('/store-service/applications?status=normal').then(res => {
|
|
|
- this.applyStatus = res.data.data.status
|
|
|
|
|
|
|
+ this.applyStatus = res.data.data.status || ''
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|
|
@@ -155,16 +156,17 @@
|
|
|
if (this.storeStatus.uuid) {
|
|
if (this.storeStatus.uuid) {
|
|
|
this.$router.push(url)
|
|
this.$router.push(url)
|
|
|
} else {
|
|
} else {
|
|
|
- if (this.applyStatus === 'PREPARE') {
|
|
|
|
|
- this.setRemindText('您的申请已提交,请耐心工作人员审核(2-3个工作日)')
|
|
|
|
|
- } else {
|
|
|
|
|
- if (!this.$store.state.option.user.data.enterprise.uu) {
|
|
|
|
|
- // 进入个人绑定企业页面
|
|
|
|
|
- this.$router.push('/mobile/store/register')
|
|
|
|
|
- } else {
|
|
|
|
|
- this.$router.push('/mobile/store')
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ this.setRemindText('请前往PC端申请开店')
|
|
|
|
|
+ // if (this.applyStatus === 'PREPARE') {
|
|
|
|
|
+ // this.setRemindText('您的申请已提交,请耐心工作人员审核(2-3个工作日)')
|
|
|
|
|
+ // } else {
|
|
|
|
|
+ // if (!this.$store.state.option.user.data.enterprise.uu) {
|
|
|
|
|
+ // // 进入个人绑定企业页面
|
|
|
|
|
+ // this.$router.push('/mobile/store/register')
|
|
|
|
|
+ // } else {
|
|
|
|
|
+ // this.$router.push('/mobile/store')
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
}
|
|
}
|
|
|
} else if (!this.user.data.enterprise.uu || this.user.data.enterprise.isVendor !== 313) {
|
|
} else if (!this.user.data.enterprise.uu || this.user.data.enterprise.isVendor !== 313) {
|
|
|
this.setRemindText('请先前往pc端完善企业信息')
|
|
this.setRemindText('请先前往pc端完善企业信息')
|