This commit is contained in:
曹辉 2023-03-17 16:35:28 +08:00
parent 966a0e5754
commit 919f0d26a6
5 changed files with 21 additions and 6 deletions

View File

@ -22,9 +22,9 @@ var request = function(config) {
let pages = getCurrentPages(); let pages = getCurrentPages();
let path = pages[pages.length - 1].$page.fullPath let path = pages[pages.length - 1].$page.fullPath
if (path == '/pages/integral/integral') {} else if (path == if (path == '/pages/integral/integral') {} else if (path ==
'/pages/shopping/shopping') {} else if (path == '/pages/CommodityOrder/CommodityOrder') {} else if (path ==
'/pages/coupon/coupon') {} else if (path == '/pages/coupon/coupon') {} else if (path ==
'/pages/materialbenefits/materialbenefits') {} else { '/pages/Nursingstationserviceorder/Nursingstationserviceorder') {} else {
uni.navigateTo({ uni.navigateTo({
url: '/pages/login/login' url: '/pages/login/login'
}) })

View File

@ -79,7 +79,7 @@
</view> </view>
<!-- 弹框 --> <!-- 弹框 -->
<view class="frame"> <view class="frame">
<u-popup v-model="show" mode="bottom" length="45%" border-radius="30" :closeable='true'> <u-popup v-model="show" mode="bottom" length="45%" border-radius="30" :closeable='true'>
<view class="payment"> <view class="payment">
<span v-if="orderNoitem.orderType =='HEALTH_CONSULTATION'">确认咨询完成了吗</span> <span v-if="orderNoitem.orderType =='HEALTH_CONSULTATION'">确认咨询完成了吗</span>
<span v-else>确认收到货了吗</span> <span v-else>确认收到货了吗</span>
@ -244,6 +244,11 @@
// }) // })
uni.removeStorageSync('Refresh'); uni.removeStorageSync('Refresh');
this.total = res.total this.total = res.total
} else if (res.code == 9999) {
this.$refs.uToast.show({
title: '未登录,请先登录',
type: 'error',
})
} }
}) })
}, },

View File

@ -229,6 +229,11 @@
// e.timestamp = time - times // e.timestamp = time - times
// }) // })
this.total = res.total this.total = res.total
} else if (res.code == 9999) {
this.$refs.uToast.show({
title: '未登录,请先登录',
type: 'error',
})
} }
}) })
}, },

View File

@ -98,9 +98,9 @@
that.getlist(); that.getlist();
} else { } else {
that.$refs.uToast.show({ that.$refs.uToast.show({
title: '请先登录', title: '未登录,请先登录',
type: 'error', type: 'error',
duration: '1000', duration: '2000',
}) })
} }
}, },

View File

@ -538,7 +538,12 @@
}) })
this.goodslist = res.rows this.goodslist = res.rows
this.goodstotal = res.total this.goodstotal = res.total
} else if (res.code == 9999) {} } else if (res.code == 9999) {
this.$refs.uToast.show({
title: '未登录,请先登录',
type: 'error',
})
}
}) })
}, },
// //