|
|
@@ -560,30 +560,41 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
activated() {
|
|
|
- this.showmap = false;
|
|
|
- this.img = '';
|
|
|
- this.detilId = this.$route.query.detilId;
|
|
|
- this.type = this.$route.query.type; // type:address 拜访时位置偏差过大,可以修改地址(只能修改地址)
|
|
|
- this.getCustomerInfoList();
|
|
|
- this.getManagementModelList();
|
|
|
- this.getMainRelationList();
|
|
|
- this.getMainProjectList();
|
|
|
- this.getCustomerNatureList();
|
|
|
- this.getTCFXList();
|
|
|
- this.getSJSList();
|
|
|
- this.getQGJZist();
|
|
|
- this.getStoreType();
|
|
|
- this.getpotentialCustomerTypeList();
|
|
|
- this.visitListList = [];
|
|
|
- this.getStreetQuery('');
|
|
|
- window.scrollTo(0, 0);
|
|
|
- this.poiAddress = '';
|
|
|
- this.myLat = '';
|
|
|
- this.poiLat = '';
|
|
|
- this.poiLon = '';
|
|
|
- this.poiId = '';
|
|
|
- this.myLon = '';
|
|
|
- this.poiName = '';
|
|
|
+ // 下单成功后点击上传陈列照直接跳转到编辑页面
|
|
|
+ let id = localStorage.getItem('successStoreId');
|
|
|
+ if (id) {
|
|
|
+ // 跳转到编辑页
|
|
|
+ this.$router.push({
|
|
|
+ path: '/storeEdit',
|
|
|
+ query: { id: id },
|
|
|
+ });
|
|
|
+ localStorage.removeItem('successStoreId');
|
|
|
+ } else {
|
|
|
+ this.showmap = false;
|
|
|
+ this.img = '';
|
|
|
+ this.detilId = this.$route.query.detilId;
|
|
|
+ this.type = this.$route.query.type; // type:address 拜访时位置偏差过大,可以修改地址(只能修改地址)
|
|
|
+ this.getCustomerInfoList();
|
|
|
+ this.getManagementModelList();
|
|
|
+ this.getMainRelationList();
|
|
|
+ this.getMainProjectList();
|
|
|
+ this.getCustomerNatureList();
|
|
|
+ this.getTCFXList();
|
|
|
+ this.getSJSList();
|
|
|
+ this.getQGJZist();
|
|
|
+ this.getStoreType();
|
|
|
+ this.getpotentialCustomerTypeList();
|
|
|
+ this.visitListList = [];
|
|
|
+ this.getStreetQuery('');
|
|
|
+ window.scrollTo(0, 0);
|
|
|
+ this.poiAddress = '';
|
|
|
+ this.myLat = '';
|
|
|
+ this.poiLat = '';
|
|
|
+ this.poiLon = '';
|
|
|
+ this.poiId = '';
|
|
|
+ this.myLon = '';
|
|
|
+ this.poiName = '';
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
newimgarr1(val) {
|