|
|
@@ -529,6 +529,13 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
orderFn(val) {
|
|
|
+ this.buryingPoint({
|
|
|
+ systemModel: '计划内',
|
|
|
+ buryingPointType: 1,
|
|
|
+ buryingPointValue: val.storeName + '(' + val.storeCode + ')',
|
|
|
+ buryingPointName: '去下单',
|
|
|
+ buryingPointPosition: '计划内',
|
|
|
+ });
|
|
|
getOrderUrlByStoreId({
|
|
|
storeId: val.storeId,
|
|
|
from: 'inPlan',
|
|
|
@@ -703,6 +710,13 @@ export default {
|
|
|
var that = this;
|
|
|
localStorage.removeItem('visitId');
|
|
|
checkVisit({ storeId: val.storeId }).then((res) => {
|
|
|
+ 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 = '';
|
|
|
@@ -1398,6 +1412,13 @@ export default {
|
|
|
abnormalVisit(val) {
|
|
|
localStorage.removeItem('visitId');
|
|
|
checkVisit({ storeId: val.storeId }).then((res) => {
|
|
|
+ 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 = '';
|
|
|
@@ -1615,6 +1636,13 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
visitFn(val) {
|
|
|
+ this.buryingPoint({
|
|
|
+ systemModel: '计划内',
|
|
|
+ buryingPointType: 1,
|
|
|
+ buryingPointValue: val.storeName + '(' + val.storeCode + ')',
|
|
|
+ buryingPointName: '客户信息',
|
|
|
+ buryingPointPosition: '计划内',
|
|
|
+ });
|
|
|
this.$router.push({
|
|
|
path: '/storeDetail',
|
|
|
query: { id: val.storeId, detilId: 'a' },
|