|
@@ -52,13 +52,13 @@ export default {
|
|
|
if (res.data.shopAdminId == '0' && res.data.admin.openShop == '1') {
|
|
if (res.data.shopAdminId == '0' && res.data.admin.openShop == '1') {
|
|
|
this.AUTHORITY_SHOW = true;
|
|
this.AUTHORITY_SHOW = true;
|
|
|
uni.hideTabBar()
|
|
uni.hideTabBar()
|
|
|
- uni.setStorageSync('SHOP_ADMIN_STROAGE_SHOW', res.data.shopAdminId)
|
|
|
|
|
|
|
+ uni.setStorageSync('HOME_STATUS_STROAGE_SHOW', res.data.shopAdminId)
|
|
|
} else if (res.data.admin.openShop == '2' && res.data.shopAdminId == '0') {
|
|
} else if (res.data.admin.openShop == '2' && res.data.shopAdminId == '0') {
|
|
|
this.MODEL_TITLE = '已申请'
|
|
this.MODEL_TITLE = '已申请'
|
|
|
this.MODEL_BTN_TEXT = '查看申请进度'
|
|
this.MODEL_BTN_TEXT = '查看申请进度'
|
|
|
this.AUTHORITY_SHOW = true
|
|
this.AUTHORITY_SHOW = true
|
|
|
uni.hideTabBar()
|
|
uni.hideTabBar()
|
|
|
- uni.removeStorageSync('SHOP_ADMIN_STROAGE_SHOW')
|
|
|
|
|
|
|
+ uni.removeStorageSync('HOME_STATUS_STROAGE_SHOW')
|
|
|
uni.setStorageSync('OPEN_SHOP_ID', res.data.admin.openShop)
|
|
uni.setStorageSync('OPEN_SHOP_ID', res.data.admin.openShop)
|
|
|
} else {
|
|
} else {
|
|
|
uni.showTabBar()
|
|
uni.showTabBar()
|
|
@@ -84,7 +84,7 @@ export default {
|
|
|
...mapActions(['setUserShopAll']),
|
|
...mapActions(['setUserShopAll']),
|
|
|
toFreeApply_HOME () {
|
|
toFreeApply_HOME () {
|
|
|
let status = ''
|
|
let status = ''
|
|
|
- if (uni.getStorageSync('SHOP_ADMIN_STROAGE_SHOW') == '0') {
|
|
|
|
|
|
|
+ if (uni.getStorageSync('HOME_STATUS_STROAGE_SHOW') == '0') {
|
|
|
this.$util.pageTo({
|
|
this.$util.pageTo({
|
|
|
url: "/pagesClient/official/index",
|
|
url: "/pagesClient/official/index",
|
|
|
query: {
|
|
query: {
|
|
@@ -141,7 +141,7 @@ export default {
|
|
|
...subRes.data.admin,
|
|
...subRes.data.admin,
|
|
|
...subRes.data
|
|
...subRes.data
|
|
|
})
|
|
})
|
|
|
- uni.removeStorageSync('SHOP_ADMIN_STROAGE_SHOW')
|
|
|
|
|
|
|
+ uni.removeStorageSync('HOME_STATUS_STROAGE_SHOW')
|
|
|
uni.removeStorageSync('OPEN_SHOP_ID')
|
|
uni.removeStorageSync('OPEN_SHOP_ID')
|
|
|
this.AUTHORITY_SHOW = false
|
|
this.AUTHORITY_SHOW = false
|
|
|
uni.showTabBar()
|
|
uni.showTabBar()
|