|
@@ -175,19 +175,19 @@
|
|
|
debounce(this.xiaobansearch, 500, false)
|
|
|
}
|
|
|
},
|
|
|
- '$store.state.addr.vuexSelectCity'(val) {
|
|
|
+ '$store.state.addr.selectCity'(val) {
|
|
|
console.log('this.$store.state.addr',this.$store.state.addr);
|
|
|
console.log('vuexSelectCity',val);
|
|
|
this.getPageData();
|
|
|
|
|
|
},
|
|
|
- '$store.state.addr.vuexSelectDistrict'(val) {
|
|
|
+ '$store.state.addr.selectDistrict'(val) {
|
|
|
console.log('this.$store.state.addr',this.$store.state.addr);
|
|
|
console.log('vuexSelectDistrict',val);
|
|
|
this.getPageData();
|
|
|
|
|
|
},
|
|
|
- '$store.state.addr.vuexSelectStreet'(val) {
|
|
|
+ '$store.state.addr.selectStreet'(val) {
|
|
|
console.log('this.$store.state.addr',this.$store.state.addr);
|
|
|
console.log('vuexSelectStreet',val);
|
|
|
this.getPageData();
|
|
@@ -228,9 +228,9 @@
|
|
|
},
|
|
|
getPage1echarts01(){
|
|
|
let param = {
|
|
|
- cityId:this.$store.state.addr.vuexSelectCity.value,
|
|
|
- countyId:this.$store.state.addr.vuexSelectDistrict.value,
|
|
|
- townId:this.$store.state.addr.vuexSelectStreet.value,
|
|
|
+ cityId:this.$store.state.addr.selectCity.areaId,
|
|
|
+ countyId:this.$store.state.addr.selectDistrict.areaId,
|
|
|
+ townId:this.$store.state.addr.vuexSelectStreet.areaId,
|
|
|
}
|
|
|
console.log('cityId',param.cityId);
|
|
|
page1echarts01(param).then(res=>{
|
|
@@ -248,9 +248,9 @@
|
|
|
},
|
|
|
getPage1echarts02(){
|
|
|
let param = {
|
|
|
- cityId:this.$store.state.addr.vuexSelectCity.value,
|
|
|
- countyId:this.$store.state.addr.vuexSelectDistrict.value,
|
|
|
- townId:this.$store.state.addr.vuexSelectStreet.value,
|
|
|
+ cityId:this.$store.state.addr.selectCity.areaId,
|
|
|
+ countyId:this.$store.state.addr.selectDistrict.areaId,
|
|
|
+ townId:this.$store.state.addr.selectStreet.areaId,
|
|
|
}
|
|
|
console.log('cityId',param.cityId);
|
|
|
page1echarts02(param).then(res=>{
|