Commit 2ee76a27 by 李嘉林

加参数

parent 8e74d94a
...@@ -458,6 +458,9 @@ export default { ...@@ -458,6 +458,9 @@ export default {
if (paramsObj.setGuideEmployeeId) { if (paramsObj.setGuideEmployeeId) {
wx.setStorageSync(this.$store.state.mixid+'setGuideEmployeeId', paramsObj.setGuideEmployeeId); wx.setStorageSync(this.$store.state.mixid+'setGuideEmployeeId', paramsObj.setGuideEmployeeId);
} }
if (paramsObj.QRCodeType) {
wx.setStorageSync(this.$store.state.mixid+'guide_QRCodeType', paramsObj.QRCodeType);
}
this.showStoreAddr = true; this.showStoreAddr = true;
wx.setStorageSync('attractingCustomerChannelId',sceneObj.attractingCustomerChannelId); wx.setStorageSync('attractingCustomerChannelId',sceneObj.attractingCustomerChannelId);
wx.setStorageSync(this.$store.state.mixid+'storeId',sceneObj.storeId); wx.setStorageSync(this.$store.state.mixid+'storeId',sceneObj.storeId);
......
...@@ -88,6 +88,12 @@ export default { ...@@ -88,6 +88,12 @@ export default {
if (setGuideEmployeeId) { if (setGuideEmployeeId) {
this.params += `&setGuideEmployeeId=${setGuideEmployeeId}`; this.params += `&setGuideEmployeeId=${setGuideEmployeeId}`;
} }
// 导购分享类型
const guide_QRCodeType = wx.getStorageSync(this.$store.state.mixid + 'guide_QRCodeType');
if (guide_QRCodeType) {
this.params += `&QRCodeType=${guide_QRCodeType}`;
wx.removeStorageSync(this.$store.state.mixid + 'guide_QRCodeType');
}
console.log(this.link,'=======',this.page,'++++++++++++++',this.params,'************') console.log(this.link,'=======',this.page,'++++++++++++++',this.params,'************')
let pageUrl1 = (this.page.startsWith('http://') || this.page.startsWith('https://'))? (this.page + this.params) : this.link+this.page+this.params let pageUrl1 = (this.page.startsWith('http://') || this.page.startsWith('https://'))? (this.page + this.params) : this.link+this.page+this.params
console.log(pageUrl1,'--------pageUrl1--') console.log(pageUrl1,'--------pageUrl1--')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment