|
|
@@ -835,6 +835,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
+ localStorage.setItem('storeCode', '');
|
|
|
this.heifhgts = window.innerHeight - 190 + 'px';
|
|
|
// 好邦手接入拜访系统地图功能
|
|
|
// 获取url参数 userId
|
|
|
@@ -859,6 +860,7 @@ export default {
|
|
|
this.msgshow = false;
|
|
|
this.storeName = localStorage.getItem('outvstoreName');
|
|
|
this.chainName = localStorage.getItem('outvchainName');
|
|
|
+ this.storeCode = localStorage.getItem('storeCode');
|
|
|
if (localStorage.getItem('outvstoreLabelTypes') != null) {
|
|
|
this.storeLabelTypes = localStorage.getItem('outvstoreLabelTypes').split(',');
|
|
|
} else {
|
|
|
@@ -1459,6 +1461,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
onClickLeft() {
|
|
|
+ localStorage.setItem('storeCode', '');
|
|
|
this.$router.go(-1);
|
|
|
},
|
|
|
buryingPointFn(val) {
|
|
|
@@ -2019,7 +2022,7 @@ export default {
|
|
|
positionDesc: '',
|
|
|
accuracy: res.accuracy,
|
|
|
});
|
|
|
- this.storeCode = val.storeCode;
|
|
|
+ localStorage.setItem('storeCode', val.storeCode);
|
|
|
this.$router.push({
|
|
|
path: '/suishenbangOutstoreVisit',
|
|
|
query: {
|