|
|
@@ -1115,7 +1115,7 @@ export default {
|
|
|
getUserOrgStoreList({
|
|
|
lat: that.lat,
|
|
|
lon: that.lon,
|
|
|
- chainCode: this.chainCode,
|
|
|
+ chainCode: this.chainCode ? this.chainCode : '',
|
|
|
storeLabelTypes: this.storeLabelTypes.join(','),
|
|
|
pageNum: this.pageNum,
|
|
|
storeCategoryList: this.storeCategoryList,
|
|
|
@@ -1301,7 +1301,7 @@ export default {
|
|
|
getUserOutPlaList({
|
|
|
lat: that.lat,
|
|
|
lon: that.lon,
|
|
|
- chainCode: this.chainCode,
|
|
|
+ chainCode: this.chainCode ? this.chainCode : '',
|
|
|
storeLabelTypes: this.storeLabelTypes.join(','),
|
|
|
pageNum: this.pageNum,
|
|
|
storeCategoryList: this.storeCategoryList,
|
|
|
@@ -1478,7 +1478,7 @@ export default {
|
|
|
this.timer = setTimeout(() => {
|
|
|
this.flag = true;
|
|
|
}, 2000);
|
|
|
- if (val.stateString.indexOf('拜访中') != -1 && val.visitSource == 1) {
|
|
|
+ if (val.stateString.indexOf('拜访中') != -1) {
|
|
|
localStorage.setItem('startTime', new Date());
|
|
|
localStorage.setItem('ORGName', val.deptName);
|
|
|
localStorage.setItem('chainNameR', val.storeName);
|
|
|
@@ -1742,7 +1742,7 @@ export default {
|
|
|
this.timer = setTimeout(() => {
|
|
|
this.flag = true;
|
|
|
}, 2000);
|
|
|
- if (val.stateString.indexOf('拜访中') != -1 && val.visitSource == 1) {
|
|
|
+ if (val.stateString.indexOf('拜访中') != -1) {
|
|
|
localStorage.setItem('startTime', new Date());
|
|
|
localStorage.setItem('ORGName', val.deptName);
|
|
|
localStorage.setItem('chainNameR', val.storeName);
|