|
@@ -207,9 +207,15 @@ export default {
|
|
|
// 扫技师端携带的参数,已存在缓存中
|
|
// 扫技师端携带的参数,已存在缓存中
|
|
|
let promotionParam = uni.getStorageSync('promotionParam')
|
|
let promotionParam = uni.getStorageSync('promotionParam')
|
|
|
if (promotionParam){
|
|
if (promotionParam){
|
|
|
|
|
+ console.log('获取到技师的二维码数据',promotionParam)
|
|
|
this.storeId = promotionParam.storeId
|
|
this.storeId = promotionParam.storeId
|
|
|
this.techNo = promotionParam.techNo
|
|
this.techNo = promotionParam.techNo
|
|
|
|
|
+ }else {
|
|
|
|
|
+ let storeParam = uni.getStorageSync('storeParam')
|
|
|
|
|
+ console.log('获取到门店的二维码数据',param)
|
|
|
|
|
+ this.storeId = storeParam.storeId
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
if (e.q) {
|
|
if (e.q) {
|
|
|
//扫店长端二维码进来的活动参数
|
|
//扫店长端二维码进来的活动参数
|
|
|
const q = decodeURIComponent(e.q)
|
|
const q = decodeURIComponent(e.q)
|
|
@@ -223,6 +229,8 @@ export default {
|
|
|
this.storeId= param.storeId
|
|
this.storeId= param.storeId
|
|
|
this.techNo= ''
|
|
this.techNo= ''
|
|
|
console.log("扫店长端二维码进来的活动参数===》",param)
|
|
console.log("扫店长端二维码进来的活动参数===》",param)
|
|
|
|
|
+ uni.setStorageSync('storeParam', param)
|
|
|
|
|
+ uni.removeStorageSync('promotionParam');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
this.userInfo = uni.getStorageSync('userInfo')
|
|
this.userInfo = uni.getStorageSync('userInfo')
|