bibi 3 years ago
parent 4d652df0a1
commit 5170215707

@ -32,7 +32,7 @@ export function allCity(params) {
params: params,
})
}
// 查找所有小区
// 查找所有小区【api不需要communityCode】
export function findcommunity(params) {
return httpService({
url: `/community/findAll`,

@ -258,7 +258,7 @@ export default {
getCommunity(cityId){
this.$axios({
method:'get',
url:process.env.VUE_APP_URL+'manage/community/findAll',
url:process.env.VUE_APP_URL+'manage/community/findAll',//apicommunityCode
params:{ //
cityId:cityId
}
@ -269,9 +269,11 @@ export default {
})
},
//
onChange(data){
this.getCommunity(data[2])
},
//
filter(inputValue, path) {
return path.some(cityList => cityList.name.toLowerCase().indexOf(inputValue.toLowerCase()) > -1);
},
@ -421,7 +423,5 @@ export default {
margin-top: 20px;
margin-left: 25px;
width:90%;
overflow-y:hidden;
overflow-x:hidden;
}
</style>

Loading…
Cancel
Save