|
|
@ -258,7 +258,7 @@ export default {
|
|
|
|
getCommunity(cityId){
|
|
|
|
getCommunity(cityId){
|
|
|
|
this.$axios({
|
|
|
|
this.$axios({
|
|
|
|
method:'get',
|
|
|
|
method:'get',
|
|
|
|
url:process.env.VUE_APP_URL+'manage/community/findAll',
|
|
|
|
url:process.env.VUE_APP_URL+'manage/community/findAll',//【api不需要communityCode】
|
|
|
|
params:{ //这里是发送给后台的数据
|
|
|
|
params:{ //这里是发送给后台的数据
|
|
|
|
cityId:cityId
|
|
|
|
cityId:cityId
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -269,9 +269,11 @@ export default {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
// 选择城市后获取该城市小区
|
|
|
|
onChange(data){
|
|
|
|
onChange(data){
|
|
|
|
this.getCommunity(data[2])
|
|
|
|
this.getCommunity(data[2])
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
// 级联筛选
|
|
|
|
filter(inputValue, path) {
|
|
|
|
filter(inputValue, path) {
|
|
|
|
return path.some(cityList => cityList.name.toLowerCase().indexOf(inputValue.toLowerCase()) > -1);
|
|
|
|
return path.some(cityList => cityList.name.toLowerCase().indexOf(inputValue.toLowerCase()) > -1);
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -421,7 +423,5 @@ export default {
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-left: 25px;
|
|
|
|
margin-left: 25px;
|
|
|
|
width:90%;
|
|
|
|
width:90%;
|
|
|
|
overflow-y:hidden;
|
|
|
|
|
|
|
|
overflow-x:hidden;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|