|
|
@ -267,14 +267,14 @@ export default { |
|
|
|
changeStreet (event) { |
|
|
|
let choosenItem = this.streetList.filter(item => item.id === this.dataForm.streetId)[0] |
|
|
|
this.dataForm.street = choosenItem.name |
|
|
|
this.dataForm.communityId = this.dataForm.gridId = null |
|
|
|
this.dataForm.communityId = this.dataForm.gridId = this.dataForm.community = this.dataForm.grid = null |
|
|
|
this.communityList = this.gridList = [] |
|
|
|
this.getDeptInfoList('community', event) |
|
|
|
}, |
|
|
|
changeCommunity (event) { |
|
|
|
let choosenItem = this.communityList.filter(item => item.id === this.dataForm.communityId)[0] |
|
|
|
this.dataForm.community = choosenItem.name |
|
|
|
this.dataForm.gridId = null |
|
|
|
this.dataForm.gridId = this.dataForm.grid = null |
|
|
|
this.gridList = [] |
|
|
|
this.getDeptInfoList('grid', event) |
|
|
|
}, |
|
|
|