|
|
@@ -213,22 +213,23 @@ export default {
|
|
|
restartProcessButtion: false,
|
|
|
wuliaoTable: false,
|
|
|
wuliaoList: [],
|
|
|
+ urlParameter: {},
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.urlParameter = this.$route.query;
|
|
|
- this.storeId = this.$route.query.storeId + '';
|
|
|
- this.visitId = this.$route.query.visitId;
|
|
|
- this.rdId = this.$route.query.rdId + '';
|
|
|
- this.addressLine = this.$route.query.addressLine + '';
|
|
|
- this.storeCategory = this.$route.query.storeCategory + '';
|
|
|
- this.storeName = this.$route.query.storeName + '';
|
|
|
- this.contactName = this.$route.query.contactName + '';
|
|
|
- this.visitModel = this.$route.query.visitModel + '';
|
|
|
- this.lat = this.$route.query.lat + '';
|
|
|
- this.lon = this.$route.query.lon + '';
|
|
|
- sessionStorage.setItem('visitModel', '1');
|
|
|
- this.uType = localStorage.getItem('uType');
|
|
|
+ // this.urlParameter = this.$route.query;
|
|
|
+ // this.storeId = this.$route.query.storeId + '';
|
|
|
+ // this.visitId = this.$route.query.visitId;
|
|
|
+ // this.rdId = this.$route.query.rdId + '';
|
|
|
+ // this.addressLine = this.$route.query.addressLine + '';
|
|
|
+ // this.storeCategory = this.$route.query.storeCategory + '';
|
|
|
+ // this.storeName = this.$route.query.storeName + '';
|
|
|
+ // this.contactName = this.$route.query.contactName + '';
|
|
|
+ // this.visitModel = this.$route.query.visitModel + '';
|
|
|
+ // this.lat = this.$route.query.lat + '';
|
|
|
+ // this.lon = this.$route.query.lon + '';
|
|
|
+ // sessionStorage.setItem('visitModel', '1');
|
|
|
+ // this.uType = localStorage.getItem('uType');
|
|
|
},
|
|
|
beforeRouteLeave(to, from, next) {
|
|
|
if (to.path == '/deviceWithin/index' && from.path == '/storeVisitpage') {
|