Browse Source

乐业社区下拉菜单

fenbao
fp 1 month ago
parent
commit
d94208cbbd
  1. 4
      pages/tabBar/xjPage/xj.vue

4
pages/tabBar/xjPage/xj.vue

@ -206,7 +206,7 @@ export default {
"deptId", "deptId",
"parentId", "parentId",
"children", "children",
2 3
); );
const areaLst = this.getArea(this.deptOptions[0].children) const areaLst = this.getArea(this.deptOptions[0].children)
this.getCommunity(areaLst) this.getCommunity(areaLst)
@ -303,7 +303,7 @@ export default {
console.log(this.deptOptions); console.log(this.deptOptions);
this.form.apartmentName = e.name this.form.apartmentName = e.name
this.form.apartmentId = this.deptOptions.find(item=>item.deptName === e.name).deptId this.form.apartmentId = e.id
}, },
handleQuestionSelect(e){ handleQuestionSelect(e){
this.form.questionName = e.dictLabel this.form.questionName = e.dictLabel

Loading…
Cancel
Save