|
|
@@ -1251,23 +1251,23 @@ export default {
|
|
|
localStorage.setItem('tabVal', this.tabVal);
|
|
|
localStorage.removeItem('visitId');
|
|
|
checkVisit({ storeId: val.storeId }).then((res) => {
|
|
|
- if (this.tabVal == 1) {
|
|
|
- this.buryingPoint({
|
|
|
- systemModel: '计划外',
|
|
|
- buryingPointType: 1,
|
|
|
- buryingPointValue: val.storeName + '(' + val.storeCode + ')',
|
|
|
- buryingPointName: '进店拜访',
|
|
|
- buryingPointPosition: '我的',
|
|
|
- });
|
|
|
- } else {
|
|
|
- this.buryingPoint({
|
|
|
- systemModel: '计划外',
|
|
|
- buryingPointType: 1,
|
|
|
- buryingPointValue: val.storeName + '(' + val.storeCode + ')',
|
|
|
- buryingPointName: '进店拜访',
|
|
|
- buryingPointPosition: '销售部',
|
|
|
- });
|
|
|
- }
|
|
|
+ // if (this.tabVal == 1) {
|
|
|
+ // this.buryingPoint({
|
|
|
+ // systemModel: '计划外',
|
|
|
+ // buryingPointType: 1,
|
|
|
+ // buryingPointValue: val.storeName + '(' + val.storeCode + ')',
|
|
|
+ // buryingPointName: '进店拜访',
|
|
|
+ // buryingPointPosition: '我的',
|
|
|
+ // });
|
|
|
+ // } else {
|
|
|
+ // this.buryingPoint({
|
|
|
+ // systemModel: '计划外',
|
|
|
+ // buryingPointType: 1,
|
|
|
+ // buryingPointValue: val.storeName + '(' + val.storeCode + ')',
|
|
|
+ // buryingPointName: '进店拜访',
|
|
|
+ // buryingPointPosition: '销售部',
|
|
|
+ // });
|
|
|
+ // }
|
|
|
if (res.code == 200 || val.stateString.indexOf('拜访中') != -1) {
|
|
|
if (localStorage.getItem('loginType') == 'cs') {
|
|
|
var lat = '';
|
|
|
@@ -2130,15 +2130,15 @@ export default {
|
|
|
buryingPointPosition: '我的筛选',
|
|
|
});
|
|
|
}
|
|
|
- if (this.storeName != '') {
|
|
|
- this.buryingPoint({
|
|
|
- systemModel: '计划外',
|
|
|
- buryingPointType: 1,
|
|
|
- buryingPointValue: this.storeName,
|
|
|
- buryingPointName: '搜索名称/编号/地址',
|
|
|
- buryingPointPosition: '我的筛选',
|
|
|
- });
|
|
|
- }
|
|
|
+ // if (this.storeName != '') {
|
|
|
+ // this.buryingPoint({
|
|
|
+ // systemModel: '计划外',
|
|
|
+ // buryingPointType: 1,
|
|
|
+ // buryingPointValue: this.storeName,
|
|
|
+ // buryingPointName: '搜索名称/编号/地址',
|
|
|
+ // buryingPointPosition: '我的筛选',
|
|
|
+ // });
|
|
|
+ // }
|
|
|
} else {
|
|
|
if (this.storeLabelTypes.length > 0) {
|
|
|
this.buryingPoint({
|
|
|
@@ -2167,15 +2167,15 @@ export default {
|
|
|
buryingPointPosition: '销售部的门店筛选',
|
|
|
});
|
|
|
}
|
|
|
- if (this.storeName != '') {
|
|
|
- this.buryingPoint({
|
|
|
- systemModel: '计划外',
|
|
|
- buryingPointType: 1,
|
|
|
- buryingPointValue: this.storeName,
|
|
|
- buryingPointName: '搜索名称/编号/地址',
|
|
|
- buryingPointPosition: '销售部的门店筛选',
|
|
|
- });
|
|
|
- }
|
|
|
+ // if (this.storeName != '') {
|
|
|
+ // this.buryingPoint({
|
|
|
+ // systemModel: '计划外',
|
|
|
+ // buryingPointType: 1,
|
|
|
+ // buryingPointValue: this.storeName,
|
|
|
+ // buryingPointName: '搜索名称/编号/地址',
|
|
|
+ // buryingPointPosition: '销售部的门店筛选',
|
|
|
+ // });
|
|
|
+ // }
|
|
|
}
|
|
|
localStorage.setItem('outvstoreName', this.storeName);
|
|
|
localStorage.setItem('outvchainName', this.chainName);
|