Browse Source

新闻修改页调整

master
yujintao 6 years ago
parent
commit
6ae9e27c0f
  1. 4
      src/views/modules/news/news-add-or-update.vue

4
src/views/modules/news/news-add-or-update.vue

@ -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)
},

Loading…
Cancel
Save