diff --git a/pages/tabBar/xjPage/xj.vue b/pages/tabBar/xjPage/xj.vue index a394f7b..72865bd 100644 --- a/pages/tabBar/xjPage/xj.vue +++ b/pages/tabBar/xjPage/xj.vue @@ -206,7 +206,7 @@ export default { "deptId", "parentId", "children", - 2 + 3 ); const areaLst = this.getArea(this.deptOptions[0].children) this.getCommunity(areaLst) @@ -303,7 +303,7 @@ export default { console.log(this.deptOptions); this.form.apartmentName = e.name - this.form.apartmentId = this.deptOptions.find(item=>item.deptName === e.name).deptId + this.form.apartmentId = e.id }, handleQuestionSelect(e){ this.form.questionName = e.dictLabel